>_ IzzyLab

Hands-on task

This task is step 9 of the course “Platform intro”

Kubernetes: your own cluster

easy~12 min

This sandbox has its own Kubernetes cluster. It takes longer to start than a regular sandbox: wait for the terminal to appear. kubectl is already configured for the cluster.

Look at the cluster's nodes (kubectl get nodes), then create a namespace hello and deploy a Deployment web in it from the nginx:1.27-alpine image. Wait until the pod is ready.

What you'll practise:
  • kubectl
  • namespace
  • deployment

Topic breakdown

Kubernetes runs applications in containers and makes sure they keep working. A Deployment describes which image to run and how many copies to keep running, and a namespace splits the cluster into independent parts.

What's checked

  1. Namespace hello is created
  2. Deployment web from nginx:1.27-alpine
  3. The web pod is ready

What it looks like