#!/bin/bash
read -p "请输入要去除污点的master节点的hostname(比如: master1):" node
kubectl taint nodes $node node-role.kubernetes.io/master:NoSchedule-
k8s master节点参与调度(去除NoSchedule污点)
原创a772304419 ©著作权
©著作权归作者所有:来自51CTO博客作者a772304419的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
java cursor的方法
1. java 数据存储 1、 指针( cursor ) java 无指针 ·java只是将指针隐藏,指针依旧以存储地址的形式埋藏在程序深处。甚至可以说java中所有的东西都是指针 2、
java cursor的方法 java 数据结构与算法 数据库 数据结构