

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 4
click for more info
Not enough gems
Cost: 6 gems
1: Leaving the Browser
incomplete
2: Docker
incomplete
3: Kubectl
incomplete
4: Minikube
incomplete
5: Metrics
incomplete
6: Apply Everything
incomplete
7: Port Forwarding
incomplete
8: Minikube vs. Prod
incomplete
This lesson's interactive features are locked, please to keep using them
Your new cluster is empty! But here's the payoff of the SynergyChat team keeping all our configs stored in Git: rebuilding SynergyChat on a brand new cluster only takes a couple of commands!
The Boot.dev CLI checks your work by asking your cluster's API server about its resources. Your API server only accepts authenticated requests (kubectl uses the credentials in your kubeconfig), so you'll use kubectl proxy to handle that for you. It starts a proxy server on 127.0.0.1:8001 that forwards plain HTTP requests to the API server with your credentials attached, and keeps running until you stop it with Ctrl+C, so run it in its own terminal.
Whenever a lesson has CLI tests that check your cluster, kubectl proxy needs to be running!
git clone https://github.com/bootdotdev/synergychat.git
cd synergychat/k8sWork from this directory for the rest of the course. If you want to track your changes (you should; Kubernetes config is code), push it to a repo of your own.
kubectl create namespace crawler
kubectl apply -f .Run and submit the CLI tests.