calico
This commit is contained in:
@@ -340,12 +340,9 @@ systemd:
|
||||
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 /etc/install-calico/custom-resources.yaml
|
||||
ExecStart=/bin/sh -c 'echo "witing 3m.."'
|
||||
ExecStart=/bin/sleep 3m
|
||||
ExecStart=/bin/sh -c 'echo "witing for whisker.."'
|
||||
ExecStart=/opt/bin/kubectl wait deployment -n calico-system whisker --for condition=Available=True --timeout=1200s
|
||||
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 "witing 3m.."'
|
||||
#ExecStart=/bin/sleep 3m
|
||||
|
||||
#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..."'
|
||||
@@ -360,6 +357,12 @@ systemd:
|
||||
ExecStart=/bin/sleep 1m
|
||||
ExecStart=/bin/sh -c 'echo "apply calico-ippools..."'
|
||||
ExecStart=/opt/bin/kubectl apply -f http://build-node.undercloud.local:3000/admin/undercloud-infrastructure/raw/branch/main/calico-config/ippools.yaml
|
||||
|
||||
ExecStart=/bin/sh -c 'echo "witing for whisker.."'
|
||||
ExecStart=/opt/bin/kubectl wait deployment -n calico-system whisker --for condition=Available=True --timeout=1200s
|
||||
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=/usr/bin/systemctl disable install-calico.service
|
||||
#RemainAfterExit=true
|
||||
Restart=on-failure
|
||||
|
||||
Reference in New Issue
Block a user