Hi,
I've been creating a YAML for deployment of kind: Elasticsearch, after deployed with success the ECK Operator, but when try use multiples nodeSets return the following error:
Error from server (Forbidden): error when creating "stack-dev.yaml": admission webhook "elastic-es-validation-v1.k8s.elastic.co" denied the request: Elasticsearch.elasticsearch.k8s.elastic.co "eck-sentinel" is invalid: [spec.nodeSets[0].config: Forbidden: Detected a combination of node.roles and node.remote_cluster_client. Use only node.roles, spec.nodeSets[1].config: Forbidden: Detected a combination of node.roles and node.remote_cluster_client. Use only node.roles]
I removed, but now I can´t use the Stack Monitoring, because needs the definition previously mentioned
Access Denied
You are not authorized to access Monitoring. To use Monitoring, you need the privileges granted by both the `kibana_admin` and `monitoring_user ` roles.
If you are attempting to access a dedicated monitoring cluster, this might be because you are logged in as a user that is not configured on the monitoring cluster.
Since Cross Cluster Search is enabled (`monitoring.ui.ccs.enabled` is set to `true`), make sure your cluster has the `remote_cluster_client` role on at least one node.
Now, looks like working fine, I guess that needs update the documentation here, because in the example the config it's out of the array mentioned previously.
On ECK deployment, if set to false returns the error:
Name: "eck-elasticsearch", Namespace: "observability"
for: "stack-dev.yaml": error when patching "stack-dev.yaml": admission webhook "elastic-es-validation-v1.k8s.elastic.co" denied the request: Elasticsearch.elasticsearch.k8s.elastic.co "eck-elasticsearch" is invalid: spec.nodeSets[1].config: Forbidden: Detected a combination of node.roles and node.remote_cluster_client. Use only node.roles
}}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.