Repository navigation
KubeLearn is now a single program. Download one file, and it creates the lab cluster and serves the web interface. You only need Docker, kind and kubectl.
kubelearn up # create the kind cluster and apply the lab resources
kubelearn # start KubeLearn and open it in the browser
kubelearn down # delete the clusterInstall
Download the file for your system below, make it executable and put it in your PATH as kubelearn. For example, on an Apple Silicon Mac:
curl -L -o kubelearn https://github.com/miltlima/kubelearn/releases/latest/download/kubelearn_darwin_arm64
chmod +x kubelearn
sudo mv kubelearn /usr/local/bin/| System | File |
|---|---|
| macOS, Apple Silicon | kubelearn_darwin_arm64 |
| macOS, Intel | kubelearn_darwin_amd64 |
| Linux, x86-64 | kubelearn_linux_amd64 |
| Linux, ARM 64-bit | kubelearn_linux_arm64 |
| Linux, ARM 32-bit | kubelearn_linux_armv6 |
| Windows (run it from WSL) | kubelearn_windows_amd64.zip, kubelearn_windows_arm64.zip |
On macOS, if the system refuses to open the downloaded file, allow it with xattr -d com.apple.quarantine /usr/local/bin/kubelearn.
What is new
- One binary. The web interface and the lab resources are compiled into the program. Go, Node.js, make and Terraform are no longer needed to use KubeLearn.
kubelearn upandkubelearn downcreate and delete the lab cluster with kind directly.upis safe to run again: it reuses an existing cluster and reapplies the lab.- Context warning. KubeLearn checks your answers, and runs terminal commands, against the current kubectl context. It now warns at startup when that is not the lab cluster.
- Difficulty filter and question cards on the start screen, next to the track filter.
- Three languages. The interface and the questions in English, Portuguese and Spanish.
- Faster checks. Evaluating all 54 questions takes about 0.1 seconds instead of 4.
Changes to be aware of
- Terraform is gone. If you used
make infra-up, it now calls kind throughkubelearn up; an existingkubelearnkind cluster is reused. - Release files no longer carry the version in their names, so the download link above stays the same in future releases.
/setupprovisions the lab directly; theKUBELEARN_ROOTvariable is removed.
Limitations
- The built-in terminal runs commands through
sh. On Windows, run KubeLearn from WSL. - Installing the Gateway API (questions 51 to 54) needs internet access. Without it the rest of the lab works; run
kubelearn upagain when you are online. - The feedback explaining why a question is not solved is in English in every language.
Full changelog: v2.0.0...v2.1.0
