virtual-kubelet

module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2024 License: Apache-2.0

README

English | 简体中文

Virtual Kubelet is the multi-tenant Virtual Kubelet infrastructure of Koupleless. It has been refactored from the open-source Virtual Kubelet to support managing multiple Virtual Kubelets in a single process.

This is achieved through the implementation of the Tunnel interface, which allows custom resources to be disguised as K8S Nodes.

Code Structure

  1. controller: Control plane components
  2. tunnel: Operational pipeline support
  3. virtual_kubelet: Original Virtual Kubelet logic, including node information maintenance, pod information maintenance, and other logic
  4. vnode: Virtual Kubelet provider implementation

Directories

Path Synopsis
common
log
Package log defines the interfaces used for logging in virtual-kubelet.
Package log defines the interfaces used for logging in virtual-kubelet.
log/klogv2
Package klogv2 implements a virtual-kubelet/log.Logger using klogv2 as a backend
Package klogv2 implements a virtual-kubelet/log.Logger using klogv2 as a backend
log/logrus
Package logrus implements a github.com/virtual-kubelet/virtual-kubelet/log.Logger using Logrus as a backend You can use this by creating a logrus logger and calling `FromLogrus(entry)`.
Package logrus implements a github.com/virtual-kubelet/virtual-kubelet/log.Logger using Logrus as a backend You can use this by creating a logrus logger and calling `FromLogrus(entry)`.
trace
Package trace abstracts virtual-kubelet's tracing capabilities into a set of interfaces.
Package trace abstracts virtual-kubelet's tracing capabilities into a set of interfaces.
trace/opencensus
Package opencensus implements a github.com/virtual-kubelet/virtual-kubelet/trace.Tracer using opencensus as a backend.
Package opencensus implements a github.com/virtual-kubelet/virtual-kubelet/trace.Tracer using opencensus as a backend.
trace/opentelemetry
Package opentelemetry implements a github.com/virtual-kubelet/virtual-kubelet/trace.Tracer using openTelemetry as a backend.
Package opentelemetry implements a github.com/virtual-kubelet/virtual-kubelet/trace.Tracer using openTelemetry as a backend.
controller

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL