06 2023 档案
摘要:1.1.1 使用 Operator 部署 Istio # wget https://github.com/istio/istio/releases/download/1.13.0/istio-1.13.0-linux-amd64.tar.gz # tar xf istio-1.13.0-linux-
阅读全文
摘要:# 指定需要删除的命名空间NAMESPACE='monitoring'# 以下为固定格式,不需要修改RANCHER_SERVER_URL=$( kubectl config view -o json|jq -r .clusters[0].cluster.server )CLUSTER_TOKEN=$
阅读全文
摘要:装golang,假设在linux环境下 获取源码 go get github.com/BurntSushi/toml 进到目录github.com/BurntSushi/tomlcmd/tomlv 下,进行编译 go build . 然后把tomlv放到/bin目录下。 验证toml配置文件合法性,
阅读全文
摘要:单个if ($http_Host != '127.0.0.1:80'){return 403;}多个域名set $flag 0;if ($http_Host != '127.0.0.1:80'){ set $flag "${flag} 1";}if ($http_Host != "www.baidu
阅读全文
摘要:curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repoyum install -y yum-utils device-mapper-persistent-data lvm2yum-
阅读全文
摘要:docker ps -q | xargs docker inspect --format '{{.State.Pid}}, {{.Name}}' | grep 25895
阅读全文
摘要:sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo --no-check-certificate sudo rpm --import https://pkg.jenk
阅读全文