Skip to main content

Crate mz_orchestrator_kubernetes

Crate mz_orchestrator_kubernetes 

Source

Modulesยง

cloud_resource_controller
Management of K8S objects, such as VpcEndpoints.
metrics ๐Ÿ”’
Prometheus metrics for the Kubernetes orchestrator.
secrets
Management of user secrets via Kubernetes.
util

Structsยง

KubernetesOrchestrator
An orchestrator backed by Kubernetes.
KubernetesOrchestratorConfig
Configures a KubernetesOrchestrator.
KubernetesService ๐Ÿ”’
MetricIdentifier
MetricValue
NamespacedKubernetesOrchestrator ๐Ÿ”’
OrchestratorWorker ๐Ÿ”’
A task executing blocking work for a NamespacedKubernetesOrchestrator in the background.
PodMetrics
PodMetricsContainer
PodMetricsContainerUsage
ScaledQuantity ๐Ÿ”’
ServiceDescription ๐Ÿ”’
A description of a service to be created by an OrchestratorWorker.
ServiceInfo ๐Ÿ”’

Enumsยง

KubernetesImagePullPolicy
Specifies whether Kubernetes should pull Docker images when creating pods.
WorkerCommand ๐Ÿ”’
Commands sent from a NamespacedKubernetesOrchestrator to its OrchestratorWorker.

Constantsยง

FIELD_MANAGER ๐Ÿ”’
NODE_FAILURE_THRESHOLD_SECONDS ๐Ÿ”’
POD_TEMPLATE_HASH_ANNOTATION ๐Ÿ”’
RETRY_WARN_ATTEMPTS ๐Ÿ”’
How many attempts of a failed worker command log at warn level before later attempts log at error level. With the retry backoff starting at 125ms, the first error-level attempt comes about 4s after the first failure, so a Kubernetes API error that clears on retry, such as a new service accountโ€™s RBAC that has not yet propagated, does not reach Sentry.

Functionsยง

parse_k8s_quantity ๐Ÿ”’
topology_spread_min_domains ๐Ÿ”’
Returns the minDomains value for a TopologySpreadConstraint.