Operator that allows you to use Kubernetes LoadBalancer Service type on non-public cloud, by exposing ports on nodes with simplelb.amurant.io/enablelb=true
label.
kubectl apply -f https://github.com/amurant/simplelb/releases/latest/download/simplelb.yaml
kubectl label node <node name> simplelb.amurant.io/enablelb=true
kubectl get nodes --show-labels
# remove a label:
kubectl label node <node name> simplelb.amurant.io/enablelb-
kubectl create deployment hello-node --image=k8s.gcr.io/echoserver:1.4
kubectl expose deployment hello-node --type=LoadBalancer --port=8080
git clone https://github.com/amurant/simplelb.git
cd simplelb
# create a kind cluster
./devel/create-cluster.sh
# build the docker images and deploy to kind
./devel/install-operator.sh