05 2022 档案

摘要:设置不可调度: kubectl cordon NODE 驱散pod kubectl drain NODE 取消不可调度 kubectl uncordon NODE kubectl drain vms25.rhce.cc --ignore-daemonsets 阅读全文
posted @ 2022-05-11 16:54 大川哥 阅读(74) 评论(0) 推荐(0)
摘要:yum install -y bash-completion source /usr/share/bash-completion/bash_completion source <(kubectl completion bash) echo "source <(kubectl completion b 阅读全文
posted @ 2022-05-09 18:17 大川哥 阅读(103) 评论(0) 推荐(0)
摘要:add_header "Access-Control-Allow-Methods" "GET,POST,OPTIONS,PUT,DELETE"; add_header "Access-Control-Allow-Credentials" "true"; add_header "Access-Cont 阅读全文
posted @ 2022-05-09 14:02 大川哥 阅读(736) 评论(0) 推荐(0)
摘要:select host, user, authentication_string, plugin from mysql.user; grant all privileges on *.* to root@"%" identified by "aaa+Pe4" ; create user 'root' 阅读全文
posted @ 2022-05-07 16:58 大川哥 阅读(122) 评论(0) 推荐(0)
摘要:wget https://github.com/prometheus/node_exporter/releases/download/v1.3.1/node_exporter-1.3.1.linux-amd64.tar.gz tar -zxvf node_exporter-1.3.1.linux-a 阅读全文
posted @ 2022-05-07 11:07 大川哥 阅读(198) 评论(0) 推荐(0)