Below is the ideal script when pod is working fine. If I try to include any flag here, i get crashloop pod
#!/bin/sh /bin/pushgateway --log.level=$LOGLEVEL On Thursday, April 30, 2020 at 5:26:00 PM UTC+5:30, Nidhi Sharma wrote: > > I commited below script now but still pod is in crashloop > > #!/bin/sh > exec /bin/pushgateway --web.enable-lifecycle --web.enable-admin-api > > On Thursday, April 30, 2020 at 3:04:05 PM UTC+5:30, Brian Candler wrote: >> >> On Thursday, 30 April 2020 09:23:24 UTC+1, Nidhi Sharma wrote: >>> >>> *Entrypoint.sh* >>> >>> #!/bin/sh >>> exec "/bin/pushgateway --log.level=warn --web.enable-lifecycle >>> --web.enable-admin-api" >>> >>> >> Remove the double quotes. >> >> What you've written is to try to run a command whose filename is exactly >> that one long string, including spaces. >> > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/9d557b7c-77e7-404b-ab13-9d03d8027ba7%40googlegroups.com.

