diff --git a/Makefile b/Makefile index 32b2ab5f0..865691f59 100644 --- a/Makefile +++ b/Makefile @@ -379,6 +379,7 @@ undeploy-policy-controller: ## Undeploy policy-controller from the K8s cluster s install-metallb: $(KUSTOMIZE) ## Installs the metallb load balancer allowing use of an LoadBalancer type with a gateway $(KUSTOMIZE) build config/metallb | kubectl apply -f - kubectl -n metallb-system wait --for=condition=ready pod --selector=app=metallb --timeout=60s + ./utils/docker-network-ipaddresspool.sh kind | kubectl apply -n metallb-system -f - .PHONY: uninstall-metallb uninstall-metallb: $(KUSTOMIZE) diff --git a/doc/user-guides/gateway-dns.md b/doc/user-guides/gateway-dns.md index 8748aec98..4b20e46dd 100644 --- a/doc/user-guides/gateway-dns.md +++ b/doc/user-guides/gateway-dns.md @@ -36,33 +36,6 @@ Install metallb: make install-metallb ``` -Fetch the current kind networks subnet: -```shell -docker network inspect kind -f '{{ (index .IPAM.Config 0).Subnet }}' -``` -Response: -```shell -"172.18.0.0/16" -``` - -Create IPAddressPool within kind network(Fetched by the command above) e.g. 172.18.200 -```shell -kubectl -n metallb-system apply -f -<