calico
This commit is contained in:
@@ -316,15 +316,23 @@ systemd:
|
||||
Type=oneshot
|
||||
StandardOutput=journal+console
|
||||
StandardError=journal+console
|
||||
#ExecStart=/bin/sh -c 'echo "witing 120s..."'
|
||||
ExecStartPre=/bin/sleep 30s
|
||||
ExecStart=/bin/sh -c 'echo "witing 30s..."'
|
||||
ExecStart=/bin/sleep 30s
|
||||
ExecStart=/bin/sh -c 'echo "create calico namespace..."'
|
||||
ExecStart=/opt/bin/kubectl apply -f http://build-node.undercloud.local:3000/admin/undercloud-infrastructure/raw/branch/main/calico-config/namespace.yaml
|
||||
ExecStart=/bin/sh -c 'echo "install tigera operator..."'
|
||||
ExecStart=/opt/bin/kubectl apply -f http://build-node.undercloud.local:3000/admin/undercloud-infrastructure/raw/branch/main/calico-config/operator-crds.yaml
|
||||
ExecStart=/opt/bin/kubectl create -f http://build-node.undercloud.local:3000/admin/undercloud-infrastructure/raw/branch/main/calico-config/tigera-operator.yaml
|
||||
ExecStart=/bin/sh -c 'echo "witing 60s..."'
|
||||
ExecStart=/bin/sleep 60s
|
||||
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=/bin/sh -c 'echo "witing 60s..."'
|
||||
ExecStart=/bin/sleep 60s
|
||||
ExecStart=/bin/sh -c 'echo "port-forward -n calico-system service/whisker 8081:8081"'
|
||||
ExecStart=/opt/bin/kubectl port-forward -n calico-system service/whisker 8081:8081
|
||||
ExecStart=/bin/sh -c 'echo "apply calico (calico-apiserver)..."'
|
||||
ExecStart=/opt/bin/kubectl apply -f http://build-node.undercloud.local:3000/admin/undercloud-infrastructure/raw/branch/main/calico-config/calico.yaml
|
||||
ExecStart=/bin/sh -c 'echo "witing 1m..."'
|
||||
|
||||
Reference in New Issue
Block a user