|
62 | 62 | type: string |
63 | 63 | type: array |
64 | 64 | x-kubernetes-list-type: set |
65 | | - conditions: |
66 | | - description: conditions contains information about the current |
67 | | - status of the endpoint. |
68 | | - properties: |
69 | | - ready: |
70 | | - description: ready indicates that this endpoint is prepared |
71 | | - to receive traffic, according to whatever system is managing |
72 | | - the endpoint. A nil value indicates an unknown state. In |
73 | | - most cases consumers should interpret this unknown state |
74 | | - as ready. For compatibility reasons, ready should never |
75 | | - be "true" for terminating endpoints. |
76 | | - type: boolean |
77 | | - serving: |
78 | | - description: serving is identical to ready except that it |
79 | | - is set regardless of the terminating state of endpoints. |
80 | | - This condition should be set to true for a ready endpoint |
81 | | - that is terminating. If nil, consumers should defer to the |
82 | | - ready condition. This field can be enabled with the EndpointSliceTerminatingCondition |
83 | | - feature gate. |
84 | | - type: boolean |
85 | | - terminating: |
86 | | - description: terminating indicates that this endpoint is terminating. |
87 | | - A nil value indicates an unknown state. Consumers should |
88 | | - interpret this unknown state to mean that the endpoint is |
89 | | - not terminating. This field can be enabled with the EndpointSliceTerminatingCondition |
90 | | - feature gate. |
91 | | - type: boolean |
92 | | - type: object |
93 | 65 | hostname: |
94 | 66 | description: hostname of this endpoint. This field may be used |
95 | 67 | by consumers of endpoints to distinguish endpoints from each |
|
98 | 70 | values in DNS). Must be lowercase and pass DNS Label (RFC 1123) |
99 | 71 | validation. |
100 | 72 | type: string |
101 | | - nodeName: |
102 | | - description: nodeName represents the name of the Node hosting |
103 | | - this endpoint. This can be used to determine endpoints local |
104 | | - to a Node. This field can be enabled with the EndpointSliceNodeName |
105 | | - feature gate. |
| 73 | + region: |
| 74 | + description: Region indicates the region where the endpoint is |
| 75 | + located |
106 | 76 | type: string |
107 | 77 | targetRef: |
108 | 78 | description: targetRef is a reference to a Kubernetes object that |
@@ -141,23 +111,9 @@ spec: |
141 | 111 | description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids' |
142 | 112 | type: string |
143 | 113 | type: object |
144 | | - topology: |
145 | | - additionalProperties: |
146 | | - type: string |
147 | | - description: 'topology contains arbitrary topology information |
148 | | - associated with the endpoint. These key/value pairs must conform |
149 | | - with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels |
150 | | - Topology may include a maximum of 16 key/value pairs. This includes, |
151 | | - but is not limited to the following well known keys: * kubernetes.io/hostname: |
152 | | - the value indicates the hostname of the node where the endpoint |
153 | | - is located. This should match the corresponding node label. |
154 | | - * topology.kubernetes.io/zone: the value indicates the zone |
155 | | - where the endpoint is located. This should match the corresponding |
156 | | - node label. * topology.kubernetes.io/region: the value indicates |
157 | | - the region where the endpoint is located. This should match |
158 | | - the corresponding node label. This field is deprecated and will |
159 | | - be removed in future api versions.' |
160 | | - type: object |
| 114 | + zone: |
| 115 | + description: Zone indicates the zone where the endpoint is located |
| 116 | + type: string |
161 | 117 | required: |
162 | 118 | - addresses |
163 | 119 | type: object |
|
0 commit comments