kubespray/roles/kubernetes-apps/container_runtimes/kata_containers/templates/runtimeclass-kata-qemu.yml.j2

13 lines
342 B
Django/Jinja

---
kind: RuntimeClass
apiVersion: node.k8s.io/v1{{ 'beta1' if kube_version is version('v1.20.0', '<') }}
metadata:
name: kata-qemu
handler: kata-qemu
{% if kata_containers_qemu_overhead %}
overhead:
podFixed:
cpu: {{ kata_containers_qemu_overhead_fixed_cpu }}
memory: {{ kata_containers_qemu_overhead_fixed_memory }}
{% endif %}