Skip to content

Commit 1332473

Browse files
julienmancusodmitry-tokarev-nv
authored andcommitted
fix: fix broken link in docs (#2870)
Signed-off-by: Julien Mancuso <jmancuso@nvidia.com> Co-authored-by: Dmitry Tokarev <dtokarev@nvidia.com>
1 parent 4c311a7 commit 1332473

File tree

3 files changed

+78
-110
lines changed

3 files changed

+78
-110
lines changed

docs/guides/dynamo_deploy/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,5 @@ Key customization points include:
167167
- **[Examples](/examples/README.md)** - Complete working examples
168168
- **[Create Custom Deployments](/docs/guides/dynamo_deploy/create_deployment.md)** - Build your own CRDs
169169
- **[Operator Documentation](/docs/guides/dynamo_deploy/dynamo_operator.md)** - How the platform works
170-
- **[Helm Charts](/deploy/helm/README.md)** - For advanced users
170+
- **[Helm Charts](/deploy/helm/README.md)** - For advanced users
171+
- **[GitOps Deployment with FluxCD](/docs/guides/dynamo_deploy/fluxcd.md)** - For advanced users

docs/guides/dynamo_deploy/dynamo_operator.md

Lines changed: 2 additions & 109 deletions
Original file line numberDiff line numberDiff line change
@@ -19,122 +19,15 @@ Dynamo operator is a Kubernetes operator that simplifies the deployment, configu
1919
3. Kubernetes resources (Deployments, Services, etc.) are created or updated to match the CR spec.
2020
4. Status fields are updated to reflect the current state.
2121

22-
23-
2422
## Custom Resource Definitions (CRDs)
2523

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

28-
**📖 [Dynamo CRD API Reference](../../../deploy/cloud/operator/docs/api_reference.md)**
26+
**📖 [Dynamo CRD API Reference](/docs/guides/dynamo_deploy/api_reference.md)**
2927

3028
## Installation
3129

32-
[See installation steps](installation_guide.md#overview)
33-
34-
35-
## GitOps Deployment with FluxCD
36-
37-
This section describes how to use FluxCD for GitOps-based deployment of Dynamo inference graphs. GitOps enables you to manage your Dynamo deployments declaratively using Git as the source of truth. We'll use the [aggregated vLLM example](../../../components/backends/vllm/README.md) to demonstrate the workflow.
38-
39-
### Prerequisites
40-
41-
- A Kubernetes cluster with [Dynamo Cloud](installation_guide.md) installed
42-
- [FluxCD](https://fluxcd.io/flux/installation/) installed in your cluster
43-
- A Git repository to store your deployment configurations
44-
45-
### Workflow Overview
46-
47-
The GitOps workflow for Dynamo deployments consists of three main steps:
48-
49-
1. Build and push the Dynamo Operator
50-
2. Create and commit a DynamoGraphDeployment custom resource for initial deployment
51-
3. Update the graph by building a new version and updating the CR for subsequent updates
52-
53-
### Step 1: Build and Push Dynamo Cloud Operator
54-
55-
First, follow to [See Install Dynamo Cloud](README.md).
56-
57-
### Step 2: Create Initial Deployment
58-
59-
Create a new file in your Git repository (e.g., `deployments/llm-agg.yaml`) with the following content:
60-
61-
```yaml
62-
apiVersion: nvidia.com/v1alpha1
63-
kind: DynamoGraphDeployment
64-
metadata:
65-
name: llm-agg
66-
spec:
67-
services:
68-
Frontend:
69-
replicas: 1
70-
envs:
71-
- name: SPECIFIC_ENV_VAR
72-
value: some_specific_value
73-
Processor:
74-
replicas: 1
75-
envs:
76-
- name: SPECIFIC_ENV_VAR
77-
value: some_specific_value
78-
VllmWorker:
79-
replicas: 1
80-
envs:
81-
- name: SPECIFIC_ENV_VAR
82-
value: some_specific_value
83-
# Add PVC for model storage
84-
pvc:
85-
name: vllm-model-storage
86-
mountPath: /models
87-
size: 100Gi
88-
```
89-
90-
Commit and push this file to your Git repository. FluxCD will detect the new CR and create the initial deployment in your cluster. The operator will:
91-
- Create the specified PVCs
92-
- Build container images for all components
93-
- Deploy the services with the configured resources
94-
95-
### Step 3: Update Existing Deployment
96-
97-
To update your pipeline, just update the associated DynamoGraphDeployment CRD
98-
99-
The Dynamo operator will automatically reconcile it.
100-
101-
### Monitoring the Deployment
102-
103-
You can monitor the deployment status using:
104-
105-
```bash
106-
107-
export NAMESPACE=<namespace-with-the-dynamo-cloud-operator>
108-
109-
# Check the DynamoGraphDeployment status
110-
kubectl get dynamographdeployment llm-agg -n $NAMESPACE
111-
```
112-
113-
## Configuration
114-
115-
116-
- **Environment Variables:**
117-
118-
| Name | Description | Default |
119-
|----------------------------------------------------|--------------------------------------|--------------------------------------------------------|
120-
| `LOG_LEVEL` | Logging verbosity level | `info` |
121-
| `DYNAMO_SYSTEM_NAMESPACE` | System namespace | `dynamo` |
122-
123-
- **Flags:**
124-
| Flag | Description | Default |
125-
|-----------------------|--------------------------------------------|---------|
126-
| `--natsAddr` | Address of NATS server | "" |
127-
| `--etcdAddr` | Address of etcd server | "" |
128-
129-
130-
131-
## Troubleshooting
132-
133-
| Symptom | Possible Cause | Solution |
134-
|------------------------|-------------------------------|-----------------------------------|
135-
| Resource not created | RBAC missing | Ensure correct ClusterRole/Binding|
136-
| Status not updated | CRD schema mismatch | Regenerate CRDs with kubebuilder |
137-
| Image build hangs | Misconfigured DynamoComponent | Check image build logs |
30+
[See installation steps](/docs/guides/dynamo_deploy/installation_guide.md#overview)
13831

13932

14033
## Development
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# GitOps Deployment with FluxCD
2+
3+
This section describes how to use FluxCD for GitOps-based deployment of Dynamo inference graphs. GitOps enables you to manage your Dynamo deployments declaratively using Git as the source of truth. We'll use the [aggregated vLLM example](../../../components/backends/vllm/README.md) to demonstrate the workflow.
4+
5+
## Prerequisites
6+
7+
- A Kubernetes cluster with [Dynamo Cloud](/docs/guides/dynamo_deploy/installation_guide.md) installed
8+
- [FluxCD](https://fluxcd.io/flux/installation/) installed in your cluster
9+
- A Git repository to store your deployment configurations
10+
11+
## Workflow Overview
12+
13+
The GitOps workflow for Dynamo deployments consists of three main steps:
14+
15+
1. Build and push the Dynamo Operator
16+
2. Create and commit a DynamoGraphDeployment custom resource for initial deployment
17+
3. Update the graph by building a new version and updating the CR for subsequent updates
18+
19+
## Step 1: Build and Push Dynamo Cloud Operator
20+
21+
First, follow to [See Install Dynamo Cloud](/docs/guides/dynamo_deploy/installation_guide.md).
22+
23+
## Step 2: Create Initial Deployment
24+
25+
Create a new file in your Git repository (e.g., `deployments/llm-agg.yaml`) with the following content:
26+
27+
```yaml
28+
apiVersion: nvidia.com/v1alpha1
29+
kind: DynamoGraphDeployment
30+
metadata:
31+
name: llm-agg
32+
spec:
33+
services:
34+
Frontend:
35+
replicas: 1
36+
envs:
37+
- name: SPECIFIC_ENV_VAR
38+
value: some_specific_value
39+
Processor:
40+
replicas: 1
41+
envs:
42+
- name: SPECIFIC_ENV_VAR
43+
value: some_specific_value
44+
VllmWorker:
45+
replicas: 1
46+
envs:
47+
- name: SPECIFIC_ENV_VAR
48+
value: some_specific_value
49+
# Add PVC for model storage
50+
pvc:
51+
name: vllm-model-storage
52+
mountPath: /models
53+
size: 100Gi
54+
```
55+
56+
Commit and push this file to your Git repository. FluxCD will detect the new CR and create the initial Dynamo deployment in your cluster.
57+
58+
## Step 3: Update Existing Deployment
59+
60+
To update your pipeline, just update the associated DynamoGraphDeployment CRD
61+
62+
The Dynamo operator will automatically reconcile it.
63+
64+
## Monitoring the Deployment
65+
66+
You can monitor the deployment status using:
67+
68+
```bash
69+
70+
export NAMESPACE=<namespace-with-the-dynamo-cloud-operator>
71+
72+
# Check the DynamoGraphDeployment status
73+
kubectl get dynamographdeployment llm-agg -n $NAMESPACE
74+
```

0 commit comments

Comments
 (0)