You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-02-09T09:10:46.459+0100 DEBUG logstash-controller Some pods still need to be created/deleted {"service.version": "0.0.0-SNAPSHOT+00000000", "iteration": "12", "namespace": "default", "logstash_name": "logstash-sample", "namespace": "default", "statefulset_name": "logstash-sample-ls", "pending_creations": ["logstash-sample-ls-0"], "pending_deletions": []}
The root cause is that expectations for Logstash are never considered as "met", it's because label logstash.k8s.elastic.co/statefulset-name is originally missing on Pods created with ECK 2.11.1:
> k get pods
NAME READY STATUS RESTARTS AGE
elasticsearch-sample-es-default-0 1/1 Running 0 8m22s
elasticsearch-sample-es-default-1 1/1 Running 0 8m22s
logstash-sample-ls-0 1/1 Running 0 8m21s ### Created with ECK 2.11.1
> k get pods -l logstash.k8s.elastic.co/statefulset-name=logstash-sample-ls
No resources found in default namespace.
How to reproduce
config/samples/logstash/logstash_es.yaml
main
The following log message is printed endlessly:
The root cause is that expectations for Logstash are never considered as "met", it's because label
logstash.k8s.elastic.co/statefulset-name
is originally missing onPods
created with ECK2.11.1
:Therefore existing Pods are never returned by GetActualPodsForStatefulSet.
The text was updated successfully, but these errors were encountered: