kops/docs/install.md

80 lines
1.7 KiB
Markdown

# Installing kops (Binaries)
## MacOS
From Homebrew:
```bash
brew update && brew install kops
```
From Github:
```bash
wget -O kops https://github.com/kubernetes/kops/releases/download/1.7.0/kops-darwin-amd64
chmod +x ./kops
sudo mv ./kops /usr/local/bin/
```
You can also [install from source](development/building.md).
## Linux
From Github:
```bash
wget -O kops https://github.com/kubernetes/kops/releases/download/1.7.0/kops-linux-amd64
chmod +x ./kops
sudo mv ./kops /usr/local/bin/
```
You can also [install from source](development/building.md).
# Installing Other Dependencies
## kubectl
`kubectl` is the CLI tool to manage and operate Kubernetes clusters. You can install it as follows.
### MacOS
From Homebrew:
```
brew install kubernetes-cli
```
From the [official kubernetes kubectl release](https://kubernetes.io/docs/tasks/tools/install-kubectl/):
```
wget -O kubectl https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/darwin/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
```
### Linux
From the [official kubernetes kubectl release](https://kubernetes.io/docs/tasks/tools/install-kubectl/):
```
wget -O kubectl https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
```
## Installing AWS CLI Tools
### MacOS
The officially supported way of installing the tool is with `pip`:
```bash
pip install awscli
```
You can also grab the tool with homebrew, although this is not officially supported by AWS.
```bash
brew update && brew install awscli
```