We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Apply Everything

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!

Kubectl Proxy

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!

Assignment

  1. git clone https://github.com/bootdotdev/synergychat.git
    cd synergychat/k8s

    Work 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.

  2. kubectl create namespace crawler
    kubectl apply -f .

Run and submit the CLI tests.