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?
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 ClusterIPBut deploing fails with strange:
But there is no "nodePort" in any part of config files in the repo, where does it takes them from?