2637309949@qq.com 5 years ago
parent
commit
984c81716d
3 changed files with 15 additions and 0 deletions
  1. 8 0
      k3s/README.md
  2. 4 0
      metrics-server/README.md
  3. 3 0
      nfs-client/README.md

+ 8 - 0
k3s/README.md

@@ -1,3 +1,6 @@
+# Kubernetes Install Server
+
+## deploy k3s
 - if you reinstall agent, you must copy password from master and paste it to /var/lib/rancher/k3s/agent/node-password.txt. the password is from /var/lib/rancher/k3s/server/cred/passwd in master server
 
 - if you want to run "sudo kubectl get nodes" in agent, you must copy k3s.yaml(in /etc/rancher/k3s) from master and paste it to /etc/rancher/k3s/ in master
@@ -5,3 +8,8 @@
 - K3S_TOKEN is the content of /var/lib/rancher/k3s/server/node-token in master
 
 - if you set the nodename of agent, you must add ip nodename(such as 127.0.0.1   node-1) to /etc/hosts
+
+## iptable rules
+- 允许	自定义 TCP	8080/8080	IPv4地址段访问	192.168.14.0/24
+- 允许	自定义 UDP	8472/8472	IPv4地址段访问	192.168.14.0/24
+- 允许	自定义 UDP	6443/6443	IPv4地址段访问	192.168.14.0/24

+ 4 - 0
metrics-server/README.md

@@ -1,3 +1,7 @@
 # Kubernetes Metrics Server
+
 ## deploy the latest metric-server
 $ kubectl create -f ./
+
+## iptable rules
+- 允许	自定义 TCP	10250/10250	IPv4地址段访问	192.168.14.0/24

+ 3 - 0
nfs-client/README.md

@@ -1,4 +1,7 @@
 # Kubernetes Nfs Server
+
 ## deploy the latest nfs-server
 $ kubectl create -f ./
 
+## iptable rules
+- 允许	自定义 TCP	2049/2049	IPv4地址段访问	192.168.14.0/24