Search code examples
kubernetesgoogle-cloud-platformgoogle-kubernetes-engine

How to use Burstable pods on Autopilot GKE?


I don't manage to create burstable (or besteffort) pods on my Autopilot GKE cluster.

When I follow the documentation to create a burstable pod, and copy paste the example, it creates a Guaranteed pod. However I have to remove the spec.nodeSelector and spec.tolerations settings of the example as they are optional, and don't seem to work.

My cluster is a few days old and runs K8S 1.28.5 with the default settings. I think I'm missing something.


Solution

  • Google updated their documentation and it now requires a more recent GKE version on the "rapid" channel.

    I updated my cluster and it now works.