mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 11:58:41 +00:00
Now that we have a separate Cloud Hypervisor configuration file for the rust runtime, add it to the kata-deploy. See: https://github.com/kata-containers/kata-containers/pull/8250 Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com> Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: DaemonSet
|
|
metadata:
|
|
name: kubelet-kata-cleanup
|
|
namespace: kube-system
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
name: kubelet-kata-cleanup
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: kubelet-kata-cleanup
|
|
spec:
|
|
serviceAccountName: kata-deploy-sa
|
|
hostPID: true
|
|
nodeSelector:
|
|
katacontainers.io/kata-runtime: cleanup
|
|
containers:
|
|
- name: kube-kata-cleanup
|
|
image: quay.io/kata-containers/kata-deploy:latest
|
|
imagePullPolicy: Always
|
|
command: ["bash", "-c", "/opt/kata-artifacts/scripts/kata-deploy.sh reset"]
|
|
env:
|
|
- name: NODE_NAME
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: spec.nodeName
|
|
- name: DEBUG
|
|
value: "false"
|
|
- name: SHIMS
|
|
value: "clh cloud-hypervisor dragonball fc qemu-nvidia-gpu qemu-sev qemu-snp qemu-tdx qemu stratovirt"
|
|
- name: DEFAULT_SHIM
|
|
value: "qemu"
|
|
- name: CREATE_RUNTIMECLASSES
|
|
value: "false"
|
|
- name: CREATE_DEFAULT_RUNTIMECLASS
|
|
value: "false"
|
|
securityContext:
|
|
privileged: true
|
|
updateStrategy:
|
|
rollingUpdate:
|
|
maxUnavailable: 1
|
|
type: RollingUpdate
|