Please make sure the following have been completed. These steps include the following setups:
- Docker Desktop
- Homebrew
- go
- (optional) Kubernetes Dashboard
Docker Desktop includes Kubernetes. Use the appropriate link to download and install (links include installation instructions).
-
macOS
https://hub.docker.com/eitions/community/docker-ce-desktop-mac
-
windows
Note for Windows you will need to use the Windows Subsystem for Linux to run commands in the guides. If necessary please install WSL here: https://docs.microsoft.com/en-us/windows/wsl/install-win10
https://hub.docker.com/editions/community/docker-ce-desktop-windows
Once Docker Desktop is installed, you need to explicitly enable Kubernetes support. Click the Docker icon in the status bar, go to “Preferences”, and on the “Kubernetes” tab check “Enable Kubernetes”
This will start kubernetes and install kubectl
. This might take a while, but the dialog will let you know once the Kubernetes cluster is ready.
Homebrew is a package manager
- macOS, Linus, or WSL
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install go
Create your go workspace
mkdir $HOME/go
Update PATH in your profile to include GOBIN
export PATH=$PATH:$(go env GOPATH)/bin
See "How to Write Go Code" for more information on go workspace and organization
Below are not required but helpful to do beforehand
You will likely want to setup a dashboard for Kubernetes but it is not required. Follow the steps in the link below to setup the dashboard