Lesson 02
Setting up for k8s development
~3 min read
Before we can start developing with Kubernetes (k8s), you need to set up your development environment. Here are some useful tools you are going to need:
Install Docker
Docker will allow you to build and run containers. You can download Docker Desktop from the Docker website and follow the instructions to install it on your machine. Note that Docker Desktop requires a paid subscription for larger organizations. Alternatives such as Colima, Rancher Desktop, or Podman Desktop also work.
Install kubectl
Kubectl is the command-line tool for interacting with Kubernetes. You can install it using a package manager or by downloading the binary from the Kubernetes website.
Verify with kubectl version --client.
Install Helm
Helm is a package manager for Kubernetes that allows you to define, install, and manage applications on Kubernetes clusters. It provides a templating system for defining application components and their dependencies. This makes it easier to deploy complex applications and manage their configurations.
Verify with helm version.