Welcome to the DevOps troubleshooting challenge! This repository contains a Kubernetes application with several intentional issues that you need to identify and fix.
- k3d installed
- kubectl installed
- Docker (colima, Docker Desktop, or similar)
- Basic understanding of Kubernetes concepts
- Clone this repository:
git clone <repository-url>
cd <repo-name>- Make the init script executable and run it:
chmod +x init.sh
./init.shThis will create a k3d cluster with nginx ingress controller installed.
The deployment manifests contain multiple issues across different Kubernetes resources. Your goal is to:
-
Deploy the application:
kubectl apply -f manifests/
-
Identify and fix all issues to get the application fully functional
-
Verify success: The application should be accessible at
http://localhost:8080and display a success message
When all issues are resolved:
- All pods should be in
Runningstate withREADYstatus - Ingress should route traffic correctly
- Accessing
http://localhost:8080should display a congratulations page
To remove the cluster when done:
k3d cluster delete devops-interviewGood luck!