summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIan Lewis <ianlewis@google.com>2020-09-09 20:11:16 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-09 20:13:15 -0700
commit1ab097b08fc16d67b90f094a4316883c289ef77f (patch)
tree5b6f19cce3cc8bd27e49e3c7c89c87a0faa63be1
parent644ac7b6bcf547cb44da6f298c92de4b3806c426 (diff)
Add note about kubeadm to the FAQ
Fixes #3277 PiperOrigin-RevId: 330853338
-rw-r--r--g3doc/user_guide/FAQ.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/g3doc/user_guide/FAQ.md b/g3doc/user_guide/FAQ.md
index 89df65e99..8b5cff0ab 100644
--- a/g3doc/user_guide/FAQ.md
+++ b/g3doc/user_guide/FAQ.md
@@ -96,6 +96,30 @@ containerd.
See [issue #1765](https://gvisor.dev/issue/1765) for more details.
+### I'm getting an error like `RuntimeHandler "runsc" not supported` {#runtime-handler}
+
+This error indicates that the Kubernetes CRI runtime was not set up to handle
+`runsc` as a runtime handler. Please ensure that containerd configuration has
+been created properly and containerd has been restarted. See the
+[containerd quick start](containerd/quick_start.md) for more details.
+
+If you have ensured that containerd has been set up properly and you used
+kubeadm to create your cluster please check if Docker is also installed on that
+system. Kubeadm prefers using Docker if both Docker and containerd are
+installed.
+
+Please recreate your cluster and set the `--cni-socket` option on kubeadm
+commands. For example:
+
+```bash
+kubeadm init --cni-socket=/var/run/containerd/containerd.sock` ...
+```
+
+To fix an existing cluster edit the `/var/lib/kubelet/kubeadm-flags.env` file
+and set the `--container-runtime` flag to `remote` and set the
+`--container-runtime-endpoint` flag to point to the containerd socket. e.g.
+`/var/run/containerd/containerd.sock`.
+
### My container cannot resolve another container's name when using Docker user defined bridge {#docker-bridge}
This is normally indicated by errors like `bad address 'container-name'` when