From ca68f2320c3d7fc6da23c3dcba2ff0d08e2dcecc Mon Sep 17 00:00:00 2001 From: alecsandru Date: Fri, 3 May 2024 20:54:48 +0000 Subject: [PATCH] Update 'prepare_k8s.yml' --- prepare_k8s.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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