Hey, Gurus! Welcome to the *Setting Up Your Environment for Developing Kubernetes Operators* hands-on lab. In this lab, we will install all the tools needed to start developing a Kubernetes operator in Go.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Install Docker and Log In to Docker Hub
In the command line:
- Install Docker.
- Create a group called
docker
and add your user to it. - Enable the
docker
service. - Start the
docker
service. - Log in to Docker Hub from the command line.
- Install Go
Install the Go programming language.
- Install kubectl
In the command line:
- Install
kubectl
. - Make the binary file executable.
- Move the binary file to a directory in your path.
- Install
- Install kind and Create the Cluster
In the command line:
- Install
kind
. - Make the binary file executable.
- Move the binary file to a directory in your path.
- Create the cluster
operator-dev
. - Change the context so you can use the cluster you created.
- Install
- Install Operator SDK and Enable OLM
In the command line:
- Install the Operator SDK.
- Make the binary file executable.
- Move the binary file to a directory in your path.
- Enable the Operator Lifecycle Manager.