File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ provision:
40
40
script : |
41
41
#!/bin/bash
42
42
set -eux -o pipefail
43
- command -v kubectl >/dev/null 2>&1 && exit 0
43
+ command -v kubeadm >/dev/null 2>&1 && exit 0
44
44
# Installing kubeadm on your hosts
45
45
cat <<EOF | sudo tee /etc/modules-load.d/containerd.conf
46
46
overlay
@@ -88,12 +88,12 @@ provision:
88
88
sed -e "s/${LIMA_CIDATA_SLIRP_IP_ADDRESS:-192.168.5.15}/127.0.0.1/" -i $KUBECONFIG
89
89
mkdir -p ${HOME:-/root}/.kube && cp -f $KUBECONFIG ${HOME:-/root}/.kube/config
90
90
probes :
91
- - description : " kubectl to be installed"
91
+ - description : " kubeadm to be installed"
92
92
script : |
93
93
#!/bin/bash
94
94
set -eux -o pipefail
95
- if ! timeout 30s bash -c "until command -v kubectl >/dev/null 2>&1; do sleep 3; done"; then
96
- echo >&2 "kubectl is not installed yet"
95
+ if ! timeout 30s bash -c "until command -v kubeadm >/dev/null 2>&1; do sleep 3; done"; then
96
+ echo >&2 "kubeadm is not installed yet"
97
97
exit 1
98
98
fi
99
99
hint : |
You can’t perform that action at this time.
0 commit comments