X Tutup
Skip to content

Commit 3cd1c83

Browse files
authored
Merge pull request containerd#4796 from jsj/jsj/4572
Mention built-in CRI support in README
2 parents a5f9613 + ca292da commit 3cd1c83

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,40 @@ 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 the Kubernetes [container runtime interface (CRI)](https://github.com/kubernetes/cri-api/blob/master/pkg/apis/runtime/v1alpha2/api.proto). With it, you are able to use containerd as the container runtime for a Kubernetes cluster.
255+
256+
![cri](./docs/cri.png)
257+
258+
#### CRI Status
259+
260+
`cri` is a native plugin of containerd. Since containerd 1.1, the cri plugin is built into the release binaries and enabled by default.
261+
262+
> **Note:** 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)
263+
was moved to [`containerd/containerd/pkg/cri` package](https://github.com/containerd/containerd/tree/master/pkg/cri).
264+
265+
The `cri` plugin has reached GA status, representing that it is:
266+
* Feature complete
267+
* Works with Kubernetes 1.10 and above
268+
* Passes all [CRI validation tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-node/cri-validation.md).
269+
* Passes all [node e2e tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-node/e2e-node-tests.md).
270+
* Passes all [e2e tests](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-testing/e2e-tests.md).
271+
272+
See results on the containerd k8s [test dashboard](https://k8s-testgrid.appspot.com/sig-node-containerd)
273+
274+
#### Validating Your `cri` Setup
275+
A Kubernetes incubator project, [cri-tools](https://github.com/kubernetes-sigs/cri-tools), includes programs for exercising CRI implementations. More importantly, cri-tools includes the program `critest` which is used for running [CRI Validation Testing](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-node/cri-validation.md).
276+
277+
#### CRI Guides
278+
* [Bringing up a Production Quality Cluster on GCE](docs/cri/kube-up.md)
279+
* [Installing with Ansible and Kubeadm](contrib/ansible/README.md)
280+
* [For Non-Ansible Users, Preforming a Custom Installation Using the Release Tarball and Kubeadm](docs/installation.md)
281+
* [CRI Plugin Testing Guide](./docs/cri/testing.md)
282+
* [Debugging Pods, Containers, and Images with `crictl`](./docs/cri/crictl.md)
283+
* [Configuring `cri` Plugins](./docs/cri/config.md)
284+
* [Configuring containerd](https://github.com/containerd/containerd/blob/master/docs/man/containerd-config.8.md)
285+
252286
#### Distribution of `ctr` autocomplete for bash and zsh
253287

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

0 commit comments

Comments
 (0)
X Tutup