intel / CPU-Manager-for-Kubernetes

Kubernetes Core Manager for NFV workloads
Apache License 2.0
187 stars 83 forks source link

cmk-cluster-init-pod failed with CreateContainerConfigError #299

Closed PrahladaHerle closed 3 years ago

PrahladaHerle commented 3 years ago

When the resources/pods/cmk-cluster-init-pod.yaml is applied, pod failed with status 'CreateContainerConfigError'

Pod describe has following message Warning Failed 6s (x4 over 18s) kubelet Error: container has runAsNonRoot and image will run as root (pod: "cmk-cluster-init-pod_cmk-namespace(fa1d4889-e80e-4506-ab08-40e0c50305cf)", container: cmk-cluster-init-pod)

DheerajDang commented 3 years ago

@PrahladaHerle can u set runAsNonRoot: false in cmk-cluster-init-pod.yaml and try again.

PrahladaHerle commented 3 years ago

@DheerajDang, with runAsNonRoot: false it's working fine.

PrahladaHerle commented 3 years ago

With runAsNonRoot: false issue is resolved.