My application has a health check at the endpoint /service?cmd=watchdog
and when I try to configure a HTTP liveness probe in kubernetes, the above endpoint is getting encoded to utf-8 as it gets applied to the pods (when I do a describe on the pod), the health check is being applies as /service%3fcmd=watchdog
and that situation does not work for me.
in my deployment.yaml:
httpGet:
path: "/service/?cmd=watchdog"
port: 8080
Is there any way to avoid the encoding / work around this situation?