Created
April 7, 2021 12:32
-
-
Save reaperes/ffaf814b6a2e7bd56da6d8e1d2d3e083 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind create cluster --name cluster --image kindest/node:v1.18.4 | |
# k8s cluster does not located on 127.0.0.1 | |
sed -i s/127.0.0.1/host.docker.internal/g ~/.kube/config | |
# certificated does not work for host.docker.internal | |
sed -i 's/certificate-authority-data:.*$/insecure-skip-tls-verify: true/g' ~/.kube/config | |
kubectl get pod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment