Currently I'm working on a small hobby project which I'll make open source once it's ready. This service is running on Google Container Engine. I chose GCE to avoid configuration hassle, the costs are affordable and to learn new stuff.
My pods are running fine and I created a service with type
LoadBalancer to expose the service on port 80 and 443. This works perfectly.
However, I discovered that for each
LoadBalancer service, a new Google Compute Engine load balancer is created. This load balancer pretty expensive and really over done for a hobby project on a single instance.
To cut the costs I'm looking for a way to expose the ports without the load balancer.
What i've tried so far:
NodePortservice. Unfortunately it's disallowed to expose a port below 30000.
Deploy an Ingress but this also creates a load balancer.
Tried to disable
HttpLoadBalancing(https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters#HttpLoadBalancing) but it still creates a load balancer.
Is there a way to expose port 80 and 443 for a single instance on Google Container Engine without a load balancer?