helm-elasticsearch
helm-elasticsearch copied to clipboard
Changing es-master svc to ClusterIP
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
typeis 'ClusterIP', spec.ports[1].nodePort: Forbidden: may not be used whentypeis 'ClusterIP']
But there is no "nodePort" in any part of config files in the repo, where does it takes them from?
The problem is reproducing only on helm upgrade. Delete, purge, install - then no problem