[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

help with redinessProbe check



I'm trying to use the following command as my liveness check:

/usr/bin/curl --insecure https://127.0.0.1:8443/check_alive 2>/dev/null | grep Anonymous || exit 1

I tried:

readinessProbe:
            exec:
              command:
                - '/usr/bin/curl'
                - '--insecure'
                - 'https://127.0.0.1:8443/check_alive'
                - '2>/dev/null'
                - '|'
                - 'grep'
                - 'Anonymous'
                - '||'
                - 'exit'
                - '1'

and 

readinessProbe:
            exec:
              command:
                - '/usr/bin/curl --insecure https://127.0.0.1:8443/check_alive 2>/dev/null | grep Anonymous || exit 1'

but openshift doesn't seem to like that either.  Thoughts?  Any help is greatly appreciated.

Thanks
Marc

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]