Fix EK stack deployment on kubernetes #33167
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR fixes the EK stack deployment on kubernetes by changing kibana's username from elastic to kibana_system.
This was broken in elastic/kibana#122722 and it provoked kibana not to start with error:
How to test this PR locally
1- Make sure that you have pulled the latest docker.elastic.co/kibana/kibana:8.0.0-SNAPSHOT. Most certainly this tag used to point to a different image which used to work before.
2- Follow the instructions of https://github.com/elastic/beats/blob/main/metricbeat/module/kubernetes/_meta/test/docs/README.md.
The only changes are in one file so running
kubectl apply -f metricbeat/module/kubernetes/_meta/test/docs/01_playground/ek_stack.yaml
before and after will show the difference.Related issues
elastic/kibana#123113
elastic/kibana#122722