Skip to main content

Module k8s

Module k8s 

Source
Expand description

Kubernetes self-deployment and pod management.

Allows the CodeTether agent to manage its own lifecycle on Kubernetes:

  • Detect whether it is running inside a K8s cluster
  • Read its own pod/deployment metadata
  • Scale its own deployment replica count
  • Perform rolling restarts
  • Create new pods for swarm sub-agents
  • Monitor pod health and recover from failures

All K8s operations are audit-logged.

Structsยง

DeployAction
Result of a self-deployment action.
K8sManager
Kubernetes self-deployment manager.
K8sStatus
Status of the K8s integration.
PodInfo
Summary information about a pod.