Skip to content

While deploying with ekscluster, you receive an error that it's unable to connect to the cluster, getting credentials expects v1alpha1 but gets v1beta1 #1232

@scouturier

Description

@scouturier

Deploying with ekscluster outputs the following error:
unable to use kubectl with the EKS cluster (check 'kubectl version'): Unable to connect to the server: getting credentials: exec plugin is configured to use API version client.authentication.k8s.io/v1alpha1, plugin returned version client.authentication.k8s.io/v1beta1

As a workaround, when the cluster is done deploying, running this command will fix this:
aws eks update-kubeconfig --name eksworkshop-eksctl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions