kubectl apply -f pod.yaml is abnormal

74 Views Asked by At

When I used kubectl apply -f pod.yaml, I found that the corresponding pod did not succeed

When I use kubectl describe pod nginx-sandbox-ori it shows

Successfully assigned default/nginx-sandbox-ori to localhost.localdomain
Container image "xxx" already present on machine
Created container alpine
Error: failed to create containerd task: failed to create shim task: failed to mount "/run/kata-containers/shared/containers/alpine/rootfs" to "/run/kata-containers/alpine/rootfs",with error: ENOENT: No such file or directory: unknown

I use kata-container as container runtime And I started a kind as RuntimeClass, set the name as kata

“/run/kata-containers/shared/containers/alpine/rootfs” I found that this folder does not exist on the machine

0

There are 0 best solutions below