- Expose a workload
- Expose and secure a workload
- Security
- Cannot connect to a service exposed by an APIRule
- External DNS management
Local Kyma deployment fails with pending Pods
Symptom
Local Kyma deployment with k3d fails with one or more Pods in state Pending
.
Describing the Pod reveals such an error message:
Click to copy
0/2 nodes are available: 2 node(s) had taint {node.kubernetes.io/disk-pressure: }, that the pod didn't tolerate.
Cause
The underlying Docker environment ran out of resources (memory/CPU/disk).
Thus, k3d marked all Kubernetes nodes with a taint disk-pressure
.
Remedy
Verify the cause:
- Find out which Pods are pending:Click to copykubectl --all-namespaces get pods
- For the pending Pods, verify which error message you get:Click to copykubectl -n {POD_NAMESPACE} describe pod {POD_NAME}
Fix the issue:
- In the preferences of your Docker Desktop, adjust the Docker resource assignment.
- Check whether there are sufficient resources (memory/CPU/disk) on the device.
- Adjust the resources as needed. If you're not sure, try 8 GB for the evaluation profile.