Closed katsew closed 4 months ago
Although it did not occur for us anymore, this is still an issue worth solving. (Commenting to prevent auto closing)
Rather than tackling this specifically, I'm thinking we actually wait on https://kubernetes.io/blog/2023/08/25/native-sidecar-containers/ and implement that once it's available on all supported clusters -- which I believe should solve all these edge cases.
PTAL at:
Let me know if you have any feedback.
'This issue is marked as Stale due to inactivity for more than 30 days. To avoid being marked as 'stale' please add 'awaiting-maintainer' label or add a comment. Thank you for your contributions '
This issue is marked as obsolete due to inactivity for last 60 days. To avoid issue getting closed in next 30 days, please add a comment or add 'awaiting-maintainer' label. Thank you for your contributions
What happened:
Agones didn't create a new Pod when a Pod failed due to reasons OutOfpods, and the GameServer stuck with state Scheduled.
What you expected to happen:
GameServer is expected to create a new Pod if a Pod fails due to reasons of OutOfpods.
How to reproduce it (as minimally and precisely as possible):
/etc/kubernetes/manifests/static-pod.manifest
of the testing node.kubectl delete pod --force --grace-period=0 <static-pod-name> -n kube-system
All gameserver pods stuck with state Pending become failed with reason
OutOfpods
.Anything else we need to know?:
Here is the Pod status that I reproduce.
I created the Fleet from official document.
Environment:
kubectl version
): Client Version: v1.21.0 Server Version: v1.21.12-gke.1500