-
Mike Hanby authoredfe9fb1df
Get started with k8s!
This is a quick-n-dirty getting started guide to start using the k8s cluster. Just a summary of the steps and the commands to run.
Note: these steps assume a Linux environemnt (bash and curl commands available).
Clone this repo
Start by cloning this repo to your local machine and work in that dir.
Install kubectl
You need the kubectl command to control k8s. Install it according to your platform requirements.
Note from: You must use a kubectl version that is within one minor version difference of your cluster. For example, a v1.27 client can communicate with v1.26, v1.27, and v1.28 control planes. Using the latest compatible version of kubectl helps avoid unforeseen issues.
We are currently on version 1.24
-
On Ubuntu you can
sudo snap install kubectl
(How to install specific version of asnap
?) -
Install v1.24 kubectl on Mac w/ Apple Silicon. For Intel Macs, replace
arch="arm64"
witharch="amd64"
ver="1.24" arch="arm64" curl -LO "https://dl.k8s.io/release/v${ver}.0/bin/darwin/${arch}/kubectl" chmod +x kubectl curl -LO "https://dl.k8s.io/release/v${ver}.0/bin/darwin/${arch}/kubectl.sha256" echo "$(cat kubectl.sha256) kubectl" | shasum -a 256 --check