FreeBSD/k8s/setup-kind-vanilla.txt

16 lines
714 B
Plaintext
Raw Normal View History

2021-04-20 12:34:43 -07:00
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