Skip to content

Instantly share code, notes, and snippets.

View sarthaksarthak9's full-sized avatar
🍁
Yashin-tekina

Sarthak Negi sarthaksarthak9

🍁
Yashin-tekina
View GitHub Profile
@alicefr
alicefr / DRA - experimenting
Last active March 11, 2024 02:33
DRA - experimenting
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