- Lab
- A Cloud Guru
Setting Up Your Environment for Developing Kubernetes Operators
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.
Path Info
Table of Contents
-
Challenge
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.
-
Challenge
Install Go
Install the Go programming language.
-
Challenge
Install kubectl
In the command line:
- Install
kubectl
. - Make the binary file executable.
- Move the binary file to a directory in your path.
- Install
-
Challenge
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
-
Challenge
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.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.