helm-elasticsearch icon indicating copy to clipboard operation
helm-elasticsearch copied to clipboard

Changing es-master svc to ClusterIP

Open ksemaev opened this issue 7 years ago • 1 comments

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 avatar Aug 17 '18 11:08 ksemaev

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

ksemaev avatar Aug 17 '18 11:08 ksemaev