RESOLVED. after changing the version of pushgateway in dockerfile

On Thursday, April 30, 2020 at 6:02:50 PM UTC+5:30, Nidhi Sharma wrote:
>
> 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/c74223fc-4b91-4d03-be53-b7d0444f4bf7%40googlegroups.com.

Reply via email to