Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefftree committed Mar 25, 2024
1 parent 4d80f85 commit 294dbbb
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions content/en/docs/concepts/overview/kubernetes-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 294dbbb

Please sign in to comment.