Skip to content

Commit ca6a9d7

Browse files
authored
Merge pull request #47502 from windsonsea/draen
Clean up dynamic-resource-allocation.md
2 parents ec14424 + a62fc74 commit ca6a9d7

File tree

1 file changed

+15
-18
lines changed

1 file changed

+15
-18
lines changed

content/en/docs/concepts/scheduling-eviction/dynamic-resource-allocation.md

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,17 @@ handles allocation in cooperation with the Kubernetes scheduler.
3434
## {{% heading "prerequisites" %}}
3535

3636
Kubernetes v{{< skew currentVersion >}} includes cluster-level API support for
37-
dynamic resource allocation, but it [needs to be
38-
enabled](#enabling-dynamic-resource-allocation) explicitly. You also must
39-
install a resource driver for specific resources that are meant to be managed
40-
using this API. If you are not running Kubernetes v{{< skew currentVersion>}},
41-
check the documentation for that version of Kubernetes.
37+
dynamic resource allocation, but it [needs to be enabled](#enabling-dynamic-resource-allocation)
38+
explicitly. You also must install a resource driver for specific resources that
39+
are meant to be managed using this API. If you are not running Kubernetes
40+
v{{< skew currentVersion>}}, check the documentation for that version of Kubernetes.
4241

4342
<!-- body -->
4443

4544
## API
4645

47-
The `resource.k8s.io/v1alpha3` {{< glossary_tooltip text="API group"
48-
term_id="api-group" >}} provides these types:
46+
The `resource.k8s.io/v1alpha3`
47+
{{< glossary_tooltip text="API group" term_id="api-group" >}} provides these types:
4948

5049
ResourceClaim
5150
: Describes a request for access to resources in the cluster,
@@ -268,20 +267,18 @@ the `.spec.nodeName` field and to use a node selector instead.
268267
## Enabling dynamic resource allocation
269268

270269
Dynamic resource allocation is an *alpha feature* and only enabled when the
271-
`DynamicResourceAllocation` [feature
272-
gate](/docs/reference/command-line-tools-reference/feature-gates/) and the
273-
`resource.k8s.io/v1alpha3` {{< glossary_tooltip text="API group"
274-
term_id="api-group" >}} are enabled. For details on that, see the
275-
`--feature-gates` and `--runtime-config` [kube-apiserver
276-
parameters](/docs/reference/command-line-tools-reference/kube-apiserver/).
270+
`DynamicResourceAllocation` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/)
271+
and the `resource.k8s.io/v1alpha3` {{< glossary_tooltip text="API group" term_id="api-group" >}}
272+
are enabled. For details on that, see the `--feature-gates` and `--runtime-config`
273+
[kube-apiserver parameters](/docs/reference/command-line-tools-reference/kube-apiserver/).
277274
kube-scheduler, kube-controller-manager and kubelet also need the feature gate.
278275

279276
When a resource driver uses a control plane controller, then the
280277
`DRAControlPlaneController` feature gate has to be enabled in addition to
281278
`DynamicResourceAllocation`.
282279

283280
A quick check whether a Kubernetes cluster supports the feature is to list
284-
ResourceClass objects with:
281+
DeviceClass objects with:
285282

286283
```shell
287284
kubectl get deviceclasses
@@ -315,7 +312,7 @@ be installed. Please refer to the driver's documentation for details.
315312

316313
## {{% heading "whatsnext" %}}
317314

318-
- For more information on the design, see the
319-
[Structured Parameters with Structured Parameters](https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/4381-dra-structured-parameters)
320-
and the
321-
[Dynamic Resource Allocation with Control Plane Controller](https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/3063-dynamic-resource-allocation/README.md) KEPs.
315+
- For more information on the design, see the
316+
[Structured Parameters with Structured Parameters](https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/4381-dra-structured-parameters)
317+
and the
318+
[Dynamic Resource Allocation with Control Plane Controller](https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/3063-dynamic-resource-allocation/README.md) KEPs.

0 commit comments

Comments
 (0)