We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f95319d commit 45160caCopy full SHA for 45160ca
examples/k8s.yaml
@@ -123,7 +123,8 @@ provision:
123
kubectl apply -f https://github.com/flannel-io/flannel/releases/download/v0.22.1/kube-flannel.yml
124
# Control plane node isolation
125
kubectl taint nodes --all node-role.kubernetes.io/control-plane-
126
- sed -e "s/${LIMA_CIDATA_SLIRP_IP_ADDRESS:-192.168.5.15}/127.0.0.1/" -i $KUBECONFIG
+ # Replace the server address with localhost, so that it works also from the host
127
+ sed -e "/server:/ s|https://.*:\([0-9]*\)$|https://127.0.0.1:\1|" -i $KUBECONFIG
128
mkdir -p ${HOME:-/root}/.kube && cp -f $KUBECONFIG ${HOME:-/root}/.kube/config
129
probes:
130
- description: "kubeadm to be installed"
0 commit comments