Skip to content

Commit 09241fd

Browse files
committed
Mention built-in CRI support in README
Signed-off-by: James Jackson <[email protected]>
1 parent 0042148 commit 09241fd

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,53 @@ the autocomplete/ctr file in your `.bashrc`, or manually like:
249249
$ source ./contrib/autocomplete/ctr
250250
```
251251

252+
### CRI
253+
254+
`cri` is a [containerd](https://containerd.io/) plugin implementation of Kubernetes [container runtime interface (CRI)](https://github.com/kubernetes/cri-api/blob/master/pkg/apis/runtime/v1alpha2/api.proto).
255+
256+
With it, you could run Kubernetes using containerd as the container runtime.
257+
![cri](./docs/cri.png)
258+
259+
#### Current Status
260+
261+
`cri` is a native plugin of containerd 1.1 and above. It is built into containerd and enabled by default.
262+
263+
> **Note:** `cri` as of containerd 1.5, the cri plugin is merged into the containerd/containerd repo. For example, the source code previously stored under [`containerd/cri/pkg`](https://github.com/containerd/cri/tree/release/1.4/pkg)
264+
was moved to [`containerd/containerd/pkg/cri` package](https://github.com/containerd/containerd/tree/master/pkg/cri).
265+
266+
`cri` is in GA:
267+
* It is feature complete.
268+
* It (the GA version) works with Kubernetes 1.10 and above.
269+
* It has passed all [CRI validation tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-node/cri-validation.md).
270+
* It has passed all [node e2e tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-node/e2e-node-tests.md).
271+
* It has passed all [e2e tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-testing/e2e-tests.md).
272+
273+
See [test dashboard](https://k8s-testgrid.appspot.com/sig-node-containerd)
274+
275+
#### Production Quality Cluster on GCE
276+
For a production quality cluster on GCE brought up with `kube-up.sh` refer [here](docs/cri/kube-up.md).
277+
#### Installing with Ansible and Kubeadm
278+
For a multi node cluster installer and bring up steps using ansible and kubeadm refer [here](contrib/ansible/README.md).
279+
#### Custom Installation
280+
For non ansible users, you can download the `cri-containerd` release tarball and deploy
281+
kubernetes cluster using kubeadm as described [here](docs/installation.md).
282+
283+
#### Validate Your `cri` Setup
284+
A Kubernetes incubator project called [cri-tools](https://github.com/kubernetes-sigs/cri-tools)
285+
includes programs for exercising CRI implementations such as the `cri` plugin.
286+
More importantly, cri-tools includes the program `critest` which is used for running
287+
[CRI Validation Testing](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-node/cri-validation.md).
288+
289+
#### CRI Plugin Testing Guide
290+
See [here](./docs/cri/testing.md) for information about CRI plugin testing.
291+
#### Using crictl
292+
See [here](./docs/cri/crictl.md) for information about using `crictl` to debug
293+
pods, containers, and images.
294+
#### Configurations
295+
See [here](./docs/cri/config.md) for information about how to configure cri plugins
296+
and [here](https://github.com/containerd/containerd/blob/master/docs/man/containerd-config.8.md)
297+
for information about how to configure containerd
298+
252299
#### Distribution of `ctr` autocomplete for bash and zsh
253300

254301
For bash, copy the `contrib/autocomplete/ctr` script into

0 commit comments

Comments
 (0)