k8s核心组件 & 安装部署
1.配置存储中心 ----> etcd
2.master节点: 跑3个服务(2个master起步,能保证99.99%稳定性)
kube-apiserver服务
kube-controller-manager服务
kube-scheduler服务
3.node节点:
kube-kubelet服务
kube-proxy服务
-------k8s安装方式---------
方式1: minikube 仅供学习,方便
> brew install minikube brew upgrade minikube
> minikube start --image-repository registry.cn-hangzhou.aliyuncs.com/google_containers
> kubectl get pods -n kube-system
NAME READY STATUS RESTARTS AGE
coredns-54d67798b7-tfd6l 1/1 Running 0 7m31s
etcd-minikube 1/1 Running 0 7m43s
kube-apiserver-minikube 1/1 Running 0 7m43s
kube-controller-manager-minikube 1/1 Running 0 7m43s
kube-proxy-xwcnk 1/1 Running 0 7m31s
kube-scheduler-minikube 1/1 Running 0 7m43s
storage-provisioner 1/1 Running 0 7m42s