mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 00:07:16 +00:00
kata-deploy-stable: Adapt to what we're using in the stable branch
This is basically to make sure that folks trying to use the kata-deploy script from the main branch, to deploy **stable** kata-deploy images, do not have a hard time. Fixes: #7194 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
79ed501a20
commit
a93fdb014b
@ -13,7 +13,8 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
name: kubelet-kata-cleanup
|
name: kubelet-kata-cleanup
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: kata-label-node
|
serviceAccountName: kata-deploy-sa
|
||||||
|
hostPID: true
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
katacontainers.io/kata-runtime: cleanup
|
katacontainers.io/kata-runtime: cleanup
|
||||||
containers:
|
containers:
|
||||||
@ -26,20 +27,18 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
|
- name: DEBUG
|
||||||
|
value: "false"
|
||||||
|
- name: SHIMS
|
||||||
|
value: "clh dragonball fc qemu-nvidia-gpu qemu-sev qemu-snp qemu-tdx qemu"
|
||||||
|
- name: DEFAULT_SHIM
|
||||||
|
value: "qemu"
|
||||||
|
- name: CREATE_RUNTIMECLASSES
|
||||||
|
value: "false"
|
||||||
|
- name: CREATE_DEFAULT_RUNTIMECLASS
|
||||||
|
value: "false"
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: false
|
privileged: true
|
||||||
volumeMounts:
|
|
||||||
- name: dbus
|
|
||||||
mountPath: /var/run/dbus
|
|
||||||
- name: systemd
|
|
||||||
mountPath: /run/systemd
|
|
||||||
volumes:
|
|
||||||
- name: dbus
|
|
||||||
hostPath:
|
|
||||||
path: /var/run/dbus
|
|
||||||
- name: systemd
|
|
||||||
hostPath:
|
|
||||||
path: /run/systemd
|
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
maxUnavailable: 1
|
maxUnavailable: 1
|
||||||
|
@ -13,7 +13,8 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
name: kata-deploy
|
name: kata-deploy
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: kata-label-node
|
serviceAccountName: kata-deploy-sa
|
||||||
|
hostPID: true
|
||||||
containers:
|
containers:
|
||||||
- name: kube-kata
|
- name: kube-kata
|
||||||
image: quay.io/kata-containers/kata-deploy:stable
|
image: quay.io/kata-containers/kata-deploy:stable
|
||||||
@ -28,8 +29,18 @@ spec:
|
|||||||
valueFrom:
|
valueFrom:
|
||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: spec.nodeName
|
fieldPath: spec.nodeName
|
||||||
|
- name: DEBUG
|
||||||
|
value: "false"
|
||||||
|
- name: SHIMS
|
||||||
|
value: "clh dragonball fc qemu qemu-nvidia-gpu qemu-sev qemu-snp qemu-tdx"
|
||||||
|
- name: DEFAULT_SHIM
|
||||||
|
value: "qemu"
|
||||||
|
- name: CREATE_RUNTIMECLASSES
|
||||||
|
value: "false"
|
||||||
|
- name: CREATE_DEFAULT_RUNTIMECLASS
|
||||||
|
value: "false"
|
||||||
securityContext:
|
securityContext:
|
||||||
privileged: false
|
privileged: true
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: crio-conf
|
- name: crio-conf
|
||||||
mountPath: /etc/crio/
|
mountPath: /etc/crio/
|
||||||
@ -37,10 +48,6 @@ spec:
|
|||||||
mountPath: /etc/containerd/
|
mountPath: /etc/containerd/
|
||||||
- name: kata-artifacts
|
- name: kata-artifacts
|
||||||
mountPath: /opt/kata/
|
mountPath: /opt/kata/
|
||||||
- name: dbus
|
|
||||||
mountPath: /var/run/dbus
|
|
||||||
- name: systemd
|
|
||||||
mountPath: /run/systemd
|
|
||||||
- name: local-bin
|
- name: local-bin
|
||||||
mountPath: /usr/local/bin/
|
mountPath: /usr/local/bin/
|
||||||
volumes:
|
volumes:
|
||||||
@ -54,12 +61,6 @@ spec:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: /opt/kata/
|
path: /opt/kata/
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
- name: dbus
|
|
||||||
hostPath:
|
|
||||||
path: /var/run/dbus
|
|
||||||
- name: systemd
|
|
||||||
hostPath:
|
|
||||||
path: /run/systemd
|
|
||||||
- name: local-bin
|
- name: local-bin
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /usr/local/bin/
|
path: /usr/local/bin/
|
||||||
|
Loading…
Reference in New Issue
Block a user