Merge pull request #22318 from tengqm/fix-19996
Fix pages that reference removed API groups
This commit is contained in:
@@ -677,9 +677,6 @@ for more information.
|
||||
This admission controller acts on creation and modification of the pod and determines if it should be admitted
|
||||
based on the requested security context and the available Pod Security Policies.
|
||||
|
||||
For Kubernetes < 1.6.0, the API Server must enable the extensions/v1beta1/podsecuritypolicy API
|
||||
extensions group (`--runtime-config=extensions/v1beta1/podsecuritypolicy=true`).
|
||||
|
||||
See also [Pod Security Policy documentation](/docs/concepts/policy/pod-security-policy/)
|
||||
for more information.
|
||||
|
||||
|
||||
@@ -949,7 +949,7 @@ See https://kubernetes.io/docs/concepts/overview/working-with-objects/labels for
|
||||
### Matching requests: matchPolicy
|
||||
|
||||
API servers can make objects available via multiple API groups or versions.
|
||||
For example, the Kubernetes API server allows creating and modifying `Deployment` objects
|
||||
For example, the Kubernetes API server may allow creating and modifying `Deployment` objects
|
||||
via `extensions/v1beta1`, `apps/v1beta1`, `apps/v1beta2`, and `apps/v1` APIs.
|
||||
|
||||
For example, if a webhook only specified a rule for some API groups/versions (like `apiGroups:["apps"], apiVersions:["v1","v1beta1"]`),
|
||||
|
||||
@@ -33,7 +33,7 @@ if you are writing an application using the Kubernetes API.
|
||||
|
||||
To eliminate fields or restructure resource representations, Kubernetes supports
|
||||
multiple API versions, each at a different API path. For example: `/api/v1` or
|
||||
`/apis/extensions/v1beta1`.
|
||||
`/apis/rbac.authorization.k8s.io/v1alpha1`.
|
||||
|
||||
The version is set at the API level rather than at the resource or field level to:
|
||||
|
||||
@@ -106,10 +106,3 @@ When you enable or disable groups or resources, you need to restart the apiserve
|
||||
to pick up the `--runtime-config` changes.
|
||||
{{< /note >}}
|
||||
|
||||
## Enabling specific resources in the extensions/v1beta1 group
|
||||
|
||||
DaemonSets, Deployments, StatefulSet, NetworkPolicies, PodSecurityPolicies and ReplicaSets in the `extensions/v1beta1` API group are disabled by default.
|
||||
For example: to enable deployments and daemonsets, set
|
||||
`--runtime-config=extensions/v1beta1/deployments=true,extensions/v1beta1/daemonsets=true`.
|
||||
|
||||
{{< note >}}Individual resource enablement/disablement is only supported in the `extensions/v1beta1` API group for legacy reasons.{{< /note >}}
|
||||
|
||||
Reference in New Issue
Block a user