Back to challenges
EasyKubernetes30mby 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
// 1Start

Launch a session and download an isolated kubeconfig.

// 2Solve

Use kubectl to deploy and configure cluster resources.

// 3Submit

Click submit to run the test suite and get scored.

terminal
# Start a session, then download your kubeconfig
$ export KUBECONFIG=./kubeconfig.yaml
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
$ kubectl apply -f solution.yaml
# deploy your solution, then click submit on the website
Top solvers
1 entry
#SolverScoreTime
ifdotpy1004m 44s
Sign up to solve
Task stats
Attempts6
Avg score83
Best score100
Time limit30m