@@ -71,22 +71,22 @@ separate endpoint for each group version.
71
71
72
72
### Aggregated discovery
73
73
74
- {{< feature-state state="beta" for_k8s_version="v1.27 " >}}
74
+ {{< feature-state feature_gate_name="AggregatedDiscoveryEndpoint " >}}
75
75
76
- Kubernetes offers beta support for aggregated discovery , publishing
76
+ Kubernetes offers stable support for _ aggregated discovery _ , publishing
77
77
all resources supported by a cluster through two endpoints (` /api ` and
78
78
` /apis ` ). Requesting this
79
79
endpoint drastically reduces the number of requests sent to fetch the
80
80
discovery data from the cluster. You can access the data by
81
81
requesting the respective endpoints with an ` Accept ` header indicating
82
82
the aggregated discovery resource:
83
- ` Accept: application/json;v=v2beta1 ;g=apidiscovery.k8s.io;as=APIGroupDiscoveryList ` .
83
+ ` Accept: application/json;v=v2 ;g=apidiscovery.k8s.io;as=APIGroupDiscoveryList ` .
84
84
85
85
Without indicating the resource type using the ` Accept ` header, the default
86
86
response for the ` /api ` and ` /apis ` endpoint is an unaggregated discovery
87
87
document.
88
88
89
- The [ discovery document] (https://github.com/kubernetes/kubernetes/blob/release-v{{ < skew currentVersion >}}/api/discovery/aggregated_v2beta1 .json)
89
+ The [ discovery document] (https://github.com/kubernetes/kubernetes/blob/release-v{{ < skew currentVersion >}}/api/discovery/aggregated_v2 .json)
90
90
for the built-in resources can be found in the Kubernetes GitHub repository.
91
91
This Github document can be used as a reference of the base set of the available resources
92
92
if a Kubernetes cluster is not available to query.
@@ -282,30 +282,6 @@ packages that define the API objects.
282
282
Kubernetes stores the serialized state of objects by writing them into
283
283
{{< glossary_tooltip term_id="etcd" >}}.
284
284
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 beta 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=v2beta1;g=apidiscovery.k8s.io;as=APIGroupDiscoveryList ` .
306
-
307
- The endpoint also supports ETag and protobuf encoding.
308
-
309
285
## API groups and versioning
310
286
311
287
To make it easier to eliminate fields or restructure resource representations,
0 commit comments