mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 09:22:44 +00:00
Mark v1.Endpoints as deprecated in the documentation
This commit is contained in:
parent
9a9f10bc7b
commit
2a903dd7a3
@ -5888,6 +5888,11 @@ type ServiceAccountList struct {
|
|||||||
// Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]
|
// Ports: [{"name": "a", "port": 93}, {"name": "b", "port": 76}]
|
||||||
// },
|
// },
|
||||||
// ]
|
// ]
|
||||||
|
//
|
||||||
|
// Endpoints is a legacy API and does not contain information about all Service features.
|
||||||
|
// Use discoveryv1.EndpointSlice for complete information about Service endpoints.
|
||||||
|
//
|
||||||
|
// Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.
|
||||||
type Endpoints struct {
|
type Endpoints struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
@ -5920,6 +5925,8 @@ type Endpoints struct {
|
|||||||
//
|
//
|
||||||
// a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],
|
// a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],
|
||||||
// b: [ 10.10.1.1:309, 10.10.2.2:309 ]
|
// b: [ 10.10.1.1:309, 10.10.2.2:309 ]
|
||||||
|
//
|
||||||
|
// Deprecated: This API is deprecated in v1.33+.
|
||||||
type EndpointSubset struct {
|
type EndpointSubset struct {
|
||||||
// IP addresses which offer the related ports that are marked as ready. These endpoints
|
// IP addresses which offer the related ports that are marked as ready. These endpoints
|
||||||
// should be considered safe for load balancers and clients to utilize.
|
// should be considered safe for load balancers and clients to utilize.
|
||||||
@ -5939,6 +5946,7 @@ type EndpointSubset struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// EndpointAddress is a tuple that describes single IP address.
|
// EndpointAddress is a tuple that describes single IP address.
|
||||||
|
// Deprecated: This API is deprecated in v1.33+.
|
||||||
// +structType=atomic
|
// +structType=atomic
|
||||||
type EndpointAddress struct {
|
type EndpointAddress struct {
|
||||||
// The IP of this endpoint.
|
// The IP of this endpoint.
|
||||||
@ -5957,6 +5965,7 @@ type EndpointAddress struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// EndpointPort is a tuple that describes a single port.
|
// EndpointPort is a tuple that describes a single port.
|
||||||
|
// Deprecated: This API is deprecated in v1.33+.
|
||||||
// +structType=atomic
|
// +structType=atomic
|
||||||
type EndpointPort struct {
|
type EndpointPort struct {
|
||||||
// The name of this port. This must match the 'name' field in the
|
// The name of this port. This must match the 'name' field in the
|
||||||
@ -5998,6 +6007,7 @@ type EndpointPort struct {
|
|||||||
// +k8s:prerelease-lifecycle-gen:introduced=1.0
|
// +k8s:prerelease-lifecycle-gen:introduced=1.0
|
||||||
|
|
||||||
// EndpointsList is a list of endpoints.
|
// EndpointsList is a list of endpoints.
|
||||||
|
// Deprecated: This API is deprecated in v1.33+.
|
||||||
type EndpointsList struct {
|
type EndpointsList struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard list metadata.
|
// Standard list metadata.
|
||||||
|
Loading…
Reference in New Issue
Block a user