You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/listener-operator/pages/listener.adoc
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,17 +77,22 @@ status:
77
77
`spec.className`:: The name of the xref:listenerclass.adoc[] to use.
78
78
`spec.ports`:: The ports exposed from the backing Pods.
79
79
`spec.ports.name`:: The name of the port.
80
-
`spec.ports.port`:: The number of the port. This must match the port number exposed by the container.
81
-
`spec.ports.protocol`:: The IP protocol (TCP/UDP/SCTP). Defaults to TCP.
80
+
`spec.ports.port`:: The number of the port.
81
+
This must match the port number exposed by the container.
82
+
`spec.ports.protocol`:: The IP protocol (TCP/UDP/SCTP).
83
+
Defaults to TCP.
82
84
`spec.extraPodSelectorLabels`:: Traffic will only be forwarded to Pods that apply these labels.
83
85
This field exists for exceptional cases, where Pods sometimes want to stop receiving traffic based on some dynamic condition.
84
86
Normal target selection should use xref:volume.adoc[Listener volumes] instead.
85
87
(Volumes are still required when using `extraPodSelectorLabels`.)
86
-
`spec.publishNotReadyAddresses`:: If false, traffic will only be directed to Pods that are Ready. If true, traffic will be directed to any running Pod. Defaults to true.
87
-
`status.ingressAddresses`:: A list of all addresses that the Listener can be reached on. See xref:#address-api[].
88
+
`spec.publishNotReadyAddresses`:: If false, traffic will only be directed to Pods that are Ready.
89
+
If true, traffic will be directed to any running Pod. Defaults to true.
90
+
`status.ingressAddresses`:: A list of all addresses that the Listener can be reached on.
91
+
See xref:#address-api[].
88
92
`status.ingressAddresses.address`:: The hostname or IP address of this Listener.
89
93
`status.ingressAddresses.addressType`:: `IP` if `address` is an IP address, `Hostname` if it is a hostname.
90
-
`status.ingressAddresses.ports.\{portName\}`:: The _exposed_ port number for a given port name (as defined in `.spec.ports`). Note that this may be different than the port specified in `.spec.ports.port``.
94
+
`status.ingressAddresses.ports.\{portName\}`:: The _exposed_ port number for a given port name (as defined in `.spec.ports`).
95
+
Note that this may be different than the port specified in `.spec.ports.port``.
91
96
`status.nodePorts.\{portName\}`:: For internal use only.
92
97
You probably want to use `.status.ingressAddresses` instead.
93
98
_If_ the ListenerClass is configured to use xref:listenerclass.adoc#servicetype-nodeport[NodePort] then this is the port number that each port is accessible on on its respective Node.
0 commit comments