Skip to content
项目

关于

An OCI container runtime monitor.

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

ci gh-pages codecov dependencies builds docs go-docs

A pod level OCI container runtime monitor for Linux.

conmon-rs does what conmon does for a single container, for a whole pod: a container engine like CRI-O starts one conmonrs process per pod, and that process creates the containers of the pod through the OCI runtime, holds their standard streams open, forwards their output to log files or journald, serves attach, exec and port forward sessions, detects out of memory kills and writes the exit codes once the containers terminate. The engine talks to it over a UNIX domain socket, so no new monitor process is needed for additional containers or execs. It works with any OCI runtime with the create, exec, restore and console socket conventions of runc, like crun. It detects out of memory kills with cgroup v2 only, with cgroup v1 or a hybrid setup the containers run without the detection. CI runs the integration tests with crun, and on amd64 with runc as well.

Documentation

  • docs/install.md: the options of the get script, verifying the downloads, the copr RPMs and building from source.
  • docs/architecture.md: the components, the operations of the server, its threading and memory use, and how the pieces connect.
  • docs/cri-o.md: configuring CRI-O, the compatibility between CRI-O and server versions, upgrades and the use on Red Hat OpenShift.
  • docs/server.md: the command line of the server, the files it creates and what it does when it starts and stops.
  • docs/protocols.md: the Cap'n Proto RPC, the attach socket, the streaming server for exec, attach and port forwarding with its limits and security, and the features a server reports.
  • docs/logging.md: the container log drivers and how the server reports OOM kills.
  • docs/troubleshooting.md: finding the logs of the server, common failures, debugging the server of a pod under CRI-O, memory profiling and OpenTelemetry tracing.
  • CONTRIBUTING.md: building, testing and fuzzing the sources, and submitting changes.
  • release.md: how to cut a release.
  • SECURITY.md: how to report a security issue.
  • Rust docs of the server internals on main and the Go client docs.

Obtain the latest version

The get script downloads the latest statically linked binary of main:

> curl -fsSL https://raw.githubusercontent.com/containers/conmon-rs/main/scripts/get | bash

docs/install.md describes the options of the script, the copr RPMs and how to build from source.

Architecture

The repository contains the Rust server in conmon-rs/server, the conmonrs binary, and the Go client in pkg/client, which starts the server and talks to it over Cap'n Proto RPC. CRI-O vendors this client. docs/architecture.md describes how they work together.

探索相关项目

加载中…