serverless / serverless-kubeless

This plugin enables support for Kubeless within the Serverless Framework.
Apache License 2.0
303 stars 81 forks source link

unable to authenticate against the cluster #89

Closed skunkwerk closed 6 years ago

skunkwerk commented 6 years ago

I was able to deploy to my Google Container Engine cluster the first time.

After I made a change and tried to re-deploy, I get this error:

Serverless: Excluding development dependencies... Unable to find required information for authenticating against the cluster

I tried to re-run: gcloud container clusters get-credentials production --zone us-west1-a --project pname

but didn't help

thanks

skunkwerk commented 6 years ago

The solution was to just re-run a kubectl command, which seems to refresh the tokens, like:

$ kubectl get pods -n kubeless