Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated CLI Arguments Used in Documentation #2399

Closed
danchirillo opened this issue Apr 26, 2019 · 5 comments
Closed

Deprecated CLI Arguments Used in Documentation #2399

danchirillo opened this issue Apr 26, 2019 · 5 comments

Comments

@danchirillo
Copy link

The command line arguments at Setting up the API key to enable access to the infrastructure portfolio are no longer valid for the current release (as of today) of ibmcloud CLI (version 0.15.1+d1a593d-2019-04-11T08:00:31+00:00).

@Rachael-Graham
Copy link
Contributor

@danchirillo Which arguments?

@danchirillo
Copy link
Author

Hi @Rachael-Graham

I had an issue with the ks argument. Just a bit of history before I get into details. I don't know which version I was running prior to today, but at the command line today I was prompted to upgrade ibmcloud CLI:

image

I then ran into an aside with the ks argument. Here is the complaint. Note that ks is not in the list of valid commands:
image

In the same shell, I later ran curl -sL https://ibm.biz/idt-installer | bash per the instructions for setting up a Kubernetes cluster:
image

Now, in the same shell, ks is a valid argument:
image

Might it be the case that installing the ibmcloud command CLI does not by default add the Kubernetes support?

@Rachael-Graham
Copy link
Contributor

Yes, I think you have it right--When you install the ibmcloud CLI by itself, you have to then also manually install the ks plugin for it by running ibmcloud plugin install kubernetes-service. However, if you use that installer script, then the plugin is installed automatically.

BUT that being said, you're also correct in that updating your ibmcloud cli should definitely not uninstall your ks plugin. I'll investigate with the core ibmcloud CLI team.

@danchirillo
Copy link
Author

That explains it, then. I had not installed the Kubernetes plugin prior to the upgrade, which makes this an operator error issue ;)

@Rachael-Graham
Copy link
Contributor

Ohh okay makes sense! Closing this issue then. 🎉

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

No branches or pull requests

2 participants