Update 09-bootstrapping-kubernetes-workers.md

The previous configuration exposes the following issue:
```
Jul 23 12:41:43 worker-2 kubelet[29002]: #011For verbose messaging see aws.Config.CredentialsChainVerboseErrors
Jul 23 12:41:43 worker-2 kubelet[29002]: E0723 12:41:43.068772   29002 remote_runtime.go:81] Version from runtime service failed: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService
Jul 23 12:41:43 worker-2 kubelet[29002]: E0723 12:41:43.068808   29002 kuberuntime_manager.go:197] Get runtime version failed: get remote runtime typed version failed: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService
Jul 23 12:41:43 worker-2 kubelet[29002]: F0723 12:41:43.068821   29002 server.go:274] failed to run Kubelet: failed to create kubelet: get remote runtime typed version failed: rpc error: code = Unimplemented desc = unknown service runtime.v1alpha2.RuntimeService
Jul 23 12:41:43 worker-2 systemd[1]: kubelet.service: Main process exited, code=exited, status=255/n/a
Jul 23 12:41:43 worker-2 systemd[1]: kubelet.service: Failed with result 'exit-code'.
```

otherwise using the default config and restarting containerd and the kubelet service seems to come back clean.

This is:
```
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.4 LTS
Release:	18.04
Codename:	bionic

kubelet --version
Kubernetes v1.18.6
```
pull/591/head
Gonzalo Fernandez ordas 2020-07-23 13:52:03 +01:00 committed by GitHub
parent ca96371e4d
commit 9b9da1a1a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 9 deletions

View File

@ -137,15 +137,7 @@ sudo mkdir -p /etc/containerd/
```
```
cat << EOF | sudo tee /etc/containerd/config.toml
[plugins]
[plugins.cri.containerd]
snapshotter = "overlayfs"
[plugins.cri.containerd.default_runtime]
runtime_type = "io.containerd.runtime.v1.linux"
runtime_engine = "/usr/local/bin/runc"
runtime_root = ""
EOF
containerd config default > sudo tee /etc/containerd/config.toml
```
Create the `containerd.service` systemd unit file: