I deployed the metricbeat docker on kubernetes, the metricbeat.yml is in configmap. When the pod starts, came across an CrashLoopBackOff error:
"/usr/local/bin/docker-entrypoint: line 8: exec: metricbeat: not found"
the yml doesn't matter here as the error appeared with an empty configmap. Certainly, no configmap, no error appeared.
I guess the error is there as docker entrypoint run the metricbeat command to init? However, the error wasnt seen in docker running, weird!
Can anyone know if the metricbeat command running when container starting, please?