Loading...
展示节点标签kubectl get node --show-labels=true 给节点加标签kubectl label nodes node1 node=node1 kubectl label nodes node2 node=node2 --overwrite #覆盖
下载:osxfuse-2.7.3.dmg http://osxfuse.github.io/下载:sshfs-2.5.0.pkg https://github.com/osxfuse/sshfs/releases/# 创建本地目录,用于挂载 mkdir localLinux # 挂在远程目录到本地,输入密码即可,若要免密,创建sshkey即可 sshfs -p 22 -C -o recon...
netstat -n | grep "^tcp" | awk '{print $6}' | sort | uniq -c | sort -n vim /etc/sysctl.conf #编辑文件,加入以下内容: net.ipv4.tcp_syncookies = 1 net.ipv4.tcp_tw_reuse = 1 net.ipv4.tcp_tw_recycle = 1...
wireguard安装yum install epel-release elrepo-release yum install yum-plugin-elrepo yum install kmod-wireguard wireguard-tools yum install iptables-services注意:安装完后重启系统所有节点机器内核开启路由转发sysctl -w net.ipv4....
Prometheus-Grafana docker-compose启动方法,已测试可用InstallCreate .env:ADMIN_USER=admin ADMIN_PASSWORD=admin Clone this repository on your Docker host, cd into test directory and run compose up:git clone ...