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Β§
- Kubernetes
Orchestrator - An orchestrator backed by Kubernetes.
- Kubernetes
Orchestrator Config - Configures a
KubernetesOrchestrator. - Kubernetes
Service π - Metric
Identifier - Metric
Value - Namespaced
Kubernetes πOrchestrator - Orchestrator
Worker π - A task executing blocking work for a
NamespacedKubernetesOrchestratorin the background. - PodMetrics
- PodMetrics
Container - PodMetrics
Container Usage - Scaled
Quantity π - Service
Description π - A description of a service to be created by an
OrchestratorWorker. - Service
Info π
EnumsΒ§
- Kubernetes
Image Pull Policy - Specifies whether Kubernetes should pull Docker images when creating pods.
- Worker
Command π - Commands sent from a
NamespacedKubernetesOrchestratorto itsOrchestratorWorker.
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
bundleinADDITIONAL_TRUST_BUNDLE_DIR. - parse_
k8s_ πquantity - topology_
spread_ πmin_ domains - Returns the
minDomainsvalue for aTopologySpreadConstraint.