You are tasked with deploying a frontend-backend application stack in Kubernetes. The stack is buggy and has several misconfigurations that need to be identified and resolved.
- Container port:
8000 - Supported routes:
/pods,/services,/events,/health,/ready - Requires auth:
true
- Container port:
3000 - Supported routes:
/health,/
name:
buggy-app-challenge
value:Z2hwX1RqN3BGbXVidXVrMUpCME1Eb20xc1VaZmRUV2theTE3dmlzbQo=(base64 encoded)
Make sure you fulfill the following requirements:
ⓘ Use appropriately buggy-app-backend and buggy-app-frontend names for Kubernetes resources. For namespace use buggy-app-challenge.
Backend
- Use
buggy-app-challengenamespace - Configure a readiness probe for path
/health - Configure a liveness probe for path
/ready - Set requests and limits on the container resources
- Configure autoscaling at 70% of CPU utilization
Frontend
- Use
buggy-app-challengenamespace - Configure a readiness probe for path
/health - Configure a liveness probe on the TCP socket
- Set requests and limits on the container resources
- The frontend application must be accessible via ingress under
http://buggy-app.challenge:30088
IMPORTANT: All resources must be defined in YAML manifests, to allow anyone to successfully set up and run the stack via kubectl apply -f ...
Before submit this challenge, run the validation scrip located in releases to make sure all requirements are met:
$ ./validate-challenge-0.1.0-linux-amd64 --kubeconfig /path/to/your/kubeconfigDistributed under the MIT License. See LICENSE for more information.
Hayk Davtyan | @hayk96