Merge pull request #24935 from robscott/endpointslice-ga
Updating EndpointSlice docs for 1.20
This commit is contained in:
commit
de2de57166
|
@ -95,6 +95,16 @@ EndpointSlices support three address types:
|
||||||
|
|
||||||
### Topology information {#topology}
|
### Topology information {#topology}
|
||||||
|
|
||||||
|
{{< feature-state for_k8s_version="v1.20" state="deprecated" >}}
|
||||||
|
|
||||||
|
{{< note >}}
|
||||||
|
The topology field in EndpointSlices has been deprecated and will be removed in
|
||||||
|
a future release. A new `nodeName` field will be used instead of setting
|
||||||
|
`kubernetes.io/hostname` in topology. It was determined that other topology
|
||||||
|
fields covering zone and region would be better represented as EndpointSlice
|
||||||
|
labels that would apply to all endpoints within the EndpointSlice.
|
||||||
|
{{< /note >}}
|
||||||
|
|
||||||
Each endpoint within an EndpointSlice can contain relevant topology information.
|
Each endpoint within an EndpointSlice can contain relevant topology information.
|
||||||
This is used to indicate where an endpoint is, containing information about the
|
This is used to indicate where an endpoint is, containing information about the
|
||||||
corresponding Node, zone, and region. When the values are available, the
|
corresponding Node, zone, and region. When the values are available, the
|
||||||
|
|
|
@ -103,8 +103,10 @@ different Kubernetes components.
|
||||||
| `EndpointSlice` | `false` | Alpha | 1.16 | 1.16 |
|
| `EndpointSlice` | `false` | Alpha | 1.16 | 1.16 |
|
||||||
| `EndpointSlice` | `false` | Beta | 1.17 | |
|
| `EndpointSlice` | `false` | Beta | 1.17 | |
|
||||||
| `EndpointSlice` | `true` | Beta | 1.18 | |
|
| `EndpointSlice` | `true` | Beta | 1.18 | |
|
||||||
|
| `EndpointSliceNodeName` | `false` | Alpha | 1.20 | |
|
||||||
| `EndpointSliceProxying` | `false` | Alpha | 1.18 | 1.18 |
|
| `EndpointSliceProxying` | `false` | Alpha | 1.18 | 1.18 |
|
||||||
| `EndpointSliceProxying` | `true` | Beta | 1.19 | |
|
| `EndpointSliceProxying` | `true` | Beta | 1.19 | |
|
||||||
|
| `EndpointSliceTerminating` | `false` | Alpha | 1.20 | |
|
||||||
| `EphemeralContainers` | `false` | Alpha | 1.16 | |
|
| `EphemeralContainers` | `false` | Alpha | 1.16 | |
|
||||||
| `ExpandCSIVolumes` | `false` | Alpha | 1.14 | 1.15 |
|
| `ExpandCSIVolumes` | `false` | Alpha | 1.14 | 1.15 |
|
||||||
| `ExpandCSIVolumes` | `true` | Beta | 1.16 | |
|
| `ExpandCSIVolumes` | `true` | Beta | 1.16 | |
|
||||||
|
@ -481,6 +483,9 @@ Each feature gate is designed for enabling/disabling a specific feature:
|
||||||
if user namespace remapping is enabled in the Docker daemon.
|
if user namespace remapping is enabled in the Docker daemon.
|
||||||
- `EndpointSlice`: Enables Endpoint Slices for more scalable and extensible
|
- `EndpointSlice`: Enables Endpoint Slices for more scalable and extensible
|
||||||
network endpoints. See [Enabling Endpoint Slices](/docs/tasks/administer-cluster/enabling-endpointslices/).
|
network endpoints. See [Enabling Endpoint Slices](/docs/tasks/administer-cluster/enabling-endpointslices/).
|
||||||
|
- `EndpointSliceNodeName`: Enables EndpointSlice `nodeName` field.
|
||||||
|
- `EndpointSliceTerminating`: Enables EndpointSlice `terminating` and `serving`
|
||||||
|
condition fields.
|
||||||
- `EndpointSliceProxying`: When this feature gate is enabled, kube-proxy running
|
- `EndpointSliceProxying`: When this feature gate is enabled, kube-proxy running
|
||||||
on Linux will use EndpointSlices as the primary data source instead of
|
on Linux will use EndpointSlices as the primary data source instead of
|
||||||
Endpoints, enabling scalability and performance improvements. See
|
Endpoints, enabling scalability and performance improvements. See
|
||||||
|
|
|
@ -31,9 +31,11 @@ resources instead of a single large Endpoints resource.
|
||||||
{{< feature-state for_k8s_version="v1.17" state="beta" >}}
|
{{< feature-state for_k8s_version="v1.17" state="beta" >}}
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
Although EndpointSlices may eventually replace Endpoints, many Kubernetes
|
The EndpointSlice resource was designed to address shortcomings in a earlier
|
||||||
components still rely on Endpoints. For now, enabling EndpointSlices should be
|
resource: Endpoints. Some Kubernetes components and third-party applications
|
||||||
seen as an addition to Endpoints in a cluster, not a replacement for them.
|
continue to use and rely on Endpoints. Whilst that remains the case,
|
||||||
|
EndpointSlices should be seen as an addition to Endpoints in a cluster, not as
|
||||||
|
an outright replacement.
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
EndpointSlice functionality in Kubernetes is made up of several different
|
EndpointSlice functionality in Kubernetes is made up of several different
|
||||||
|
@ -60,13 +62,23 @@ components, most are enabled by default:
|
||||||
gate](/docs/reference/command-line-tools-reference/feature-gates/) on
|
gate](/docs/reference/command-line-tools-reference/feature-gates/) on
|
||||||
kube-proxy.
|
kube-proxy.
|
||||||
|
|
||||||
|
|
||||||
|
## API fields
|
||||||
|
|
||||||
|
Some fields in the EndpointSlice API are feature-gated.
|
||||||
|
|
||||||
|
- The `EndpointSliceNodeName` feature gate controls access to the `nodeName`
|
||||||
|
field. This is an alpha feature that is disabled by default.
|
||||||
|
- The `EndpointSliceTerminating` feature gate controls access to the `serving`
|
||||||
|
and `terminating` condition fields. This is an alpha feature that is disabled
|
||||||
|
by default.
|
||||||
|
|
||||||
## Using EndpointSlices
|
## Using EndpointSlices
|
||||||
|
|
||||||
With EndpointSlices fully enabled in your cluster, you should see corresponding
|
With EndpointSlices fully enabled in your cluster, you should see corresponding
|
||||||
EndpointSlice resources for each Endpoints resource. In addition to supporting
|
EndpointSlice resources for each Endpoints resource. In addition to supporting
|
||||||
existing Endpoints functionality, EndpointSlices include new bits of information
|
existing Endpoints functionality, EndpointSlices will allow for greater
|
||||||
such as topology. They will allow for greater scalability and extensibility of
|
scalability and extensibility of network endpoints in your cluster.
|
||||||
network endpoints in your cluster.
|
|
||||||
|
|
||||||
## {{% heading "whatsnext" %}}
|
## {{% heading "whatsnext" %}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue