나의 minikube 설정

1 개요[ | ]

나의 minikube 설정
#minikube delete
#rm -rf /ws/hostpath

mkdir -p /ws/hostpath
WSL_DISTRO_NAME=
minikube start --addons=ingress --force --mount --mount-string=/ws/hostpath:/var/hostpath-provisioner --ports=80:80,443:443

2 old[ | ]

docker rm -f port80 port443
#minikube delete
#rm -rf /ws/hostpath

mkdir -p /ws/hostpath
minikube start --addons=ingress --force --mount --mount-string=/ws/hostpath:/var/hostpath-provisioner
docker run -d --name port80 --user=root -v /root/.kube/:/.kube/ -v /root/.minikube/:/root/.minikube/ --network=host bitnami/kubectl port-forward --address 0.0.0.0 -ningress-nginx svc/ingress-nginx-controller 80
docker run -d --name port443 --user=root -v /root/.kube/:/.kube/ -v /root/.minikube/:/root/.minikube/ --network=host bitnami/kubectl port-forward --address 0.0.0.0 -ningress-nginx svc/ingress-nginx-controller 443

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}