Unable to use loadBalancerIP with elastic/helm-chart

Hello,

I am deploying ElasticSearch using helm charts here: elastic/helm-charts on GCP k8s version: 1.13.7-gke.8.

providing loadBalancerIP: x.x.x.x is not working.

I am using the provided values.yaml file except in the "service:" section I changed type: ClusterIP to type: LoadBalancer and added loadBalancerIP: X.X.X.X, where X.X.X.X is my static IP address as follows:

service:
type: LoadBalancer
loadBalancerIP: X.X.X.X
nodePort:
annotations: {}

I was able to use the external IP address I created following the instructions here: https://cloud.google.com/kubernetes-engine/docs/tutorials/configuring-domain-name-static-ip
so I know that GCP allows the specification of loadBalancerIP, but with this helm chart I get a random IP.

My expectation is that the LoadBalancer uses the IP address that I specify on the "loadBalancerIP:" line.

Any help greatly appreciated.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.