|
|
# Getting started
|
|
|
## Local Utilities
|
|
|
### Minikube
|
|
|
Minikube is a tool for running Kubernetes locally, which can be useful as a sandbox, and for testing and learning Kubernetes.
|
|
|
|
|
|
Minikube requires a hypervisor (Virtual Machine Manager) to function. If you do not already have one, [VirtualBox](https://www.virtualbox.org/) is a popular option. On Ubuntu-based linux distributions, you can install VirtualBox with
|
|
|
```
|
|
|
sudo apt-get update
|
|
|
sudo apt-get install virtualbox-5.2
|
|
|
```
|
|
|
([more help and other platforms](https://www.virtualbox.org/wiki/Linux_Downloads))
|
|
|
and on any Linux distribution, you can install Minikube with
|
|
|
```
|
|
|
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.22.3/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
|
|
|
```
|
|
|
([more help and other platforms](https://github.com/kubernetes/minikube/releases))
|
|
|
|
|
|
### Kubectl
|
|
|
Kubectl is a command-line interface for managing Kuberenetes clusters.
|
|
|
Kubectl can be installed on Linux with the following commands:
|
|
|
```
|
|
|
curl -LO 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
|
|
|
```
|
|
|
See [here](https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-binary-via-curl) for more help and other options. |
|
|
\ No newline at end of file |