diff --git a/prepare_k8s.yml b/prepare_k8s.yml index a5a2e97..b1f7bde 100644 --- a/prepare_k8s.yml +++ b/prepare_k8s.yml @@ -57,4 +57,13 @@ - "wget https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.30.0/crictl-v1.30.0-linux-arm64.tar.gz" - "tar Cxzvf /usr/local/bin crictl-v1.30.0-linux-arm64.tar.gz" - "rm crictl-v1.30.0-linux-arm64.tar.gz" - - "echo https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/" \ No newline at end of file + - "echo https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/" + - name: Crictl setup + copy: + dst: /etc/crictl.yaml + content: | + "runtime-endpoint: unix:///run/containerd/containerd.sock" + "image-endpoint: unix:///run/containerd/containerd.sock" + "timeout: 2" + "debug: true" + "pull-image-on-create: false" \ No newline at end of file