Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
kubectl get events --all-namespaces --sort-by='.metadata.creationTimestamp'

重启机器立马ready了

安装相关容器工具

crictl是k8s默认工具

Code Block
echo 'runtime-endpoint: unix:///var/run/containerd/containerd.sock
image-endpoint: unix:///var/run/containerd/containerd.sock
debug: false
pull-image-on-create: false
disable-pull-on-run: false' >/etc/crictl.yaml
crictl pods
crictl pods --name kube-proxy-dnljx
crictl images

...