mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-01 13:34:20 +01:00
To ensure we run on nodes which have Kata installed, let's add the nodeSelector to the runtimeclass definition, and have it match the label that we applied during installation of the kata artifacts. Signed-off-by: Eric Ernst <eric_ernst@apple.com>
53 lines
984 B
YAML
53 lines
984 B
YAML
---
|
|
kind: RuntimeClass
|
|
apiVersion: node.k8s.io/v1beta1
|
|
metadata:
|
|
name: kata-qemu-virtiofs
|
|
handler: kata-qemu-virtiofs
|
|
overhead:
|
|
podFixed:
|
|
memory: "160Mi"
|
|
cpu: "250m"
|
|
scheduling:
|
|
nodeSelector:
|
|
katacontainers.io/kata-runtime: "true"
|
|
---
|
|
kind: RuntimeClass
|
|
apiVersion: node.k8s.io/v1beta1
|
|
metadata:
|
|
name: kata-qemu
|
|
handler: kata-qemu
|
|
overhead:
|
|
podFixed:
|
|
memory: "160Mi"
|
|
cpu: "250m"
|
|
scheduling:
|
|
nodeSelector:
|
|
katacontainers.io/kata-runtime: "true"
|
|
---
|
|
kind: RuntimeClass
|
|
apiVersion: node.k8s.io/v1beta1
|
|
metadata:
|
|
name: kata-clh
|
|
handler: kata-clh
|
|
overhead:
|
|
podFixed:
|
|
memory: "130Mi"
|
|
cpu: "250m"
|
|
scheduling:
|
|
nodeSelector:
|
|
katacontainers.io/kata-runtime: "true"
|
|
---
|
|
kind: RuntimeClass
|
|
apiVersion: node.k8s.io/v1beta1
|
|
metadata:
|
|
name: kata-fc
|
|
handler: kata-fc
|
|
overhead:
|
|
podFixed:
|
|
memory: "130Mi"
|
|
cpu: "250m"
|
|
scheduling:
|
|
nodeSelector:
|
|
katacontainers.io/kata-runtime: "true"
|