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Β§

ADDITIONAL_TRUST_BUNDLE_DIR
Where pods mount the certificates of an AdditionalTrustBundle.
ADDITIONAL_TRUST_BUNDLE_FILE
The certificates’ file name in ADDITIONAL_TRUST_BUNDLE_DIR. Pass the joined path to --additional-trust-bundle.
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Β§

additional_trust_bundle_volume
The volume and mount that place the certificates of bundle in ADDITIONAL_TRUST_BUNDLE_DIR.
parse_k8s_quantity πŸ”’
topology_spread_min_domains πŸ”’
Returns the minDomains value for a TopologySpreadConstraint.