Minikube k8s Web UI 可以做到的事

蔡秀吉
Apr 21, 2022

--

部屬應用程式

  • Web UI 右上+號 即可開始部屬創建 worker node
  • 也可上傳 yaml json 檔
  • 指定Node的配置
  • 應用名稱
  • image(公共 Docker hub 或私人 repository 的 url)
  • Pod 的數量
  • 服務(選用)
    你可能想對外expose一個 Service,可能用的是cluster外的Public IP (外部Service)。Note:你可能需要開放一個或多個port才行。

Dashboard 上,可以修改、刪除 (node)

路徑:左邊cluster -> node -> 點選所要的 右上有刪除資源選項

node 資源占用可視化 (工作管理員-效能)

顯示目前所有 Pod 的資源狀態
左邊Cluster -> Nodes -> minikube ->下滑即可看到資源占用

System information

Worker node 的詳細資訊

左邊Cluster -> Nodes -> 點選您要的node進入即可查看

  • 如 OS、Kubelet 版本和內部 IP 位址
    取得每個物件的歷史狀態 創建時間等…資料

2022/04/21 更新 Web UI Pod 管理

Dashboard 可看到

  • pod名稱
  • pod 數量
  • 分配給資源的 pod 資源
  • 創建以來的時間

上傳 yaml 來控制、修改 pod
例:ReplicaSet 複製控制器

根據需要,創建和刪除 Pod 以達到所需數量,達到你所要的目的。
使用你給他的 Pod 模板(yaml檔),ReplicaSet 需要創建新的 Pod 時,
失效後會重建的概念啦~

請注意,建立大量 Pod 可能會讓 Dashboard Cluster 很當。

參考資料

https://youtu.be/niZO85CKDP8
https://youtu.be/rSJA6ukDeu4

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

蔡秀吉
蔡秀吉

Written by 蔡秀吉

thc1006,是貓咪,目前技能樹正在點:外科、體外循環、網路工程、SDN、O-RAN、腦科學、精神醫學、偏鄉教育、本土語言、以及戲曲表演,是個技能樹亂點的人生。

No responses yet

Write a response