Skip to content

Commit

Permalink
Update metallb.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chbinousamy authored Feb 2, 2024
1 parent 4050a5d commit ae1bed4
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/metallb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,30 +81,30 @@ jobs:
chmod 700 get_helm.sh
./get_helm.sh
- name: Install and configure MetalLB
run: |
helm repo add metallb https://metallb.github.io/metallb
helm install metallb metallb/metallb --namespace metallb-system --create-namespace
kubectl wait --for=condition=Ready pods --all -n metallb-system
kubectl get pods -A
docker network inspect -f '{{.IPAM.Config}}' kind
cat <<EOF | kubectl apply -f -
apiVersion: metallb.io/v1beta1
kind: IPAddressPool
metadata:
name: first-pool
namespace: metallb-system
spec:
addresses:
- 172.18.200.0/24
avoidBuggyIPs: true
---
apiVersion: metallb.io/v1beta1
kind: L2Advertisement
metadata:
name: empty
namespace: metallb-system
EOF
# - name: Install and configure MetalLB
# run: |
# helm repo add metallb https://metallb.github.io/metallb
# helm install metallb metallb/metallb --namespace metallb-system --create-namespace
# kubectl wait --for=condition=Ready pods --all -n metallb-system
# kubectl get pods -A
# docker network inspect -f '{{.IPAM.Config}}' kind
# cat <<EOF | kubectl apply -f -
# apiVersion: metallb.io/v1beta1
# kind: IPAddressPool
# metadata:
# name: first-pool
# namespace: metallb-system
# spec:
# addresses:
# - 172.18.200.0/24
# avoidBuggyIPs: true
# ---
# apiVersion: metallb.io/v1beta1
# kind: L2Advertisement
# metadata:
# name: empty
# namespace: metallb-system
# EOF

- name: Check Network
run: |
Expand Down

0 comments on commit ae1bed4

Please sign in to comment.