Skip to main content

Crate dactor_discover_k8s

Crate dactor_discover_k8s 

Source
Expand description

Kubernetes node discovery for the dactor distributed actor framework.

Provides two discovery mechanisms:

Structs§

HeadlessServiceDiscovery
Discovers peer pods via DNS resolution of a Kubernetes headless service.
K8sDiscoveryBuilder
Builder for KubernetesDiscovery.
K8sDiscoveryConfig
Configuration for Kubernetes pod discovery.
KubernetesDiscovery
Discovers peer pods using the Kubernetes API.

Enums§

K8sDiscoveryError
Errors returned by Kubernetes discovery operations.

Functions§

current_namespace
Read the current namespace from the pod’s mounted service account.
pod_ip
Read the pod’s own IP from the DACTOR_POD_IP or POD_IP environment variable.