16 lines
714 B
Plaintext
16 lines
714 B
Plaintext
https://kind.sigs.k8s.io/docs/user/quick-start/
|
|
https://kind.sigs.k8s.io/docs/user/loadbalancer
|
|
|
|
kind create cluster --name=kind-vanilla --config kind-vanilla-config.yaml
|
|
|
|
kubectl cluster-info --context kind-kind-vanilla
|
|
kubectl config use-context kind-kind-vanilla
|
|
|
|
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/master/manifests/namespace.yaml
|
|
kubectl create secret generic -n metallb-system memberlist --from-literal=secretkey="$(openssl rand -base64 128)"
|
|
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/master/manifests/metallb.yaml
|
|
# kubectl get pods -n metallb-system --watch
|
|
|
|
docker network inspect -f '{{.IPAM.Config}}' kind
|
|
kubectl apply -f metallb-configmap.yaml
|