# ノードの確認 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
関連記事
$vagrant ssh It is required that your private key files are NOT accessible by others. This private k …
デプロイメントはポッドの消失を担保する デプロイメント→ポッド生成→ノード(1)へ配置 デプロイメントはポッドを監視する ポッドからの反応がなくなった場合にはポッドを再作成する その時にノード(1)が …
kubectl get nodesで certificateエラー
[root@ip-172-31-34-51 ~]# kubectl get nodes Unable to connect to the server: x509: certificate signe …