Back to challenges
EasyKubernetes30 minby ifdotpy

Fix the Broken Deployment

Debug and fix a failing Kubernetes deployment

Overview

A nginx deployment has been created but the pods are stuck in an error state. Your job is to diagnose the issue and fix the deployment so all replicas are running.

Goals

  • All 3 replicas of the web deployment must be running and ready
  • The deployment must use a valid nginx image

How to solve

Start

Launch a session to get an isolated Kubernetes cluster with a kubeconfig

Solve

Use kubectl with your kubeconfig to deploy and configure resources

Submit

Click submit to run the test suite and get scored

terminal
# Start a session, then download your kubeconfig
$ export KUBECONFIG=
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
$ kubectl apply -f solution.yaml
# deploy your solution, then click submit on the website

Top solvers

#SolverScoreTime
ifdotpy100%4m 44s

Task stats

Attempts

6

Avg score

83%

Best score

100%

Time limit

30m