V1IngressPortStatus
July 22, 2026 ยท View on GitHub
IngressPortStatus represents the error condition of a service port
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| error | str | error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. | [optional] |
| port | int | port is the port number of the ingress port. | |
| protocol | str | protocol is the protocol of the ingress port. The supported values are: "TCP", "UDP", "SCTP" |
Example
from kubernetes.client.models.v1_ingress_port_status import V1IngressPortStatus
# TODO update the JSON string below
json = "{}"
# create an instance of V1IngressPortStatus from a JSON string
v1_ingress_port_status_instance = V1IngressPortStatus.from_json(json)
# print the JSON string representation of the object
print(V1IngressPortStatus.to_json())
# convert the object into a dict
v1_ingress_port_status_dict = v1_ingress_port_status_instance.to_dict()
# create an instance of V1IngressPortStatus from a dict
v1_ingress_port_status_from_dict = V1IngressPortStatus.from_dict(v1_ingress_port_status_dict)