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
I clone mysql_exporter locally and build image from Dockerfile (all based on tag v0.11.0). After everything is done, I deploy mysqld-exporter in Kubernetes cluster with new image.
What did you expect to see?
I expect to see a running pod
What did you see instead?
But the pod fail to start. And the Event is saying "/bin/mysqld_exporter": permission denied
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 13m default-scheduler Successfully assigned mysql-ns/mysql-exporter-prometheus-mysql-exporter-7f89c9d4-42mtq to ks-allinone
Normal Created 12m (x4 over 13m) kubelet, ks-allinone Created container
Warning Failed 12m (x4 over 13m) kubelet, ks-allinone Error: failed to start container "prometheus-mysql-exporter": Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"/bin/mysqld_exporter\": permission denied": unknown
Normal Pulling 11m (x5 over 13m) kubelet, ks-allinone pulling image "dockerhub.qingcloud.com/loganhuang/mysql-exporter:latest"
Normal Pulled 11m (x5 over 13m) kubelet, ks-allinone Successfully pulled image "myrepo/mysql-exporter:latest"
Warning BackOff 3m8s (x48 over 13m) kubelet, ks-allinone Back-off restarting failed container
The text was updated successfully, but these errors were encountered:
Host operating system: output of
uname -a
Linux ks-allinone 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
mysqld_exporter version: output of
mysqld_exporter --version
v0.11.0
MySQL server version
5.7.14
mysqld_exporter command line flags
What did you do that produced an error?
I clone mysql_exporter locally and build image from Dockerfile (all based on tag v0.11.0). After everything is done, I deploy mysqld-exporter in Kubernetes cluster with new image.
What did you expect to see?
I expect to see a running pod
What did you see instead?
But the pod fail to start. And the Event is saying "/bin/mysqld_exporter": permission denied
The text was updated successfully, but these errors were encountered: