Problems adding the prerequisites for cross cluster replication

I am trying to add the prerequisites as pointed on the Tutorial: Set up cross-cluster replication | Elasticsearch Guide [7.13] | Elastic so I added to my k8s elastic yaml in the local cluster:

ccr_user:
cluster:
- manage_ccr
indices:
- names: [ 'follower-index' ]
privileges:
- monitor
- read
- write
- manage_follow_index

I am getting:
uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [cluster.ccr_user.cluster] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

I added to the xpack section and I was getting:
"org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown setting [xpack.ccr_user.cluster] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"

So I am lost. Should it be part of the xpack? and if it is why is not taking it and if it is not part. What plugins I need to add?

Thanks in advance

Can you share your Elasticsearch log from startup to when you see that?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.