Skip to content

Installation error on Google Cloud GKE Autopilot #2249

@Splizard

Description

@Splizard

What happened:
I followed the guide on https://cloud.google.com/game-servers/docs/quickstart however instead of the suggested cluster configuration, I decided to create a Google Cloud Autopilot cluster, when I tried to install Agones I recieved this error from:
kubectl apply -f https://raw.githubusercontent.com/googleforgames/agones/release-1.16.0/install/yaml/install.yaml

Error from server (Forbidden): error when retrieving current configuration of:
Resource: "admissionregistration.k8s.io/v1, Resource=mutatingwebhookconfigurations", GroupVersionKind: "admissionregistration.k8s.io/v1, Kind=MutatingWebhookConfiguration"
Name: "agones-mutation-webhook", Namespace: ""
from server for: "https://raw.githubusercontent.com/googleforgames/agones/release-1.16.0/install/yaml/install.yaml": mutatingwebhookconfigurations.admissionregistration.k8s.io "agones-mutation-webhook" is forbidden: User cannot get resource "mutatingwebhookconfigurations" in API group "admissionregistration.k8s.io" at the cluster scope: GKEAutopilot authz: cluster scoped resource "mutatingwebhookconfigurations/" is managed and access is denied

Environment:

  • Agones version: 1.16
  • Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.1", GitCommit:"632ed300f2c34f6d6d15ca4cef3d3c7073412212", GitTreeState:"clean", BuildDate:"2021-08-19T15:45:37Z", GoVersion:"go1.16.7", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.8-gke.900", GitCommit:"28ab8501be88ea42e897ca8514d7cd0b436253d9", GitTreeState:"clean", BuildDate:"2021-06-30T09:23:36Z", GoVersion:"go1.15.13b5", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.22) and server (1.20) exceeds the supported minor version skew of +/-1
  • Cloud provider or hardware configuration: Google Cloud GKE Autopilot
  • Install method (yaml/helm): yaml

Questions:

  • Is Agones meant to be support Google Cloud GKE Autopilot?
  • Could this be caused by my kubectl version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugThese are bugs.wontfixSorry, but we're not going to do that.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions