-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Disabling deprecation logs to be indexed #1472
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but looks like this is causing some unit tests to fail due to the new default entry in elasticsearch.yml.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@framsouza I think you need to rebase your branch to 7.x upstream as there is a failing tests on K8S 1.18 in https://devops-ci.elastic.co/job/elastic+helm-charts+pull-request+cluster-creation/1626/KUBERNETES_VERSION=1.18,label=docker&&virtual/ but 1.18 CI test has been removed 2 months ago in 75a06f9#diff-3253477baaea5115041883346a02c3aeb58a2b622d803b5ebd650c489d7c3f14
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As esConfig.elasticsearch.yml
value is overriding the default config files in the container, we always need to answer it contains everything required.
elasticsearch.yml: | | ||
cluster.deprecation_indexing.enabled: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As this will override the default elasticsearch.yml
from the Docker image, we need to include cluster_name
and network_host
.
elasticsearch.yml: | | |
cluster.deprecation_indexing.enabled: false | |
elasticsearch.yml: | | |
cluster.name: "docker-cluster" | |
network.host: 0.0.0.0 | |
# required for https://github.com/elastic/helm-charts/issues/1462 | |
cluster.deprecation_indexing.enabled: false |
another way could be to include an environment variables in helm-charts/elasticsearch/templates/statefulset.yaml Lines 298 to 330 in fdaba22
|
Fix #1462