We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6eea9ec + 0aed871 commit 688f308Copy full SHA for 688f308
examples/k3s.yaml
@@ -1,6 +1,6 @@
1
# Deploy kubernetes via k3s (which installs a bundled containerd).
2
# $ limactl start ./k3s.yaml
3
-# $ limactl shell k3s sudo kubectl
+# $ limactl shell k3s kubectl
4
#
5
# It can be accessed from the host by exporting the kubeconfig file;
6
# the ports are already forwarded automatically by lima:
@@ -40,7 +40,7 @@ provision:
40
script: |
41
#!/bin/sh
42
if [ ! -d /var/lib/rancher/k3s ]; then
43
- curl -sfL https://get.k3s.io | sh -
+ curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC="server --write-kubeconfig-mode 644" sh -
44
fi
45
probes:
46
- script: |
0 commit comments