This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nodes: | |
- address: <IP_NODE_1> | |
user: rancher | |
role: | |
- controlplane | |
- etcd | |
- worker | |
hostname_override: master1 | |
# internal_address: 172.16.22.11 | |
# ssh_key_path: /home/user/.ssh/id_rsa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 4; | |
worker_rlimit_nofile 40000; | |
events { | |
worker_connections 8192; | |
} | |
stream { | |
upstream rancher_servers_http { | |
least_conn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansible -i templ.host all -m shell -a "echo <yourpasswd>|passwd rancher --stdin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -sL https://go.kubebuilder.io/dl/2.0.0-beta.0/darwin/amd64 | tar -xz -C /tmp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 4; | |
worker_rlimit_nofile 40000; | |
events { | |
worker_connections 8192; | |
} | |
http { | |
upstream rancher { | |
server <worker_node_ip>:443; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ansible -i templ.host all -m copy -a "src=./daemon.json dest=/etc/docker/daemon.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: busybox | |
namespace: default | |
spec: | |
containers: | |
- image: busybox:1.28 | |
command: | |
- sleep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fdisk -l | |
fdisk /dev/sdb | |
# new | |
n | |
t | |
# linux system file | |
8e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
启动:/etc/init.d/shadowsocks-manager start | |
停止:/etc/init.d/shadowsocks-manager stop | |
重启:/etc/init.d/shadowsocks-manager restart | |
查看状态:/etc/init.d/shadowsocks-manager status |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git rm -r --cached mesheryIstio |