Skip to content
プロジェクト

概要

An OCI container runtime monitor.

システム・インフラ

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
+2
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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.

関連プロジェクトを探す

読み込み中…