摘要:
Helm 是 Kubernetes 的一个包管理器,它用于简化和自动化在 Kubernetes 集群上部署、升级和管理应用程序。以下是在 Linux 上安装 Helm 的一般步骤: **步骤 1:下载 Helm 客户端** 1. 打开终端,并使用以下命令下载 Helm 客户端的二进制文件: ```b 阅读全文
摘要:
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 阅读全文
摘要:
192.16.2.1 主机 192.16.2.2 副机 192.16.2.244 vip 关闭两台节点机的防火墙和Selinux关闭防火墙# systemctl stop firewalld.service# systemctl disable firewalld.service# firewall 阅读全文
摘要:
None:不为容器配置任何网络功能,--net=none Container:与另一个运行中的容器共享Network Namespace,--net=container:containerID(K8S) Host:与宿主机共享Network Namespace,--network=host 性能最高 阅读全文