上一页 1 2 3 4 5 6 7 ··· 20 下一页
摘要: 设置不可调度: kubectl cordon NODE 驱散pod kubectl drain NODE 取消不可调度 kubectl uncordon NODE kubectl drain vms25.rhce.cc --ignore-daemonsets 阅读全文
posted @ 2022-05-11 16:54 大川哥 阅读(53) 评论(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 大川哥 阅读(84) 评论(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 大川哥 阅读(720) 评论(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 大川哥 阅读(104) 评论(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 大川哥 阅读(156) 评论(0) 推荐(0) 编辑
摘要: # 阿里云帮助文档参考: # https://yq.aliyun.com/articles/110806?spm=a2c1q.8351553.0.0.11b720beQRyGTx # 官网安装参考:https://docs.docker.com/install/linux/docker-ce/cen 阅读全文
posted @ 2022-04-21 18:05 大川哥 阅读(26) 评论(0) 推荐(0) 编辑
摘要: kafka安装部署 #kafka安装部署 # 注意:Apache Kafka2.8版本之后可以不需要使用ZooKeeper,内测中,文章末尾有体验的安装方式。 #下载 https://kafka.apache.org/downloads wget https://archive.apache.org 阅读全文
posted @ 2022-04-02 18:28 大川哥 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 域名证书有效期检测 ssl_test.sh: #!/bin/bash # 检测https证书有效期 source /etc/profile cd $(dirname $0) echo "域名 解析IP 剩余到期时间" > expire_list echo "10.3.229.14 访问不可达域名" 阅读全文
posted @ 2022-04-02 14:51 大川哥 阅读(382) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-03-31 18:52 大川哥 阅读(24) 评论(0) 推荐(0) 编辑
摘要: centos6 安装部署 xtrabackup IP 10.3.238.193 参考: cnblogs.com/maohedashu/p/13999418.html https://blog.csdn.net/weixin_34310369/article/details/89781282 wget 阅读全文
posted @ 2022-03-29 14:47 大川哥 阅读(85) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 20 下一页