clockworksoul / helm-elasticsearch

An Elasticsearch cluster on top of Kubernetes, made easier, with Helm.
Apache License 2.0
118 stars 76 forks source link

Changing es-master svc to ClusterIP #63

Open ksemaev opened 6 years ago

ksemaev commented 6 years ago

BUG_REPORT

As I'm using AWS EKS, LoadBalancer type exposes my elastic masters. I don't need that, so I change es-svc, removing type: LoadBalancer, so that type will automatically change to ClusterIP

But deploing fails with strange:

Error: UPGRADE FAILED: Service "elasticsearch" is invalid: [spec.ports[0].nodePort: Forbidden: may not be used when type is 'ClusterIP', spec.ports[1].nodePort: Forbidden: may not be used when type is 'ClusterIP']

But there is no "nodePort" in any part of config files in the repo, where does it takes them from?

ksemaev commented 6 years ago

The problem is reproducing only on helm upgrade. Delete, purge, install - then no problem