I'm trying to create multiple Elasticsearch clusters in the same Kubernetes namespace using the official Helm chart (https://github.com/elastic/helm-charts/tree/7.7/elasticsearch). However, when I run the helm command for one cluster instance, using a different values.yaml file, and then run another helm command for the other cluster, I only end up with the second cluster.
helm upgrade --install elasticsearch elastic/elasticsearch -f cluster-1-values.yaml --version 7.7.0 --namespace namespace-name
helm upgrade --install elasticsearch elastic/elasticsearch -f cluster-2-values.yaml --version 7.7.0 --namespace namespace-name
I've had a look at the various config variables and I couldn't find anything that would allow/deny having multiple clusters in a single namespace.
I've double-checked each yaml file and they have different cluster names so they should be unique.