Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Can not get kubernetes client: exec plugin: Invalid apiVersion "client.authentication.k8s.io/v1beta1" #1221

Open
mazzespazze opened this issue Feb 16, 2021 · 0 comments

Comments

@mazzespazze
Copy link

Is this a BUG REPORT or FEATURE REQUEST?:
It is a Bug.

What happened:
I'm running Kubernetes on DigitalOcean. I installed Kubeless according to https://kubeless.io/docs/quick-start/ and then (as in the example) I created a file test.py with a simple hello-world. When executing it with kubeless function deploy hello --runtime python3.7 --from-file test.py --handler test.hello I get a:

FATA[0000] Can not get kubernetes client: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1beta1"

What you expected to happen:

I would have expected
How to reproduce it (as minimally and precisely as possible):
I would have expected the following ouput:

INFO[0000] Deploying function...
INFO[0000] Function hello submitted for deployment
INFO[0000] Check the deployment status executing 'kubeless function ls hello'

Anything else we need to know?:
There is already this issue I followed, and from my understanding it is quite the same. But perhaps, since that happened 3 years ago, the new versions of Kubeless and Kubernetes might change the issue.

Environment:

  • Kubernetes version (use kubectl version): Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.2", GitCommit:"faecb196815e248d3ecfb03c680a4507229c2a56", GitTreeState:"clean", BuildDate:"2021-01-14T18:56:46Z", GoVersion:"go1.15.6", Compiler:"gc", Platform:"linux/amd64"}
    Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.2", GitCommit:"faecb196815e248d3ecfb03c680a4507229c2a56", GitTreeState:"clean", BuildDate:"2021-01-13T13:20:00Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}

  • Kubeless version (use kubeless version): Kubeless version: v1.0.8

  • Cloud provider or physical cluster: DigitalOcean

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant