-
Notifications
You must be signed in to change notification settings - Fork 826
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
agones-system gets stuck in "Terminating" #1778
Comments
I am able to reproduce this.
This might help in understanding better the situation and Kubernetes 1.16 (I did a test with 1.15 GKE cluster initially) would give more details in |
I installed agones with Terraform Helm module, latest master, GKE 1.16.13-gke.1 and received a different
|
Couple of questions:
|
Nope, was basically trashing the cluster so wasnt being very gentle 😟 |
Hmnn. Interesting. Usually when I've run into this, it's because of a Finaliser issue - but we only set a Finaliser on the GameServer - which is not in the agones-system namespace. 🤔 |
Well, this bug about deleting Agones controller in unusual way, which is not documented on agones.dev: by simply removing |
I think the finalizer in the agones-system namespace is doing the right thing. You need to uninstall agones before deleting the namespace, because there are CRDs installed with webhooks referencing the namespace where the agones controller is running. |
Oooooh! That would make sense actually. |
Yep, makes alot of sense. Worth adding something to docs or FAQ? Will see if I can find a way around it for my use case (terraform destroy). |
We don't have a section about Agones uninstall in |
^ That definitely seems like a good addition! |
Well, I will create a PR soon, simple changing
However
|
What happened:
When deleting the
agones-system
namespace it got stuck in theTerminating
state.What you expected to happen:
It manages to successfully terminate the namespace without manual intervention.
How to reproduce it (as minimally and precisely as possible):
Not 100% sure what if any special things happened in the cluster to make it get stuck in terminating but in general:
Anything else we need to know?:
Some commands I used to get it to delete:
Finally followed this guide to help remove the namespace https://www.ibm.com/support/knowledgecenter/en/SSBS6K_3.1.1/troubleshoot/ns_terminating.html
Environment:
1.7.0
kubectl version
):1.16.12-gke.3
gke
yaml
The text was updated successfully, but these errors were encountered: