Skip to content

container probes fail when Cortex mutual TLS is enabled #4427

@danfromtitan

Description

@danfromtitan

Describe the bug
I followed the instructions here to enable mTLS in Cortex.
I deployed Cortex from the latest helm chart.

The outcome is pods are being terminated because the startup probe must present a client TLS when making a readiness probe request.

Fortunatelly the helm chart provides the ability to overwrite the container probes with a command instead of http-get.
Unfortunatelly the Cortex image is missing curl to implement a probe alternative such as:

curl -s --cert /srv/certs/cert.pem --key /srv/certs/key.pem --cacert /srv/certs/ca.crt --resolve server.common.name:8080:127.0.0.1 https://server.common.name:8080/ready

I suspect adding curl to the Cortex base image would help. Is there anything else I could use instead ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions