calico coreswith peer
This commit is contained in:
@@ -37,10 +37,10 @@ storage:
|
||||
|
||||
[Network]
|
||||
Address=fd00:0:0:2::91/64
|
||||
Gateway=fd00:0:0:2::3
|
||||
Gateway=fd00:0:0:2::88
|
||||
DNS=fd00:0:0:3::1
|
||||
Address=10.0.2.91/24
|
||||
Gateway=10.0.2.3
|
||||
Gateway=10.0.2.88
|
||||
DNS=10.0.3.1
|
||||
Domains=undercloud.local
|
||||
|
||||
@@ -320,21 +320,21 @@ systemd:
|
||||
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=-/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 create -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=-/opt/bin/kubectl create -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 apply -f http://build-node.undercloud.local:3000/admin/undercloud-infrastructure/raw/branch/main/calico-config/custom-resources.yaml
|
||||
ExecStart=-/opt/bin/kubectl apply -f http://build-node.undercloud.local:3000/admin/undercloud-infrastructure/raw/branch/main/calico-config/custom-resources.yaml
|
||||
|
||||
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=-/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..."'
|
||||
#ExecStart=/bin/sleep 2m
|
||||
ExecStart=/bin/sh -c 'echo "witing calico-apiserver... (20mini max)"'
|
||||
@@ -342,11 +342,11 @@ systemd:
|
||||
ExecStart=/bin/sh -c 'echo "witing 120s..."'
|
||||
ExecStart=/bin/sleep 2m
|
||||
ExecStart=/bin/sh -c 'echo "apply calico-peers..."'
|
||||
ExecStart=/opt/bin/kubectl apply -f http://build-node.undercloud.local:3000/admin/undercloud-infrastructure/raw/branch/main/calico-config/calico-peer.yaml
|
||||
ExecStart=-/opt/bin/kubectl apply -f http://build-node.undercloud.local:3000/admin/undercloud-infrastructure/raw/branch/main/calico-config/calico-peer.yaml
|
||||
ExecStart=/bin/sh -c 'echo "witing 60s..."'
|
||||
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=-/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
|
||||
|
||||
Reference in New Issue
Block a user