K8S: pid is not 1, automatic detection of docker failed, inotify detection is not automatically enabled. #2824
Labels
Enhancement
Improvement or enhancement.
Kubernetes
For K8s, Prometheus, APM and Grafana.
TransByAI
Translated by AI/GPT.
Won't fix
We won't fix it.
Milestone
Description'
Please ensure that the markdown structure is maintained.
4.0release
'Please ensure that the markdown structure is maintained.
Please ensure that the markdown structure is maintained.
Please ensure that the markdown structure is maintained.
Able to update:
Please ensure that the markdown structure is maintained.
Unable to update.
Please ensure that the markdown structure is maintained.
Replay
Please ensure that the markdown structure is maintained.
1. You can start directly on ACK
Please ensure that the markdown structure is maintained.
Expected behavior (Expect)
Please ensure that the markdown structure is maintained.
srs_detect_docker works well.
Please ensure that the markdown structure is maintained.
Analysis:
Please ensure that the markdown structure is maintained.
I don't know the reason, but it caused the "ps" in the container to not use 1.
Recently, we have been using containerd instead of Docker. I'm not sure if this is related to that.
That code:
err = fr.open("/proc/1/cgroup")
seems to be incorrect, right?The phrase "enable auto reload for docker" is not printed in the log. There might be an issue with this sentence.
However, forcing
inotify_auto_reload on;
seems to directly detect configmap updates.Updated log:
#1635
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: