Skip to content

Expose a metric on the data plane to tell how long the mTLS identity cert is going to expire #14949

@jijiechen

Description

@jijiechen

Description

We've received a few cases on mTLS identity cert renewing this year and there is not an OOTB way to track the expiration of current effective identity cert in the data plane. To do so, people either need to aggregate & combine metrics at control plane side, or they need to programmatically retrieve the identify cert info from the data plane XDS admin API.

If an identity cert is not renewed in time as expected, the traffic from/to the data plane will fail immediately. So people want to discover this risk earlier. Sometimes, they can solve the issue manually by restarting the workload or control plane as a workaround.

To make this process easier, it's helpful to expose a metric to tell how long the mTLS identity cert is going to expire so that one can make an alert based on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureNew featuretriage/acceptedThe issue was reviewed and is complete enough to start working on it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions