Skip to content

Commit dc5375d

Browse files
committed
add troubleshooting section to inplace scaling tutorial
1 parent 6e0c04e commit dc5375d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

content/en/docs/tasks/configure-pod-container/resize-container-resources.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,25 @@ Delete your namespace:
259259
kubectl delete namespace qos-example
260260
```
261261

262+
## Troubleshooting
263+
264+
{{% thirdparty-content %}}
265+
266+
If updating the pod spec returns an `invalid spec` error, ensure that the feature is enabled on all of the following components:
267+
268+
- API server
269+
- Controller manager
270+
- Scheduler
271+
- All kubelets (across all worker nodes, and all control plane nodes if your cluster has them)
272+
273+
274+
If the updated spec is accepted, but pods are stuck in the `InProgress` state or otherwise unable to run,
275+
ensure that your environment is configured to use a [container runtime](/docs/setup/production-environment/container-runtimes/)
276+
that supports in-place changes to container resources. For example:
277+
278+
- [containerd](https://containerd.io/) (version 1.6.9 or greater)
279+
- [cri-o](https://cri-o.io/) (any version)
280+
262281

263282
## {{% heading "whatsnext" %}}
264283

0 commit comments

Comments
 (0)