Skip to content

Commit 294dbbb

Browse files
committed
update comments
1 parent 4d80f85 commit 294dbbb

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

content/en/docs/concepts/overview/kubernetes-api.md

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ separate endpoint for each group version.
7171

7272
### Aggregated discovery
7373

74-
{{< feature-state state="stable" for_k8s_version="v1.27" >}}
74+
{{< feature-state feature_gate_name="AggregatedDiscoveryEndpoint" >}}
7575

76-
Kubernetes offers stable support for aggregated discovery, publishing
76+
Kubernetes offers stable support for _aggregated discovery_, publishing
7777
all resources supported by a cluster through two endpoints (`/api` and
7878
`/apis`). Requesting this
7979
endpoint drastically reduces the number of requests sent to fetch the
@@ -282,30 +282,6 @@ packages that define the API objects.
282282
Kubernetes stores the serialized state of objects by writing them into
283283
{{< glossary_tooltip term_id="etcd" >}}.
284284

285-
## API Discovery
286-
287-
A list of all group versions supported by a cluster is published at
288-
the `/api` and `/apis` endpoints. Each group version also advertises
289-
the list of resources supported via `/apis/<group>/<version>` (for
290-
example: `/apis/rbac.authorization.k8s.io/v1alpha1`). These endpoints
291-
are used by kubectl to fetch the list of resources supported by a
292-
cluster.
293-
294-
### Aggregated Discovery
295-
296-
{{< feature-state feature_gate_name="AggregatedDiscoveryEndpoint" >}}
297-
298-
Kubernetes offers stable support for aggregated discovery, publishing
299-
all resources supported by a cluster through two endpoints (`/api` and
300-
`/apis`) compared to one for every group version. Requesting this
301-
endpoint drastically reduces the number of requests sent to fetch the
302-
discovery for the average Kubernetes cluster. This may be accessed by
303-
requesting the respective endpoints with an Accept header indicating
304-
the aggregated discovery resource:
305-
`Accept: application/json;v=v2;g=apidiscovery.k8s.io;as=APIGroupDiscoveryList`.
306-
307-
The endpoint also supports ETag and protobuf encoding.
308-
309285
## API groups and versioning
310286

311287
To make it easier to eliminate fields or restructure resource representations,

0 commit comments

Comments
 (0)