Getting started, can't create gameserver
What happened:
Using an M1 Mac, followed the getting started section up until Quickstart: Create a Game Server (while using Minikube)
What you expected to happen:
When executing
kubectl create -f https://raw.githubusercontent.com/googleforgames/agones/release-1.23.0/examples/simple-game-server/gameserver.yaml
the simple game server would be installed.
Instead the following error is produced:
Error from server (InternalError): error when creating "https://raw.githubusercontent.com/googleforgames/agones/release-1.22.0/examples/simple-game-server/gameserver.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": dial tcp 10.107.219.173:443: connect: connection refused
How to reproduce it (as minimally and precisely as possible): Follow the getting started guide while using homebrew to install Minikube, have docker for Mac installed and use M1 MacBook.
Anything else we need to know?:
Environment:
- Agones version: v1.22.9
- Kubernetes version (use
kubectl version): Kustomize Version: v4.5.4 - Cloud provider or hardware configuration: M1 Max MacBook Pro
- Install method (yaml/helm): tried both
- Troubleshooting guide log(s):
Error from server (InternalError): error when creating "https://raw.githubusercontent.com/googleforgames/agones/release-1.22.0/examples/simple-game-server/gameserver.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": dial tcp 10.107.219.173:443: connect: connection refused
Other: It seems that the Agones-controller fails:
agones-controller-8675bbfc97-tkrxf 0/1 CrashLoopBackOff
with the following logs
{"ctlConf":{"GRPCPort":-1,"HTTPPort":-1,"APIServerSustainedQPS":400,"APIServerBurstQPS":500,"TLSDisabled":false,"MTLSDisabled":false,"PrometheusMetrics":true,"Stackdriver":false,"GCPProjectID":"","StackdriverLabels":"","LogLevel":"info"},"featureGates":"CustomFasSyncInterval=false\u0026Example=true\u0026NodeExternalDNS=true\u0026PlayerAllocationFilter=false\u0026PlayerTracking=false\u0026SDKGracefulTermination=false\u0026StateAllocationFilter=false","message":"Starting agones-allocator","severity":"info","source":"main","time":"2022-05-23T00:07:55.349297303Z","version":"1.23.0"}
{"logLevel":"info","message":"Setting LogLevel configuration","severity":"info","source":"main","time":"2022-05-23T00:07:55.35041072Z"}
{"grpc-port":-1,"http-port":-1,"message":"Must specify a valid gRPC port or an HTTP port for the allocator service","severity":"fatal","source":"main","time":"2022-05-23T00:07:55.350429262Z"}
I wonder if this is duplicate of https://github.com/googleforgames/agones/issues/2578 ?
Are you able to double check? M1 will likely attempt to pull down the ARM images, which we have preliminary support for, but it's still alpha.
Just checking in, see if this has been resolved for you now?
Marking as stale as there's been no response. Will close in the neat future, unless you would like to keep it open?
I think this is fixed, so closing. Please start a new issue if you are still having problems.