Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.99 KB

File metadata and controls

49 lines (30 loc) · 1.99 KB

Working with Dynamo Kubernetes Operator

Overview

Dynamo operator is a Kubernetes operator that simplifies the deployment, configuration, and lifecycle management of DynamoGraphs. It automates the reconciliation of custom resources to ensure your desired state is always achieved. This operator is ideal for users who want to manage complex deployments using declarative YAML definitions and Kubernetes-native tooling.

Architecture

  • Operator Deployment: Deployed as a Kubernetes Deployment in a specific namespace.

  • Controllers:

    • DynamoGraphDeploymentController: Watches DynamoGraphDeployment CRs and orchestrates graph deployments.
    • DynamoComponentDeploymentController: Watches DynamoComponentDeployment CRs and handles individual component deployments.
  • Workflow:

    1. A custom resource is created by the user or API server.
    2. The corresponding controller detects the change and runs reconciliation.
    3. Kubernetes resources (Deployments, Services, etc.) are created or updated to match the CR spec.
    4. Status fields are updated to reflect the current state.

Custom Resource Definitions (CRDs)

For the complete technical API reference for Dynamo Custom Resource Definitions, see:

📖 Dynamo CRD API Reference

Installation

See installation steps

Development

  • Code Structure:

The operator is built using Kubebuilder and the operator-sdk, with the following structure:

  • controllers/: Reconciliation logic
  • api/v1alpha1/: CRD types
  • config/: Manifests and Helm charts

References