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

GKE Autopilot no endpoints available for service "agones-controller-service" #3122

Closed
VINNUSAURUS opened this issue Apr 24, 2023 · 4 comments
Labels
invalid Sorry. We got this one wrong. kind/bug These are bugs.

Comments

@VINNUSAURUS
Copy link

VINNUSAURUS commented Apr 24, 2023

What did you do:

kubectl create -f fleet-autoscaler.yaml

What happened:

Error from server (InternalError): error when creating "fleet-autoscaler.yaml": Internal error occurred: failed calling webhook "mutations.agones.dev": failed to call webhook: Post "https://agones-controller-service.agones-system.svc:443/mutate?timeout=10s": no endpoints available for service "agones-controller-service"

How to reproduce it:

install Agones on GKE , wait for install to complete then apply "kubectl create - fleet-autoscaler.yaml"

Anything else we need to know?:

the command "kubectl get apiservices" gives this
Screenshot from 2023-04-23 21-54-15
Environment:

  • Agones version: 1.31.0

  • Kubernetes version (use kubectl version): 1.24

  • Cloud provider or hardware configuration: GKE Autopilot

  • Install method (yaml/helm): YAML and HELM

@VINNUSAURUS VINNUSAURUS added the kind/bug These are bugs. label Apr 24, 2023
@aimuz
Copy link
Collaborator

aimuz commented Apr 24, 2023

It seems to be an installation exception, some components are not installed successfully

kubectl get all -n agones-system

@VINNUSAURUS
Copy link
Author

It seems to be an installation exception, some components are not installed successfully

kubectl get all -n agones-system

Everything is installed, i have checked, may be it is autopilot problem in creating resources ?

@aimuz
Copy link
Collaborator

aimuz commented Apr 24, 2023

You can execute this again and see

kubectl get ep -n agones-system

If the ENDPOINTS of agones-controller-service is present, then you can execute the creation again to see

kubectl create -f fleet-autoscaler.yaml

@VINNUSAURUS
Copy link
Author

VINNUSAURUS commented Apr 24, 2023

i got this for kubectl get ep -n agones-system

controller-service

and this is status in the allocator pod

status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Sorry. We got this one wrong. kind/bug These are bugs.
Projects
None yet
Development

No branches or pull requests

3 participants