1. 程式人生 > >Kubernetes Dashboard1.8.3部署

Kubernetes Dashboard1.8.3部署

Kubernetes Dashboar Kubernetes Dashboard Dashboard1.8.3部署

Kubernetes Dashboard1.8.3部署

  1. 說明
    下文中所需鏡像請點擊images自行下載使用!
  2. 安裝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
  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
  4. 鏡像使用總結
    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 需要 需要

Kubernetes Dashboard1.8.3部署