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

Sometimes kcm deletes and re-creates all certificate Secrets #96

Open
whereisaaron opened this issue Dec 23, 2017 · 0 comments
Open

Sometimes kcm deletes and re-creates all certificate Secrets #96

whereisaaron opened this issue Dec 23, 2017 · 0 comments

Comments

@whereisaaron
Copy link
Contributor

whereisaaron commented Dec 23, 2017

Every now and them 'kcm' goes a little crazy. It decides that all Secrets are currently unused and deletes them all! Then on the next cycle it realizes that are still in use, and issues/downloads all the certificates again.

I am not sure what the trigger is. I wondered if it get an error from the proxy/API and treating is as an empty list of Ingresses using the certificates.

It is quite disruptive, as it takes down all services for several minutes. (Since they have no certificate for a time.)

...
2017/12/23 07:02:48 Deleting unused secret foo.example.com in namespace default
2017/12/23 07:02:48 Deleting unused secret bar.example.com in namespace default
2017/12/23 07:02:48 Deleting unused secret baz.example.com in namespace default
...
2017/12/23 07:05:49 Creating ACME client for route53 provider for foo.example.com
2017/12/23 07:05:49 Creating ACME client for route53 provider for bar.example.com
2017/12/23 07:05:49 Creating ACME client for route53 provider for baz.example.com
...
2017/12/23 07:05:50 [INFO][foo.example.com] acme: Obtaining bundled SAN certificate
2017/12/23 07:05:50 [INFO][bar.example.com] acme: Obtaining bundled SAN certificate
2017/12/23 07:05:50 [INFO][baz.example.com] acme: Obtaining bundled SAN certificate
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant