Skip to content
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

KubeClientCertificateExpiration warning alert from 7 days to 2 days for AKS running on Azure stack HCI #750

Open
dadimah opened this issue Mar 16, 2022 · 2 comments
Labels

Comments

@dadimah
Copy link

dadimah commented Mar 16, 2022

Hi,

I would like to change the below alert from 7 days to 2 days since AKS running on Azure stack HCI nodes will rotate the Client certificate every 4 days. In that case below condition is invalid for AKS-HCI Kubernetes.

We're using the helm chart to deploy the Kube-Prometheus stack and all Prometheus rules are attached to POD via configmap of prometheus rules. is there any way we can override this alert condition locally? Please suggest.

Helm Chart Repo: https://prometheus-community.github.io/helm-charts'

Alert:

  • name: kubernetes-system-apiserver
    rules:

Alert firing in prometheus

image

@metalmatze
Copy link
Member

You can change those in the provided config when using the mixin via jsonnet:

certExpirationWarningSeconds: 7 * 24 * 3600,
certExpirationCriticalSeconds: 1 * 24 * 3600,

If this isn't possible via some Helm chart then you'd need to raise an issue with those maintainers 😉

Copy link

github-actions bot commented Oct 1, 2024

This issue has not had any activity in the past 30 days, so the
stale label has been added to it.

  • The stale label will be removed if there is new activity
  • The issue will be closed in 7 days if there is no new activity
  • Add the keepalive label to exempt this issue from the stale check action

Thank you for your contributions!

@github-actions github-actions bot added the stale label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants