File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4
4
# the ports are already forwarded automatically by lima:
5
5
#
6
6
# $ export KUBECONFIG=$PWD/kubeconfig.yaml
7
- # $ limactl shell k8s sudo cat /etc/kubernetes/admin.conf | sed -e 's/192.168.5.15/127.0.0.1/' >$KUBECONFIG
7
+ # $ limactl shell k8s sudo cat /etc/kubernetes/admin.conf >$KUBECONFIG
8
8
# $ kubectl get no
9
9
# NAME STATUS ROLES AGE VERSION
10
10
# lima-k8s Ready control-plane,master 44s v1.22.3
@@ -73,6 +73,7 @@ provision:
73
73
kubectl apply -f https://raw.githubusercontent.com/flannel-io/flannel/v0.14.0/Documentation/kube-flannel.yml
74
74
# Control plane node isolation
75
75
kubectl taint nodes --all node-role.kubernetes.io/master-
76
+ sed -e "s/${LIMA_CIDATA_SLIRP_IP_ADDRESS:-192.168.5.15}/127.0.0.1/" -i $KUBECONFIG
76
77
- mode : user
77
78
script : |
78
79
#!/bin/bash
You can’t perform that action at this time.
0 commit comments