You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Grammar and format updates
Went through and made a few grammar and format updates to make how-to guide
easier to follow, as well as adddirect links to project Github pages where applicable.
Fixes: kata-containers#127
Signed-off-by: trilliams <[email protected]>
Copy file name to clipboardExpand all lines: how-to/how-to-use-k8s-with-cri-containerd-and-kata.md
+16-12
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,14 @@
1
1
# How to use Kata Containers and CRI (containerd plugin) with Kubernetes
2
2
3
3
This document describes how to set up a single-machine Kubernetes cluster.
4
-
The Kubernetes cluster will use the [CRI containerd plugin](https://github.com/containerd/cri) and [Kata Containers](https://katacontainers.io) to launch untrusted workloads.
4
+
The Kubernetes cluster will use the [CRI containerd plugin](https://github.com/containerd/cri) and [Kata Containers](https://github.com/kata-containers) to launch untrusted workloads.
5
5
6
6
## Requirements
7
7
- Kubernetes, kubelet, kubeadm
8
8
- cri-containerd
9
9
- Kata Containers
10
10
11
-
Note|
12
-
----------------- |
13
-
|For information about the supported versions of these components, see the Kata Containers [versions.yaml](https://github.com/kata-containers/runtime/blob/master/versions.yaml) file. |
14
-
11
+
For information about the supported versions of these components, see the Kata Containers [versions.yaml](https://github.com/kata-containers/runtime/blob/master/versions.yaml) file.
15
12
16
13
17
14
## Install containerd(with CRI plugin enabled)
@@ -52,7 +49,7 @@ $ command -v kubeadm
52
49
The CRI containerd plugin supports configuration for two runtime types.
53
50
54
51
-**Default runtime:** A runtime that is used by default to run workloads.
55
-
-**Untrusted workload runtime:** A runtime that will be used run untrusted workloads.
52
+
-**Untrusted workload runtime:** A runtime that will be used to run untrusted workloads.
56
53
57
54
#### Define the Kata runtime as `untrusted_workload_runtime`
58
55
@@ -61,7 +58,7 @@ Configure the Kata runtime for untrusted workload with the [config option](https
61
58
62
59
Unless configured otherwise, the default runtime is set to `runc`.
63
60
64
-
- Configure containerd to use Kata as `untrusted_workload_runtime`
61
+
- Configure containerd to use Kata as `untrusted_workload_runtime`:
65
62
66
63
```bash
67
64
$ sudo mkdir -p /etc/containerd/
@@ -78,8 +75,7 @@ EOT
78
75
79
76
### Configure Kubelet to use containerd
80
77
81
-
In order to allow kubelet use containerd (using CRI interface), configure the service to
82
-
point to the `containerd` socket.
78
+
In order to allow kubelet to use containerd (using CRI interface), configure the service to point to the `containerd` socket.
83
79
84
80
85
81
- Configure k8s to use containerd
@@ -99,8 +95,7 @@ $ sudo systemctl daemon-reload
99
95
100
96
### Optional: Configure proxy
101
97
102
-
If you are behind a proxy, use this script to configure your proxy for docker,
103
-
kubelet, and containerd.
98
+
If you are behind a proxy, use the following script to configure your proxy for docker, kubelet, and containerd:
0 commit comments