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 关联

相关文章
相关标签/搜索