Kubernetes Dashboard1.8.3部署
- 说明
下文中所需镜像请点击images自行下载使用! - 安装dashboard
#下载yaml wget https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml #查看yaml中image image: k8s.gcr.io/kubernetes-dashboard-amd64:v1.8.3
- 安装heapster
#下载yaml wget https://raw.githubusercontent.com/kubernetes/heapster/master/deploy/kube-config/influxdb/grafana.yaml wget https://raw.githubusercontent.com/kubernetes/heapster/master/deploy/kube-config/rbac/heapster-rbac.yaml wget https://raw.githubusercontent.com/kubernetes/heapster/master/deploy/kube-config/influxdb/heapster.yaml wget https://raw.githubusercontent.com/kubernetes/heapster/master/deploy/kube-config/influxdb/influxdb.yaml #修改yaml中image为自己的 #grafana.yaml - name: grafana image: k8s.gcr.io/heapster-grafana-amd64:v4.4.3 #heapster.yaml - name: heapster image: k8s.gcr.io/heapster-amd64:v1.5.3 #influxdb.yaml - name: influxdb image: k8s.gcr.io/heapster-influxdb-amd64:v1.3.3
- 镜像使用总结
Master 和 Node 节点由于分工不一样,所以安装的服务不同,最终安装完毕,Master 和 Node 启动的核心服务分别如下:
Image Name | Version | swarm2(master) | swarm1 |
---|---|---|---|
k8s.gcr.io/kube-apiserver-amd64 | v1.10.0 | 需要 | 不需要 |
k8s.gcr.io/kube-controller-manager-amd64 | v1.10.0 | 需要 | 不需要 |
k8s.gcr.io/kube-scheduler-amd64 | v1.10.0 | 需要 | 不需要 |
k8s.gcr.io/kube-proxy-amd64 | v1.10.0 | 需要 | 需要 |
k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64 | 1.14.8 | 需要 | 不需要 |
k8s.gcr.io/k8s-dns-sidecar-amd64 | 1.14.8 | 需要 | 不需要 |
k8s.gcr.io/k8s-dns-kube-dns-amd64 | 1.14.8 | 需要 | 不需要 |
k8s.gcr.io/pause-amd64 | 3.1 | 需要 | 需要 |
quay.io/coreos/flannel | v0.9.1 | 需要 | 需要 |
quay.io/calico/node | v2.6.2 | 需要 | 不需要 |
quay.io/calico/cni | v1.11.0 | 需要 | 不需要 |
k8s.gcr.io/etcd-amd64 | 3.1.12 | 需要 | 不需要 |
k8s.gcr.io/kubernetes-dashboard-amd64 | v1.8.3 | 需要 | 需要 |
k8s.gcr.io/kubernetes-dashboard-init-amd64 | v1.0.1 | 需要 | 需要 |
k8s.gcr.io/heapster-amd64 | v1.5.3 | 需要 | 需要 |
k8s.gcr.io/heapster-influxdb-amd64 | v1.3.3 | 需要 | 需要 |
k8s.gcr.io/heapster-grafana-amd64 | v4.4.3 | 需要 | 需要 |