I need to know id node is spot or not. I found I can collect this data from node labels but case inside node details there is no GKE key label:
cloud.google.com/gke-spot: "true" / "false".
whats its mean? its mean default is not spot? I cant find any support documentation related this. for example on EKS of AWS mentioned: "By default, if you don't specify a Capacity Type, the managed node group is provisioned with On-Demand Instances."
GKE does not use Spot by default. If the
cloud.google.com/gke-spotlabel does not exist on the node, it is not spot.If you are running GKE 1.25.5-gke.2500 or later, checking
cloud.google.com/gke-provisioning=spotwould be the preferred approach as well.