05 2022 档案
摘要:设置不可调度: kubectl cordon NODE 驱散pod kubectl drain NODE 取消不可调度 kubectl uncordon NODE kubectl drain vms25.rhce.cc --ignore-daemonsets
阅读全文
摘要:yum install -y bash-completion source /usr/share/bash-completion/bash_completion source <(kubectl completion bash) echo "source <(kubectl completion b
阅读全文
摘要:add_header "Access-Control-Allow-Methods" "GET,POST,OPTIONS,PUT,DELETE"; add_header "Access-Control-Allow-Credentials" "true"; add_header "Access-Cont
阅读全文
摘要:select host, user, authentication_string, plugin from mysql.user; grant all privileges on *.* to root@"%" identified by "aaa+Pe4" ; create user 'root'
阅读全文
摘要: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
阅读全文