You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
ssl, expiry, metrics
Is this a BUG REPORT or FEATURE REQUEST? (choose one): Bug
NGINX Ingress controller version:
0.24.0
Kubernetes version (use kubectl version):
1.12.6-gke.7
Environment:
Cloud provider or hardware configuration: GKE
OS (e.g. from /etc/os-release): COS
What happened:
A previously decommissioned application was redeployed, including an Ingress resource.
The secret that held the certificate was never removed but was now expired
Nginx configured the Ingress, and set the ssl_expiry metric accordingly (Which triggered Prometheus alert as it was expired)
The certificate was renewed shortly after that (by cert-manager), and Nginx reloaded with the new cert
SSL expiry metric was not updated until ~12 hours later (Which looks to be due to an update on the corresponding Ingress resource, looking at Kubernetes events)
What you expected to happen:
When Nginx detects a change in the certificate & reloads, the ssl_expiry time metric should also be updated.
How to reproduce it (as minimally and precisely as possible):
Create a secret with an expired certificate
Create an Ingress using that secret
SSL Expiry metric should be created with the expire time being in the past
Update the secret to now be a non-expired certificate
Metric is not updated accordingly
Anything else we need to know:
The text was updated successfully, but these errors were encountered:
Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.):
What keywords did you search in NGINX Ingress controller issues before filing this one? (If you have found any duplicates, you should instead reply there.):
ssl
,expiry
,metrics
Is this a BUG REPORT or FEATURE REQUEST? (choose one): Bug
NGINX Ingress controller version:
0.24.0
Kubernetes version (use
kubectl version
):1.12.6-gke.7
Environment:
What happened:
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
The text was updated successfully, but these errors were encountered: