-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with sidecar probes #14795
Comments
ghost
added
the
area/kubernetes
label
Feb 3, 2021
/cc @geoand |
cc @iocanel |
@iocanel if you don't have time, perhaps I can take a look? |
Actually this is less urgent now, so I'll switch to a more urgent issue |
Ping @iocanel . |
I must have done something weird with my notifications settings and I keep on missing mentions. Feel free to directly assign. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
There are several problems with attempting to configure sidecar probes through the application.properties. First any probe properties such as http-action-path, seem to be ignored. Second the probe port is set to the value of quarkus.http.port - which is not correct for the sidecar container.
Expected behavior
Using the properties:
quarkus.kubernetes.sidecars.x.liveness-probe.http-action-path=/q/health/ready
quarkus.kubernetes.sidecars.x.ports.http.container-port=9090
It is expected that the generated target/kubernetes/kubernetes.yml sidecar container would contain:
Actual behavior
Instead the generated kubernetes.yml contains an empty path and the quarkus.http.port for the port:
Environment:
Quarkus version 1.11.0.Final
Maven info:
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Java version: 11.0.9.1, vendor: Red Hat, Inc., runtime: /usr/lib/jvm/java-11-openjdk-11.0.9.11-9.fc32.x86_64
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "5.10.7-100.fc32.x86_64", arch: "amd64", family: "unix"
See also an earlier issue: #10308
The text was updated successfully, but these errors were encountered: