@@ -5888,6 +5888,11 @@ type ServiceAccountList struct {
5888
5888
// Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]
5889
5889
// },
5890
5890
// ]
5891
+ //
5892
+ // Endpoints is a legacy API and does not contain information about all Service features.
5893
+ // Use discoveryv1.EndpointSlice for complete information about Service endpoints.
5894
+ //
5895
+ // Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.
5891
5896
type Endpoints struct {
5892
5897
metav1.TypeMeta `json:",inline"`
5893
5898
// Standard object's metadata.
@@ -5920,6 +5925,8 @@ type Endpoints struct {
5920
5925
//
5921
5926
// a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],
5922
5927
// b: [ 10.10.1.1:309, 10.10.2.2:309 ]
5928
+ //
5929
+ // Deprecated: This API is deprecated in v1.33+.
5923
5930
type EndpointSubset struct {
5924
5931
// IP addresses which offer the related ports that are marked as ready. These endpoints
5925
5932
// should be considered safe for load balancers and clients to utilize.
@@ -5939,6 +5946,7 @@ type EndpointSubset struct {
5939
5946
}
5940
5947
5941
5948
// EndpointAddress is a tuple that describes single IP address.
5949
+ // Deprecated: This API is deprecated in v1.33+.
5942
5950
// +structType=atomic
5943
5951
type EndpointAddress struct {
5944
5952
// The IP of this endpoint.
@@ -5957,6 +5965,7 @@ type EndpointAddress struct {
5957
5965
}
5958
5966
5959
5967
// EndpointPort is a tuple that describes a single port.
5968
+ // Deprecated: This API is deprecated in v1.33+.
5960
5969
// +structType=atomic
5961
5970
type EndpointPort struct {
5962
5971
// The name of this port. This must match the 'name' field in the
@@ -5998,6 +6007,7 @@ type EndpointPort struct {
5998
6007
// +k8s:prerelease-lifecycle-gen:introduced=1.0
5999
6008
6000
6009
// EndpointsList is a list of endpoints.
6010
+ // Deprecated: This API is deprecated in v1.33+.
6001
6011
type EndpointsList struct {
6002
6012
metav1.TypeMeta `json:",inline"`
6003
6013
// Standard list metadata.
0 commit comments