Open knechtionscoding opened 1 year ago
When you configure cluster settings through a StackConfigPolicy, you are declaring persistent settings, so persistent
or transient
fields don't make sense in this context.
apiVersion: stackconfigpolicy.k8s.elastic.co/v1alpha1
kind: StackConfigPolicy
metadata:
name: test
spec:
elasticsearch:
clusterSettings:
cluster.routing.rebalance.enable: all
cluster.routing.allocation.enable: all
cluster.routing.allocation.node_concurrent_recoveries: '8'
xpack.monitoring.collection.enabled: 'true'
Note that you can choose between the indentation notation (in your example) or the dot notation (in the example above).
I will try to improve the documentation.
Ah, makes sense. Confirmed that works
Bug Report
What did you do?
Tried to configure cluster settings via a StackConfigPolicy:
you'll get:
And if you try any transient settings:
you'll see:
Possibly related to #6495 and #6694
What did you expect to see?
Cluster settings configured
What did you see instead? Under which circumstances?
Errors:
and
Environment
ECK version: 2.7.0
Kubernetes information:
insert any information about your Kubernetes environment that could help us:
for each of them please give us the version you are using
Resource definition:
Logs: