Skip to content

Commit

Permalink
loxilb-iogh-87 Fix for k8s flannel incluster with multus cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Sep 23, 2024
1 parent 3e292e0 commit 39ec30c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions cicd/k8s-flannel-incluster-multus/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ sudo sysctl net.ipv4.conf.vboxnet1.arp_accept=1
#vagrant ssh master -c 'kubectl apply -f /vagrant/yaml/udp_fullnat.yml' 2> /dev/null
#vagrant ssh master -c 'kubectl apply -f /vagrant/yaml/sctp_fullnat.yml' 2> /dev/null

#Create multus services
vagrant ssh master -c 'kubectl apply -f /vagrant/multus/multus-pod.yml' 2> /dev/null
vagrant ssh master -c 'kubectl apply -f /vagrant/multus/multus-service.yml' 2> /dev/null

for((i=1; i<=60; i++))
do
fin=1
Expand Down
1 change: 1 addition & 0 deletions cicd/k8s-flannel-incluster-multus/node_scripts/master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ kubectl wait pod --all --for=condition=Ready --namespace=kube-flannel --timeout=
kubectl apply -f /vagrant/multus/multus-vlan.yml
sleep 60
kubectl apply -f /vagrant/yaml/loxilb.yaml
kubectl apply -f /vagrant/yaml/kube-loxilb.yaml
4 changes: 0 additions & 4 deletions cicd/k8s-flannel-incluster-multus/node_scripts/worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ kubectl label node $(hostname -s) node-role.kubernetes.io/worker=worker
kubectl wait pod --all --for=condition=Ready --namespace=kube-system --timeout=240s >> /dev/null 2>&1 || true
kubectl wait pod --all --for=condition=Ready --namespace=default --timeout=240s >> /dev/null 2>&1 || true
kubectl wait pod --all --for=condition=Ready --namespace=kube-flannel --timeout=240s >> /dev/null 2>&1 || true
kubectl apply -f /vagrant/yaml/kube-loxilb.yaml
kubectl apply -f /vagrant/multus/multus-pod.yml
sleep 60
kubectl apply -f /vagrant/multus/multus-service.yml
EOF

Expand Down

0 comments on commit 39ec30c

Please sign in to comment.