日常修改
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
export harbor_host=10.129.80.218:8033
|
||||
export harbor_host=134.80.124.7:8033
|
||||
|
||||
curl -X POST -u "admin:V2ryStr@ngPss" -H "authorization: Basic YWRtaW46VjJyeVN0ckBuZ1Bzcw==" -H "Content-Type: application/json" -d '{"project_name":"cmii","registry_id":null,"metadata":{"public":"true"},"storage_limit":-1}' http://$harbor_host/api/v2.0/projects
|
||||
|
||||
|
||||
@@ -51,6 +51,7 @@ clean_rke_cluster() {
|
||||
rmmod ipip
|
||||
|
||||
iptables -F && iptables -t nat -F && iptables -t mangle -F && iptables -t raw -F
|
||||
ip6tables -F && ip6tables -t nat -F && ip6tables -t mangle -F && ip6tables -t raw -F
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ env:
|
||||
value: "eth0"
|
||||
|
||||
# 更加保险
|
||||
kubectl set env daemonset/calico-node -n kube-system IP_AUTODETECTION_METHOD=interface=eth0
|
||||
kubectl set env daemonset/calico-node -n kube-system IP_AUTODETECTION_METHOD=interface=enp4s3
|
||||
|
||||
|
||||
# 删除所有的calico pod
|
||||
|
||||
Reference in New Issue
Block a user