I'm deploying a Kubernetes cluster on GCE using Gitlab-CI. I'd like to keep the cost to a minimum - here's my current setup:
- Nodes run on 3
f1-micro
instances - A system pod running
Traefik
configured with ServiceTypeLoadBalancer
- Wildcard dns configured
- 1
postgres
pod - 1 web server pod with
ingress
configured for Traefik
I would like to reduce the cost of my deployment. Most of the cost resides with the GCE load balancer. Is there a way I can use a public IP address instead of a Load Balancer on GCE? If so, can I utilise the IP address allocated to the cluster (instead of reserving a static IP)?
To put it another way, is there a way to tie an ephemeral ip to a Kubernetes service using GCE without a load balancer?
Is there any other configuration I can do differently that will reduce cost in general on GCE?