CLI and validation tools for Kubelet Container Runtime Interface (CRI) .
cri-tools aims to provide a series of debugging and validation tools for Kubelet CRI, which includes:
- crictl: CLI for kubelet CRI.
- critest: validation test suites for kubelet CRI.
- Building a new kubelet container runtime based on CRI.
- Managing pods/containers for CRI-compatible runtimes by end-users, e.g. pods created by crictl may be removed automatically by kubelet because of non-exist on the kube-apiserver.
- Basic sandbox/image/container lifecycle operations
- Handle streaming APIs (exec/attach/port-forwarding)
- Reading logs of containers.
- Validation test suites.
Learn how to engage with the Kubernetes community on the community page.
You can reach the maintainers of this project at:
- Slack: #sig-node
- Mailing List: https://groups.google.com/forum/#!forum/kubernetes-sig-node
This is a Kubernetes Incubator project. The incubator team for the project is:
- Sponsor: Dawn Chen (@dchen1107)
- Champion: Yu-Ju Hong (@yujuhong)
- SIG: sig-node
Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.
go get github.com/kubernetes-incubator/cri-tools/cmd/critest
$GOPATH/bin/critest
--runtime-service-address
, -r
:The default server is dockershim. If we want to test other CRI server such as frakti, we can add flag --runtime-service-address=/var/run/frakti.sock
. And we can run this test against frakti.
--build-dependencies
, -b
:If we don't need to build dependencies, we can add this flag --build-dependencies=false
or -b=false
.
--ginkgo-flags
,-g
:Space-separated list of arguments to pass to Ginkgo test runner.
--focus
,-f
:CRI e2e test will only run the test that match the focus regular expression.