Skip to content

kops export kubecfg server name #17691

@olu-alabi

Description

@olu-alabi

Hi,

I just upgraded my kops from version 1.25.4 to 1.25.16. I have noticed that when I run kops export kubecfg --admin, the server name in my kube config is now the long elb name. Is there a flag or a way to return it to the kops 1.25 server name?

kops 1.26
server: https://api-xxxxxxxxx-xxxxxxx-1234567890.eu-west-2.elb.amazonaws.com/

kubectl cluster-info
Kubernetes control plane is running at https://api-xxxxxxxxx-xxxxxxx-1234567890.eu-west-2.elb.amazonaws.com

Kops 1.25

server: https://api/.<cluster_name>

kubectl cluster-info
Kubernetes control plane is running at https://api/.<cluster_name>

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