

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: Welcome to 'Learn Kubernetes'
incomplete
2: What Is Kubernetes?
incomplete
3: Kubectl
incomplete
4: Minikube
incomplete
5: Deploying Synergychat
incomplete
6: Minikube vs. Prod
incomplete
This lesson's interactive features are locked, please to keep using them
During this course, we'll be using Minikube to practice with Kubernetes. In production, you probably wouldn't use Minikube, you would use a cluster of servers, probably in the cloud. That's expensive! Minikube is a fantastic tool that allows you to run a single-node Kubernetes cluster on your local machine.
Follow the official installation instructions for Minikube. Select the correct instructions for your system, choose either Linux/WSL or macOS. Notice at the top the "what you'll need" section. If you don't have the system requirements, you'll have a hard time getting everything up and running, unfortunately.
Be sure to select the Linux installation and run these instructions inside WSL.
Run minikube version to verify that Minikube is installed correctly.
We'll be using Kubernetes with Docker, which is arguably the most common way to use Kubernetes. Make sure your Docker daemon is running before starting Minikube. If you haven't yet taken our Docker course, you should do that first.
Next, run:
minikube start --extra-config="apiserver.cors-allowed-origins=['http://boot.dev']"
This will take a few minutes to complete the first time. The extra configuration is just so we can hit your cluster from Boot.dev. You should see a message like "kubectl is now configured to use "minikube" cluster and "default" namespace by default".
Submit the CLI tests. There's no penalty on failure for this lesson.
Keep minikube running throughout the rest of the course.
You can have problems if virtualization is not enabled.
Docker desktop Settings -> Resources -> WSL integration (Check the box to enable integration with default WSL distro)
If you've installed minikube in the past, you might have conflicts. If you don't care about your old minikube clusters, you can delete them by running:
minikube stop
minikube delete
Then restart minikube.