# ノードの確認 kubectl get node # podのノード確認 kubectl get pod -o wide # node1 (停止計画対象)からポッドを別のノードに退避させる kubectl drain node1 --ignore-daemonsets # 確認 kubectl get pod -o wide # ノードの停止、メンテナンス # ノードの再起動 kubectl uncordon node1
科学・IT・登山の話題
投稿日:2021年2月23日 更新日:
# ノードの確認 kubectl get node # podのノード確認 kubectl get pod -o wide # node1 (停止計画対象)からポッドを別のノードに退避させる kubectl drain node1 --ignore-daemonsets # 確認 kubectl get pod -o wide # ノードの停止、メンテナンス # ノードの再起動 kubectl uncordon node1
執筆者:admin
関連記事
サービス名とCluster IPの登録状況を確認 kubectl get all NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/kubern …
$vagrant ssh It is required that your private key files are NOT accessible by others. This private k …
generateNameを利用する apiVersion: v1 kind: Pod metadata: generateName: sample-generate- spec: containers …