Code Monkey home page Code Monkey logo

Comments (13)

abelnieva avatar abelnieva commented on July 17, 2024 2

workaround:
update kubeconfig the following
apiVersion: client.authentication.k8s.io/v1beta1

from kubectl-aws-eks.

un1xman avatar un1xman commented on July 17, 2024 1

@Medd1er yep i think it is about new release

from kubectl-aws-eks.

Medd1er avatar Medd1er commented on July 17, 2024

Greetings! The same issue for me, pipelines stopped working. Can't update deployments/list pods/etc

from kubectl-aws-eks.

abelnieva avatar abelnieva commented on July 17, 2024

same error with 1.0.7 version

from kubectl-aws-eks.

Medd1er avatar Medd1er commented on July 17, 2024

Worked like a charm! thanks for a tip @abelnieva

from kubectl-aws-eks.

kodermax avatar kodermax commented on July 17, 2024

I have updated kubeconfig too.

from kubectl-aws-eks.

un1xman avatar un1xman commented on July 17, 2024

After changes i get "no kind "Config" is registered for version "client.authentication.k8s.io/v1beta1" in scheme "k8s.io/client-go/tools/clientcmd/api/latest/latest.go:50" this error

from kubectl-aws-eks.

Medd1er avatar Medd1er commented on July 17, 2024

@un1xman if you changed your config in the way @abelnieva mentioned above - just change back to alpha:
apiVersion: client.authentication.k8s.io/v1alpha1.

from kubectl-aws-eks.

un1xman avatar un1xman commented on July 17, 2024

@Medd1er same mate (( actually by default on my config apiVersion: v1. I changed @abelnieva and your suggestion configs but not working

from kubectl-aws-eks.

Medd1er avatar Medd1er commented on July 17, 2024

@un1xman do you change the top-level apiVersion?

apiVersion: v1 # <- Do not change it
clusters:
- cluster:
    certificate-authority-data: ...
    server: ...
  name: ...
contexts:
- context:
    cluster: ...
    user: ...
  name:...
current-context: ...
kind: Config
preferences: {}
users:
- name: ...
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1alpha1 # <- change this
      args:
      - --region
      - us-west-1
      - eks
      - get-token
      - --cluster-name
      - ...
      command: aws
      env:
      - name: AWS_PROFILE
        value: ... 

from kubectl-aws-eks.

un1xman avatar un1xman commented on July 17, 2024

@Medd1er it was already so ((

from kubectl-aws-eks.

Medd1er avatar Medd1er commented on July 17, 2024

@un1xman can you post your config if possible?

from kubectl-aws-eks.

abelnieva avatar abelnieva commented on July 17, 2024

I had to revert to client.authentication.k8s.io/v1alpha1 my config today, everything is working again .

from kubectl-aws-eks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.