Successfully reported this slideshow.
Your SlideShare is downloading. ×

Introduction to Kubernetes Dashboard

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Upcoming SlideShare
網站設計100步
網站設計100步
Loading in …3
×

Check these out next

1 of 16 Ad

Introduction to Kubernetes Dashboard

Download to read offline

This video will show you how to install docker minikube and setup Kubernetes Dashboard.
淺談 minikube Dashboard | 從零開始建立 K8s Dashboard (Web UI) | NYCU GDSC
hctsai@linux.com

This video will show you how to install docker minikube and setup Kubernetes Dashboard.
淺談 minikube Dashboard | 從零開始建立 K8s Dashboard (Web UI) | NYCU GDSC
hctsai@linux.com

Advertisement
Advertisement

More Related Content

Similar to Introduction to Kubernetes Dashboard (20)

More from National Yang Ming Chiao Tung University (20)

Advertisement

Recently uploaded (20)

Introduction to Kubernetes Dashboard

  1. 1. ● 部屬應用程式 ● Node 資源占用可視化 ● Worker node 的詳細資訊 Agenda
  2. 2. Dashboard 可以做什麼? 他有什麼功能嗎?
  3. 3. 部屬應用程式 Web UI 右上+號 即可開始部屬創建 worker node
  4. 4. 部屬應用程式 也可上傳 yaml 檔
  5. 5. Yaml 檔範例 • 創建 metadata 名為 nginx-deployment • 定義 Pod 的標籤(app: nginx) Deployment 示範例子 創建了一個 ReplicaSet, 負責啟動三個 nginx Pods
  6. 6. Worker node 的詳細資訊 左邊Cluster -> Nodes -> 點選您要的 node 進入即可查看 如 OS、Kubelet 版本和內部 IP 位址 取得每個物件的歷史狀態 創建時間等資料
  7. 7. 部屬應用程式 應用名稱 image(公共 Docker hub 或私人 repository 的 url) Pod 的數量 服務(選用) 你可能想對外 expose 一個 Service,可能用的是cluster外的 Public IP (外部Service)。 Note:你可能需要開放一個或多個 port 才行。
  8. 8. Dashboard 上 可以修改、刪除 (node) 路徑:左邊 cluster -> node -> 點選所要的 右上有刪除資源選項
  9. 9. Node 資源占用可視化 (工作管理員-效能) 路徑:顯示目前所有 Pod 的資源狀態 左邊Cluster -> Nodes -> minikube ->下滑即可看到資源占用
  10. 10. ReplicaSet (副本集) 功用:根據Pod 模板(yaml檔)或是 web UI 設定值,創建和Pod,達到你規定的數量。 當 Pod 失效或是崩潰時,ReplicaSet 負責重建,達到你規定的數量。
  11. 11. Node 資源占用可視化 -Allocation (資源分配) • CPU • Memory • Pods
  12. 12. Node 資源占用可視化 -System information(系統資訊) • Machine ID • System UUID • Boot ID • kernel version • OS image: Ubuntu 20.04.2 LTS • container runtime version: docker 20.10.12 • kube-proxy version • OS: linux • Architecture: amd64
  13. 13. Node 資源占用可視化 -Resource information(資源訊息) • Pod CIDR (IP) • addresses: internall IP、 Hostname
  14. 14. Node 其他簡介 • Kubernetes 通過將 container 放入 Pod,以在node上運行來運行 workload。 • 節點可能是虛擬機或實體(物理)機,取決於 cluster。 • 每個節點由 control plane 管理,包含運行所需的 Service 和 pod。 • node 中包含 kubelet、container runtime 和 kube-proxy。
  15. 15. Dashboard 可看到 - 秀吉 總結 • pod名稱 • pod 數量 • 分配給資源的 pod 資源 • 創建以來的時間

×