This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Create a k8s cluster with DRA enabled. We use latest minikube (v1.30.1) as at the moment of writing this, it is only one of the few providing already k8s 1.27 | |
```bash | |
$ minikube start --driver=kvm2 --feature-gates=DynamicResourceAllocation=true \ | |
--kubernetes-version=v1.27.0-rc.0 \ | |
--extra-config=apiserver.runtime-config='resource.k8s.io/v1alpha2=true' | |
``` | |
2. Example: | |
```yaml | |
apiVersion: resource.k8s.io/v1alpha2 |