A small, but useful change in the IBM Cloud CLI for Kubernetes

This blog post is about a very small, but useful change in the IBM Cloud CLI for Kubernetes clusters.

You no longer need to export and set the KUBECONFIG environment variable to access your Kubernetes cluster on IBM Cloud in a terminal session. ( IBM Cloud documentation ).

You just can execute following IBM Cloud CLI command,

ibmcloud ks cluster config --cluster YOURCLUSTER

and verify the config settings.

kubectl config current-context

These images are showing the guides for your IBM Kubernetes cluster before and now.
Before Now
before now

That’s all.


I hope this was useful for you and let’s see what’s next?

Greetings,

Thomas

PS:  You can try out Cloud Foundry Apps or Kubernetes on IBM Cloud. By the way, you can use the IBM Cloud for free, if you simply create an IBM Lite account. Here you only need an e-mail address.

#IBMCloud, #Kubernetes

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.