Without seeing the code, my guess is that you did not instantiate your kubernetes provider with the kubeconfig from the GKE cluster. And/or didn’t pass the provider to the Deployment resource declaration.
So it doesn’t know how to talk to your cluster.