真实的国产乱ⅩXXX66竹夫人,五月香六月婷婷激情综合,亚洲日本VA一区二区三区,亚洲精品一区二区三区麻豆

成都創(chuàng)新互聯(lián)網(wǎng)站制作重慶分公司

k8sv1.5web界面中kubernetes-dashboardv1.5的升級(jí)以及使用方法

k8s v1.5 web界面中kubernetes-dashboardv1.5的升級(jí)以及使用方法,相信很多沒(méi)有經(jīng)驗(yàn)的人對(duì)此束手無(wú)策,為此本文總結(jié)了問(wèn)題出現(xiàn)的原因和解決方法,通過(guò)這篇文章希望你能解決這個(gè)問(wèn)題。

成都創(chuàng)新互聯(lián)專業(yè)IDC數(shù)據(jù)服務(wù)器托管提供商,專業(yè)提供成都服務(wù)器托管,服務(wù)器租用,四川雅安服務(wù)器托管,四川雅安服務(wù)器托管,成都多線服務(wù)器托管等服務(wù)器托管服務(wù)。

kubernetes dashboard鏡像獲取:

docker pull registry.cn-hangzhou.aliyuncs.com/google-containers/kubernetes-dashboard-amd64:v1.5.0

 #這里重新tag,并push到自己的鏡像倉(cāng)庫(kù)了

docker tag e5133bac8024 www.perofu.com:7070/kubernetes-dashboard-amd64:v1.5.0 

docker push www.perofu.com:7070/kubernetes-dashboard-amd64:v1.5.0

kubernetes-dashboard相關(guān)資源的配置文件:

[root@www: kube-dashboard]#curl -O kubernetes-dashboard_1.5.0.yaml https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml

[1446][root@www: kube-dashboard]#cat kubernetes-dashboard_1.5.0.yaml

kind: Deployment

apiVersion: extensions/v1beta1

metadata:

  labels:

    app: kubernetes-dashboard

  name: kubernetes-dashboard

  namespace: kube-system

spec:

  replicas: 1

  revisionHistoryLimit: 10

  selector:

    matchLabels:

      app: kubernetes-dashboard

  template:

    metadata:

      labels:

        app: kubernetes-dashboard

      # Comment the following annotation if Dashboard must not be deployed on master

      annotations:

        scheduler.alpha.kubernetes.io/tolerations: |

          [

            {

              "key": "dedicated",

              "operator": "Equal",

              "value": "master",

              "effect": "NoSchedule"

            }

          ]

    spec:

      containers:

      - name: kubernetes-dashboard

        #image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.5.0

        image: www.perofu.com:7070/kubernetes-dashboard-amd64:v1.5.0

        imagePullPolicy: Always

        ports:

        - containerPort: 9090

          protocol: TCP

        args:

        livenessProbe:

          httpGet:

            path: /

            port: 9090

          initialDelaySeconds: 30

          timeoutSeconds: 30

---

kind: Service

apiVersion: v1

metadata:

  labels:

    app: kubernetes-dashboard

  name: kubernetes-dashboard

  namespace: kube-system

spec:

  type: NodePort

  ports:

  - port: 80

    targetPort: 9090

  selector:

    app: kubernetes-dashboard

創(chuàng)建kubernetes-dashboard相關(guān)資源:

[1396][root@www: kube-dashboard]# kubectl create -f kubernetes-dashboard_1.5.0.yaml                                                      

deployment "kubernetes-dashboard" created

service "kubernetes-dashboard" created

[1397][root@www: kube-dashboard]# kubectl get pods --all-namespaces

NAMESPACE     NAME                                   READY     STATUS    RESTARTS   AGE

kube-system   kubernetes-dashboard-728075524-s6gd0   0/1       Pending   0          2s

[1398][root@www: kube-dashboard]# kubectl get pods --all-namespaces

NAMESPACE     NAME                                   READY     STATUS    RESTARTS   AGE

kube-system   kubernetes-dashboard-728075524-s6gd0   1/1       Running   0          18s

訪問(wèn)kubernetes dashboard界面:

http://192.168.16.234:8080/api/v1/proxy/namespaces/kube-system/services/kubernetes-dashboard/

k8s v1.5 web界面中kubernetes-dashboardv1.5的升級(jí)以及使用方法

    kubernetes dashboard V1.5,相對(duì)改變了很多,

        ①、左側(cè)的任務(wù)欄,多了k8s的資源對(duì)象

        ②、dashboard 部署應(yīng)用的沒(méi)有改變

      附上幾張圖片,剩下的,大家可以去探索一下?。。?/p>

k8s v1.5 web界面中kubernetes-dashboardv1.5的升級(jí)以及使用方法

k8s v1.5 web界面中kubernetes-dashboardv1.5的升級(jí)以及使用方法

k8s v1.5 web界面中kubernetes-dashboardv1.5的升級(jí)以及使用方法

看完上述內(nèi)容,你們掌握k8s v1.5 web界面中kubernetes-dashboardv1.5的升級(jí)以及使用方法的方法了嗎?如果還想學(xué)到更多技能或想了解更多相關(guān)內(nèi)容,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道,感謝各位的閱讀!


本文標(biāo)題:k8sv1.5web界面中kubernetes-dashboardv1.5的升級(jí)以及使用方法
分享地址:http://weahome.cn/article/jocces.html

其他資訊

在線咨詢

微信咨詢

電話咨詢

028-86922220(工作日)

18980820575(7×24)

提交需求

返回頂部