diff --git a/docs/01-container-runtime.md b/docs/01-container-runtime.md index 6d09585..1514547 100644 --- a/docs/01-container-runtime.md +++ b/docs/01-container-runtime.md @@ -190,8 +190,7 @@ docker.io/library/busybox:latest application/vnd.docker.distribution.manifest.li Now, let's start our container ```bash -ctr run --detach --snapshotter native docker.io/library/busybox:latest busybox-container sh -c 'echo "Hello"' -ctr run --detach docker.io/library/busybox:latest busybox-container sh -c 'echo "Hello"' +ctr run --rm --snapshotter native docker.io/library/busybox:latest busybox-container sh -c 'echo "Hello"' ctr run --detach --runtime io.containerd.runc.v2 --snapshotter native docker.io/library/busybox:latest busybox-container sh -c 'sleep 3600' ctr run --detach docker.io/library/busybox:latest busybox-container sh -c 'echo "Hello from container runned by containerd!"' ``` diff --git a/docs/02-kubelet.md b/docs/02-kubelet.md index ded3c9a..493afb1 100644 --- a/docs/02-kubelet.md +++ b/docs/02-kubelet.md @@ -24,6 +24,11 @@ First of all, we need to download kubelet. ```bash wget -q --show-progress --https-only --timestamping \ https://storage.googleapis.com/kubernetes-release/release/v1.21.0/bin/linux/amd64/kubelet + +wget -q --show-progress --https-only --timestamping \ + https://dl.k8s.io/v1.32.3/kubernetes-node-linux-amd64.tar.gz + +tar -xvzf kubernetes-node-linux-amd64.tar.gz ``` After download process complete, move kubelet binaries to the proper folder @@ -34,9 +39,14 @@ After download process complete, move kubelet binaries to the proper folder } ``` +```bash +chmod +x kubernetes/node/bin/kubelet \ + && mv kubernetes/node/bin/kubelet /usr/local/bin/ +``` + As kubelet is a service that is used to manage pods running on the node, we need to configure that service ```bash -cat <