Hi, I upgraded my cluster to 1.26.2-gke.1000 , after that, all automated deploy failed in the last step with the following error.
"error when creating "STDIN": Application in version "v1beta1" cannot be handled as a Application: strict decoding error: unknown field "spec.selector.matchLabels.app.kubernetes.io/name""
I tried too many solutions without any luck, I deleted everything and re-deploy deployment, and create a new cloud build trigger but also same error !
Solved! Go to Solution.
Are you using the
--create-application-cr
flag? If you are ok not using the Application CRD, you may want to remove it for now.
Have a look at https://b.corp.google.com/issues/267213003 as well.
Are you using the
--create-application-cr
flag? If you are ok not using the Application CRD, you may want to remove it for now.
Have a look at https://b.corp.google.com/issues/267213003 as well.
Thanks for your help, Can I know why this happened? I lost three days of work because of that.
I'm not quite sure yet ... will try to investigate myself as well as push the folks who own gke-deploy to take a look as well. Sorry you had to waste so much time.