c12s-kubespray/roles/container-engine
Kenichi Omichi 7b1dc600d5
Fix the condition of drain on pre-remove task (#8634)
When running cluster.yml for new machines what containerd is already
install but Kubernetes cluster were not installed before, the task
"remove-node | List nodes" is failed like

  "changed": false,
  "cmd": [
    "/usr/local/bin/kubectl", "--kubeconfig",
    "/etc/kubernetes/admin.conf", "get", "nodes", "-o",
    "go-template={{ range .items }}{{ .metadata.name }}
    {{ "\n" }}{{ end }}"
   ],
   ..
   "stderr": "error: stat /etc/kubernetes/admin.conf: no such file or directory",

That was due to lack to check the existing Kubernetes cluster exists
or not before running "kubectl drain" command.
This adds the check to avoid the issue.
2022-03-21 01:39:10 -07:00
..
containerd [containerd] avoid cleanup of /usr/bin on ostree distributions (#8624) 2022-03-15 13:47:48 -07:00
containerd-common containerd: download containerd from upstream instead of using distro specific packages (#7970) 2021-10-20 08:47:58 -07:00
cri-dockerd [docker] add support for cri-dockerd as a replacement for dockershim (#8623) 2022-03-16 16:28:11 -07:00
cri-o [cri-o] add cri-0 1.23.x (#8599) 2022-03-07 05:39:07 -08:00
crictl Change the owner of /etc/crictl.yaml to root (#7254) 2021-02-05 09:28:53 -08:00
crun Download crun using download_file.yml (#7370) 2021-03-19 08:40:33 -07:00
docker Add epoch to docker-ce and docker-ce-cli packages to ensure docker up… (#8618) 2022-03-11 02:45:07 -08:00
docker-storage Fix risky-file-permissions (#8370) 2022-01-09 01:51:12 -08:00
gvisor CI: Replace CentOS 8 with AlmaLinux 8 before CentOS 8 EOL end of 2021 (#8297) 2022-01-05 02:20:33 -08:00
kata-containers containerd: change default resolvconf_mode to host_resolvconf (#8247) 2021-12-09 14:09:06 -08:00
meta [docker] add support for cri-dockerd as a replacement for dockershim (#8623) 2022-03-16 16:28:11 -07:00
nerdctl [nerdctl] upgrade to 0.16.0 (#8484) 2022-02-01 15:11:48 -08:00
runc Fix containerd install for fcos (#8107) 2021-11-05 07:53:53 -07:00
validate-container-engine/tasks Fix the condition of drain on pre-remove task (#8634) 2022-03-21 01:39:10 -07:00
youki Add youki runtime support (#8411) 2022-01-21 14:01:07 -08:00