# Setting up Kubernetes CLI

**URL:** <https://forums.suse.com/t/setting-up-kubernetes-cli/6943>\
**Category:** RancherOS\
**Created:** [July 26, 2017, 1:17am UTC](https://forums.suse.com/t/setting-up-kubernetes-cli/6943 "2017-07-26T01:17:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LonnieTC](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@LonnieTC](https://forums.suse.com/u/LonnieTC)\
**Post date:** [July 26, 2017, 1:17am UTC](https://forums.suse.com/t/setting-up-kubernetes-cli/6943/1 "2017-07-26T01:17:04Z")

</div>

Greetings All,

I am exploring RancherOS and like to do many things from the CLI.

With that in mind and I wondering if there are some instructions on installing the Kubernetes environment that I might be able to follow along with to see if I can get it to work?

Thanks  
Lonnie

---

<div class="post-metadata">

**Author:** ![joshwget](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/joshwget/32/704_2.png) [@joshwget](https://forums.suse.com/u/joshwget)\
**Post date:** [July 26, 2017, 1:27am UTC](https://forums.suse.com/t/setting-up-kubernetes-cli/6943/2 "2017-07-26T01:27:52Z")

</div>

Are you looking to just put `kubectl` (Kubernetes CLI) on a RancherOS host? Or are you looking to deploy all of Kubernetes?

---

<div class="post-metadata">

**Author:** ![LonnieTC](https://avatars.discourse-cdn.com/v4/letter/l/e68b1a/32.png) [@LonnieTC](https://forums.suse.com/u/LonnieTC)\
**Post date:** [July 26, 2017, 9:06am UTC](https://forums.suse.com/t/setting-up-kubernetes-cli/6943/3 "2017-07-26T09:06:57Z")

</div>

Greetings,

Actually, both. I had played around with CoreOS with Kubernetes, on a very small scale, and it seems to allow you to install kubectl as well as setting up some worker nodes to run pods.

I like a number of things about RancherOS and did remember seeing in the Rancher Server that you could set up a kubernetes environment from there. I was basically wondering how the same thing could be achieved from CLI.

Part of my exploration and evaluation is to see if everything that is achievable from the Rancher Server can also be done on the CLI and I suspect that if should be doable since from what I understand, the Rancher Server mostly calls the RancherOS API for its functionality.

I’m just not sure how to do some of this from the CLI and the documentation does not really go into it heavily, but I could be wrong here.

Thanks,

---

<div class="post-metadata">

**Author:** ![joshwget](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/joshwget/32/704_2.png) [@joshwget](https://forums.suse.com/u/joshwget)\
**Post date:** [July 26, 2017, 4:20pm UTC](https://forums.suse.com/t/setting-up-kubernetes-cli/6943/4 "2017-07-26T16:20:39Z")

</div>

Rancher and RancherOS are actually separate products and neither has any dependency on the other. If you’re looking to deploy Kubernetes I recommend using Rancher.

`kubectl` is just a Go binary so that can be downloaded into the console or build into a standalone Docker image.
