calico
This commit is contained in:
@@ -15,6 +15,12 @@ storage:
|
||||
- path: /opt/cni/bin
|
||||
overwrite: true
|
||||
mode: 755
|
||||
- path: /etc/kubernetes/manifests
|
||||
#overwrite: true
|
||||
mode: 0755
|
||||
- path: /etc/install-calico
|
||||
overwrite: true
|
||||
mode: 0755
|
||||
files:
|
||||
- path: /etc/hostname
|
||||
mode: 0644
|
||||
@@ -127,6 +133,11 @@ storage:
|
||||
mode: 0755
|
||||
contents:
|
||||
source: "http://build-node.undercloud.local:3000/admin/undercloud-infrastructure/raw/branch/main/k8s-binaries/calicoctl"
|
||||
- path: "/etc/install-calico/custom-resources.yaml"
|
||||
overwrite: true
|
||||
mode: 0755
|
||||
contents:
|
||||
source: "http://build-node.undercloud.local:3000/admin/undercloud-infrastructure/raw/branch/main/calico-config/custom-resources.yaml"
|
||||
|
||||
- path: /etc/kubernetes/kubeadm-init.yaml
|
||||
mode: 0644
|
||||
@@ -328,7 +339,7 @@ systemd:
|
||||
ExecStart=/bin/sh -c 'echo "witing for tigera operator... (20mini max)"'
|
||||
ExecStart=/opt/bin/kubectl wait deployment -n tigera-operator tigera-operator --for condition=Available=True --timeout=1200s
|
||||
ExecStart=/bin/sh -c 'echo "create clico custom ressources..."'
|
||||
ExecStart=/opt/bin/kubectl create -f http://build-node.undercloud.local:3000/admin/undercloud-infrastructure/raw/branch/main/calico-config/custom-resources.yaml
|
||||
ExecStart=/opt/bin/kubectl create -f /etc/install-calico/custom-resources.yaml
|
||||
ExecStart=/bin/sh -c 'echo "witing 60s..."'
|
||||
ExecStart=/bin/sleep 60s
|
||||
ExecStart=/bin/sh -c 'echo "port-forward -n calico-system service/whisker 8081:8081"'
|
||||
|
||||
Reference in New Issue
Block a user