Skip to content

antony@notes:~/kubernetes$ cat "Untitled-14.md"

Untitled

2021-10-24· kubernetes ·Kubernetes

修正錯誤

bigred@m1:~$ kubectl describe pods a1

  • 檢查a1狀態 看到這個就代表在quay.io裡面沒有alpine

  • replicaset contoller 要去照顧pod看的是pod的標籤

  • 我們把所有相同標籤的pod集合起來看 => K8S的service

  • 當我們今天機器重開 Pod的IP會改變,但是K8S Service的IP是"固定的",並會去記錄改變的pods IP

tags: Kubernetes