Difficulty: Beginner
Estimated Time: 10 minutes

Fast and Secure upstream Kubernetes

Designed for developing Kubernetes Workloads locally

This scenario will help you deploy and use Microk8s on Ubuntu. Microk8s is a fast, lightweight, way to run a Kubernetes development. The project was built by the dedicated Kubernetes team at Canonical for the developer community.

Microk8s can be deployed on Ubuntu, Debian, Linux Mint, Gentoo, ArchLinux, Fedora, OpenSUSE and more...

Find out more at https://microk8s.io/ and https://github.com/juju-solutions/microk8s

Fast and Secure upstream Kubernetes

Designed for developing Kubernetes Workloads locally

Congratulations on the deploying Microk8s and Kubernetes workloads. Find out more at https://microk8s.io/ and https://github.com/juju-solutions/microk8s

Deploy Microk8s on Ubuntu

Step 1 of 4

Install Microk8s

Microk8s is deployed via Snaps. Snaps are containerised software packages that are simple to create and install. They auto-update and are safe to run. Moreover, because they bundle their dependencies, they work on all major Linux systems without modification.

The microk8s snap is frequently updated to match each release of Kubernetes. It can be installed using the command below:

snap install microk8s --classic --beta

To avoid colliding with a kubectl already installed and to avoid overwriting any existing Kubernetes configuration file, microk8s adds a microk8s.kubectl command.

To view the newly deployed node, run microk8s.kubectl get node

If you receive an error it means that microk8s is still starting in the background. Wait a couple of moments and try again.

As with kubectl, it's possible to use the existing commands, such as describing the details of the node.

microk8s.kubectl describe node host01

If you only are using microk8s, consider adding an alias using the following command:

snap alias microk8s.kubectl kubectl

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]