Documentation
¶
Overview ¶
Package main implements the virtual-kubelet executable for InterLink.
The Virtual Kubelet acts as a bridge between Kubernetes and external compute resources through the InterLink API. It creates a virtual node in the Kubernetes cluster that can schedule pods to remote execution environments.
Key features:
- Creates and manages a virtual node in Kubernetes
- Proxies pod operations to InterLink API
- Handles TLS/mTLS communication
- Supports WebSocket tunneling for port exposure
- Manages pod lifecycle and status updates
- Provides kubelet-compatible HTTP API endpoints
Usage:
virtual-kubelet -nodename <node-name> -configpath <config-file>
Environment Variables:
- NODENAME: Name of the virtual node (required)
- CONFIGPATH: Path to configuration file
- KUBECONFIG: Path to Kubernetes configuration
- KUBELET_URL: Virtual kubelet HTTP server bind address
- KUBELET_PORT: Virtual kubelet HTTP server port
- ENABLE_TRACING: Enable OpenTelemetry tracing (set to "1")
Click to show internal directories.
Click to hide internal directories.