Best Way to Start K8Sing | K8S 快速上手

https://www.youtube.com/watch?v=Q6g7w7Cmwlknode

Minikube 來學習k8s https://github.com/kubernetes/minikubenginx

Master ->管理 Minion -> pod爲單位git

minikube startgithub

minikube sshweb

host 安裝 kubectldocker

kubectl get node kubectl cluster-infobash

web界面 ip:30000app

docker imagesssh

github.com/acinwinstack/k8s-concept-demo學習

kubectl apply -f service.yml kubectl get svc kubectl get po kubectl get deploy kubectl describe po <name> kubectl logs <name kubectl exec -it <name bash kubectl expose pod nginx --name ng kubectl expose pod nginx --name nginx-svc-2 --type NodePort --port 80 --target-port 80

NodePort service type, 會用30000+ 端口跟container 關聯

相關文章
相關標籤/搜索