k8s集群驱逐node节点上的pod

[root@k8s-master1 ~]# kubectl drain k8s-node2 --delete-local-data --force --ignore-daemonsets
node/k8s-node2 already cordoned
WARNING: ignoring DaemonSet-managed Pods: efk/fluentd-es-nfgbj, ingress-nginx/nginx-ingress-controller-cpxtl, kube-system/calico-node-2gp4h, kube-system/kube-proxy-c97lr
evicting pod cattle-system/rancher-webhook-65f558c486-gvl2z
evicting pod default/tools-5b5cb759df-gx25k
evicting pod storage-class/nfs-client-provisioner-554cc7d84d-cjjhq
evicting pod cattle-system/rancher-77cc4f9d85-7gfz7
evicting pod cattle-system/rancher-77cc4f9d85-qhjx2
evicting pod cattle-system/rancher-77cc4f9d85-c2wkf
evicting pod default/jenkins-0
evicting pod know-system/know-system-654c445b68-gwmdw
evicting pod know-system/know-system-654c445b68-4dl9x
evicting pod fleet-system/fleet-controller-79554fcbf5-nfxgz
evicting pod fleet-system/gitjob-568c57cfb9-5kdcg
evicting pod prod-shixuetong/shixuetong-stu-prod-68ddb656d5-m99dp
evicting pod rancher-operator-system/rancher-operator-595ddc6db9-lblp5
evicting pod know-system/know-system-654c445b68-qqdlq
I0624 11:37:40.603111 19088 request.go:645] Throttling request took 1.056620837s, request: GET:https://apiserver.cluster.local:6443/api/v1/namespaces/fleet-system/pods/fleet-controller-79554fcbf5-nfxgz
pod/nfs-client-provisioner-554cc7d84d-cjjhq evicted
pod/rancher-webhook-65f558c486-gvl2z evicted
pod/gitjob-568c57cfb9-5kdcg evicted
I0624 11:37:50.603127 19088 request.go:645] Throttling request took 1.448417058s, request: GET:https://apiserver.cluster.local:6443/api/v1/namespaces/know-system/pods/know-system-654c445b68-gwmdw
pod/rancher-77cc4f9d85-qhjx2 evicted
pod/rancher-operator-595ddc6db9-lblp5 evicted
I0624 11:38:00.802891 19088 request.go:645] Throttling request took 2.073397551s, request: GET:https://apiserver.cluster.local:6443/api/v1/namespaces/cattle-system/pods/rancher-77cc4f9d85-c2wkf
pod/fleet-controller-79554fcbf5-nfxgz evicted
pod/rancher-77cc4f9d85-7gfz7 evicted
I0624 11:38:11.803011 19088 request.go:645] Throttling request took 1.082543284s, request: GET:https://apiserver.cluster.local:6443/api/v1/namespaces/prod-shixuetong/pods/shixuetong-stu-prod-68ddb656d5-m99dp
pod/rancher-77cc4f9d85-c2wkf evicted
pod/know-system-654c445b68-qqdlq evicted
pod/shixuetong-stu-prod-68ddb656d5-m99dp evicted
pod/tools-5b5cb759df-gx25k evicted
pod/know-system-654c445b68-gwmdw evicted
pod/know-system-654c445b68-4dl9x evicted
pod/jenkins-0 evicted
node/k8s-node2 evicted

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值