Challenge: Troubleshooting Kubernetes
Challenge yourself by troubleshooting some issues in Kubernetes.
We'll cover the following...
Problem 1: Resolving resource error issues
We deployed the application below and it’s not running yet. When we check its status, it shows that the pod is in a pending state. Troubleshoot the issue and figure out a way to resolve it.
Press + to interact
apiVersion: v1kind: Podmetadata:name: appspec:containers:- name: containerimage: busyboxcommand: ["/bin/sh", "-c", "while true; do echo 'Running...'; sleep 10; done"]resources:requests:cpu: "6"memory: "10Gi"
Use the following run commands while ...