-
Notifications
You must be signed in to change notification settings - Fork 766
fix: fix broken link in docs #2870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,77 @@ | ||
| # GitOps Deployment with FluxCD | ||
|
|
||
| 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. | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| - A Kubernetes cluster with [Dynamo Cloud](/docs/guides/dynamo_deploy/installation_guide.md) installed | ||
| - [FluxCD](https://fluxcd.io/flux/installation/) installed in your cluster | ||
| - A Git repository to store your deployment configurations | ||
|
|
||
| ## Workflow Overview | ||
|
|
||
| The GitOps workflow for Dynamo deployments consists of three main steps: | ||
|
|
||
| 1. Build and push the Dynamo Operator | ||
| 2. Create and commit a DynamoGraphDeployment custom resource for initial deployment | ||
| 3. Update the graph by building a new version and updating the CR for subsequent updates | ||
|
|
||
| ## Step 1: Build and Push Dynamo Cloud Operator | ||
|
|
||
| First, follow to [See Install Dynamo Cloud](/docs/guides/dynamo_deploy/installation_guide.md). | ||
|
|
||
| ## Step 2: Create Initial Deployment | ||
|
|
||
| Create a new file in your Git repository (e.g., `deployments/llm-agg.yaml`) with the following content: | ||
|
|
||
| ```yaml | ||
| apiVersion: nvidia.com/v1alpha1 | ||
| kind: DynamoGraphDeployment | ||
| metadata: | ||
| name: llm-agg | ||
| spec: | ||
| services: | ||
| Frontend: | ||
| replicas: 1 | ||
| envs: | ||
| - name: SPECIFIC_ENV_VAR | ||
| value: some_specific_value | ||
| Processor: | ||
| replicas: 1 | ||
| envs: | ||
| - name: SPECIFIC_ENV_VAR | ||
| value: some_specific_value | ||
| VllmWorker: | ||
| replicas: 1 | ||
| envs: | ||
| - name: SPECIFIC_ENV_VAR | ||
| value: some_specific_value | ||
| # Add PVC for model storage | ||
| pvc: | ||
| name: vllm-model-storage | ||
| mountPath: /models | ||
| size: 100Gi | ||
| ``` | ||
|
|
||
| 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: | ||
| - Create the specified PVCs | ||
| - Build container images for all components | ||
| - Deploy the services with the configured resources | ||
|
|
||
julienmancuso marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ## Step 3: Update Existing Deployment | ||
|
|
||
| To update your pipeline, just update the associated DynamoGraphDeployment CRD | ||
|
|
||
| The Dynamo operator will automatically reconcile it. | ||
|
|
||
| ## Monitoring the Deployment | ||
|
|
||
| You can monitor the deployment status using: | ||
|
|
||
| ```bash | ||
|
|
||
| export NAMESPACE=<namespace-with-the-dynamo-cloud-operator> | ||
|
|
||
| # Check the DynamoGraphDeployment status | ||
| kubectl get dynamographdeployment llm-agg -n $NAMESPACE | ||
| ``` | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.