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

kube-apiserver failing to bump to new revision on SNI error #1944

Open
japhar81 opened this issue May 20, 2024 · 2 comments
Open

kube-apiserver failing to bump to new revision on SNI error #1944

japhar81 opened this issue May 20, 2024 · 2 comments

Comments

@japhar81
Copy link

Describe the bug
After updating API certificates, the kube-apiserver pod goes into CrashLoopBackoff. It's apparently failing on a CLI parameter for SNI certs:

E0520 14:26:56.563182 15 run.go:74] "command failed" err="invalid argument \"/etc/kubernetes/static-pod-certs/secrets/user-serving-cert-000/tls.crt,/etc/kubernetes/static-pod-certs/secrets/user-serving-cert-000/tls.key:\" for \"--tls-sni-cert-key\" flag: empty names list is not allowed"
I0520 14:26:56.568218 1 main.go:235] Termination finished with exit code 1
I0520 14:26:56.568346 1 main.go:188] Deleting termination lock file "/var/log/kube-apiserver/.terminating"

Version
4.15.0-0.okd-2024-02-23-163410

How reproducible
100% on my cluster, but I'm not sure how it got into this state

@japhar81
Copy link
Author

quick note: editing /etc/kubernetes/static-pod-resources/kube-apiserver-pod-477/configmaps/config/config.yaml (along with the other revisions of kube-apiserver-pod-*) and populating the empty name:"" value with my API endpoint resolves the issue, but then it reverts.. Its unclear where this should be set.

@tyronewilsonfh
Copy link

The most recent stable version of OKD 4.15 is 4.15.0-0.okd-2024-03-10-010116, are you able to test on this version?

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

2 participants