k8s-the-hard-way
cri-tools
Our great sponsors
k8s-the-hard-way | cri-tools | |
---|---|---|
1 | 7 | |
4 | 1,551 | |
- | 1.4% | |
0.0 | 9.2 | |
over 2 years ago | 5 days ago | |
Go | ||
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
k8s-the-hard-way
-
k8s-the-hard-way
This tutorial walks you through setting up Kubernetes the hard way. This guide is not for people looking for a fully automated command to bring up a Kubernetes cluster. If that's you then check out Google Kubernetes Engine, or the Getting Started Guides. the repo k8s-the-hard-way
cri-tools
-
Migrating from dockershim to containerd
Installing crictl (https://github.com/kubernetes-sigs/cri-tools/blob/master/docs/crictl.md) was helpful, as well as journalctl -u containerd.
- kubectl get nodes -o wide shows containerd runtime, but sudo ctr containers list doesn't return any containers on host
-
Debugging containerd, A "new" container runtime means new debugging techniques are required
crictl: Uses the CRI interface to fetch data about containers, agnostic of CRIs. Maintained by Kubernetes at https://github.com/kubernetes-sigs/cri-tools
-
Quick question: Can you run crictl commands from within a running container?
FROM alpine:latest RUN wget -O - https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.23.0/crictl-v1.23.0-linux-amd64.tar.gz | gunzip | tar xvf - && mv crictl /usr/bin
-
k8s-the-hard-way
# wget https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.21.0/crictl-v1.21.0-linux-amd64.tar.gz \ https://github.com/opencontainers/runc/releases/download/v1.0.0-rc93/runc.amd64 \ https://github.com/containernetworking/plugins/releases/download/v0.9.1/cni-plugins-linux-amd64-v0.9.1.tgz \ https://github.com/containerd/containerd/releases/download/v1.4.4/containerd-1.4.4-linux-amd64.tar.gz \ https://storage.googleapis.com/kubernetes-release/release/v1.21.0/bin/linux/amd64/kubectl \ https://storage.googleapis.com/kubernetes-release/release/v1.21.0/bin/linux/amd64/kube-proxy \ https://storage.googleapis.com/kubernetes-release/release/v1.21.0/bin/linux/amd64/kubelet
-
A Window into Docker, minikube, and containerd
We are in the endgame now. I promise. From the README, crictl provides a CLI for CRI-compatible container runtimes. The following snippet performs the following:
-
😎 Manage WebAssembly Apps in WasmEdge Using Docker Tools
Also make sure that you have cri-o, crictl, containernetworking-plugins, and buildah or docker installed.
What are some alternatives?
cni - Container Network Interface - networking for Linux containers
node-feature-discovery - Node feature discovery for Kubernetes
runc - CLI tool for spawning and running containers according to the OCI specification
etcd - Distributed reliable key-value store for the most critical data of a distributed system
SSVM - WasmEdge is a lightweight, high-performance, and extensible WebAssembly runtime for cloud native, edge, and decentralized applications. It powers serverless apps, embedded functions, microservices, smart contracts, and IoT devices.
cfssl - CFSSL: Cloudflare's PKI and TLS toolkit
plugins - Some reference and example networking plugins, maintained by the CNI team.
kubernetes - Production-Grade Container Scheduling and Management
rustwasmc - Tool for building Rust functions for Node.js. Combine the performance of Rust, safety and portability of WebAssembly, and ease of use of JavaScript.