Search code examples
google-cloud-platformgoogle-kubernetes-enginegoogle-cloud-armor

GKE Error: no matches for kind "BackendConfig" in version "cloud.google.com/v1"


I am trying to follow this documentation on configuring Cloud Armor and I'm getting this error when trying to apply it to create a BackendConfig. Why am I getting this error? Clearly they're saying there should be an api config type of BackendConfig.

no matches for kind “BackendConfig” in version “cloud.google.com/v1”


Solution

  • I would recommand to tring api version “cloud.google.com/v1beta1” instead “cloud.google.com/v1”. The issue with V1 BackendConfig is that it is supported only in GKE 1.16.8-gke.3, So, if you are not using GKE 1.16.8-gke.3 it might not work. Could you share what version of the GKE you are using?