update comments
parent
4d80f852db
commit
294dbbb3f6
|
@ -71,9 +71,9 @@ separate endpoint for each group version.
|
|||
|
||||
### Aggregated discovery
|
||||
|
||||
{{< feature-state state="stable" for_k8s_version="v1.27" >}}
|
||||
{{< feature-state feature_gate_name="AggregatedDiscoveryEndpoint" >}}
|
||||
|
||||
Kubernetes offers stable support for aggregated discovery, publishing
|
||||
Kubernetes offers stable support for _aggregated discovery_, publishing
|
||||
all resources supported by a cluster through two endpoints (`/api` and
|
||||
`/apis`). Requesting this
|
||||
endpoint drastically reduces the number of requests sent to fetch the
|
||||
|
@ -282,30 +282,6 @@ packages that define the API objects.
|
|||
Kubernetes stores the serialized state of objects by writing them into
|
||||
{{< glossary_tooltip term_id="etcd" >}}.
|
||||
|
||||
## API Discovery
|
||||
|
||||
A list of all group versions supported by a cluster is published at
|
||||
the `/api` and `/apis` endpoints. Each group version also advertises
|
||||
the list of resources supported via `/apis/<group>/<version>` (for
|
||||
example: `/apis/rbac.authorization.k8s.io/v1alpha1`). These endpoints
|
||||
are used by kubectl to fetch the list of resources supported by a
|
||||
cluster.
|
||||
|
||||
### Aggregated Discovery
|
||||
|
||||
{{< feature-state feature_gate_name="AggregatedDiscoveryEndpoint" >}}
|
||||
|
||||
Kubernetes offers stable support for aggregated discovery, publishing
|
||||
all resources supported by a cluster through two endpoints (`/api` and
|
||||
`/apis`) compared to one for every group version. Requesting this
|
||||
endpoint drastically reduces the number of requests sent to fetch the
|
||||
discovery for the average Kubernetes cluster. This may be accessed by
|
||||
requesting the respective endpoints with an Accept header indicating
|
||||
the aggregated discovery resource:
|
||||
`Accept: application/json;v=v2;g=apidiscovery.k8s.io;as=APIGroupDiscoveryList`.
|
||||
|
||||
The endpoint also supports ETag and protobuf encoding.
|
||||
|
||||
## API groups and versioning
|
||||
|
||||
To make it easier to eliminate fields or restructure resource representations,
|
||||
|
|
Loading…
Reference in New Issue