Add details about enabling individual API resources using --runtime-config
This is in support of beta APIs off by default KEP. See https://github.com/kubernetes/enhancements/tree/master/keps/sig-architecture/3136-beta-apis-off-by-default#graduation-criteria .
This commit is contained in:
parent
636cff2b55
commit
99174eaaa2
|
@ -1118,3 +1118,8 @@ Each feature gate is designed for enabling/disabling a specific feature:
|
|||
|
||||
* The [deprecation policy](/docs/reference/using-api/deprecation-policy/) for Kubernetes explains
|
||||
the project's approach to removing features and components.
|
||||
* Since Kubernetes 1.24, new beta APIs are not enabled by default. When enabling a beta
|
||||
feature, you will also need to enable any associated API resources.
|
||||
For example, to enable a particular resource like
|
||||
`storage.k8s.io/v1beta1/csistoragecapacities`, set `--runtime-config=storage.k8s.io/v1beta1/csistoragecapacities`.
|
||||
See [API Versioning](/docs/reference/using-api/#api-versioning) for more details on the command line flags.
|
||||
|
|
|
@ -108,6 +108,7 @@ part is omitted, it is treated as if `=true` is specified. For example:
|
|||
|
||||
- to disable `batch/v1`, set `--runtime-config=batch/v1=false`
|
||||
- to enable `batch/v2alpha1`, set `--runtime-config=batch/v2alpha1`
|
||||
- to enable a particular resource like `storage.k8s.io/v1beta1/csistoragecapacities`, set `--runtime-config=storage.k8s.io/v1beta1/csistoragecapacities`
|
||||
|
||||
{{< note >}}
|
||||
When you enable or disable groups or resources, you need to restart the API
|
||||
|
|
Loading…
Reference in New Issue