Skip to content
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.

Changing es-master svc to ClusterIP #63

Open
ksemaev opened this issue Aug 17, 2018 · 1 comment
Open

Changing es-master svc to ClusterIP #63

ksemaev opened this issue Aug 17, 2018 · 1 comment

Comments

@ksemaev
Copy link

ksemaev commented Aug 17, 2018

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
Copy link
Author

ksemaev commented Aug 17, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant