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/1af1b8bb-cc81-4722-a953-0c1bafaeb07b%40googlegroups.com.

Reply via email to