摘要:
设置不可调度: 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 阅读全文
摘要:
# 阿里云帮助文档参考: # https://yq.aliyun.com/articles/110806?spm=a2c1q.8351553.0.0.11b720beQRyGTx # 官网安装参考:https://docs.docker.com/install/linux/docker-ce/cen 阅读全文
摘要:
kafka安装部署 #kafka安装部署 # 注意:Apache Kafka2.8版本之后可以不需要使用ZooKeeper,内测中,文章末尾有体验的安装方式。 #下载 https://kafka.apache.org/downloads wget https://archive.apache.org 阅读全文
摘要:
域名证书有效期检测 ssl_test.sh: #!/bin/bash # 检测https证书有效期 source /etc/profile cd $(dirname $0) echo "域名 解析IP 剩余到期时间" > expire_list echo "10.3.229.14 访问不可达域名" 阅读全文
该文被密码保护。 阅读全文
摘要:
centos6 安装部署 xtrabackup IP 10.3.238.193 参考: cnblogs.com/maohedashu/p/13999418.html https://blog.csdn.net/weixin_34310369/article/details/89781282 wget 阅读全文