Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
1c03404f
Unverified
Commit
1c03404f
authored
Jul 15, 2025
by
Biswa Panda
Committed by
GitHub
Jul 15, 2025
Browse files
fix: update inference gateway deployment instructions (#1940)
parent
5ca570f9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
15 deletions
+26
-15
deploy/inference-gateway/example/README.md
deploy/inference-gateway/example/README.md
+21
-10
deploy/inference-gateway/example/resources/dynamo-epp.yaml
deploy/inference-gateway/example/resources/dynamo-epp.yaml
+2
-2
deploy/inference-gateway/example/resources/inference-pool.yaml
...y/inference-gateway/example/resources/inference-pool.yaml
+3
-3
No files found.
deploy/inference-gateway/example/README.md
View file @
1c03404f
...
...
@@ -19,24 +19,35 @@ Follow the instructions in [deploy/cloud/README.md](../../deploy/cloud/README.md
Deploy 2 Dynamo aggregated graphs following the instructions in
[
examples/llm/README.md
](
../../examples/llm/README.md
)
:
### Build Dynamo Graph
```
bash
export
DYNAMO_IMAGE
=
<your-registry>/<your-image-name>:<your-tag>
### Deploy Dynamo Graphs
# Build the service
cd
$PROJECT_ROOT
/examples/llm
export
DYNAMO_TAG
=
$(
dynamo build graphs.agg:Frontend |
grep
"Successfully built"
|
awk
'{ print $NF }'
|
sed
's/\.$//'
)
```
Follow the commands to deploy 2 dynamo graphs -
### Deploy Dynamo Graphs
```
bash
# Set pre-built vLLM dynamo base container image
export
VLLM_RUNTIME_IMAGE
=
<dynamo-vllm-base-image>
# for example:
# export VLLM_RUNTIME_IMAGE=nvcr.io/nvidia/ai-dynamo/vllm-runtime:0.3.1
# run the following commands from dynamo repo's root folder
# Deploy first graph
export
DEPLOYMENT_NAME
=
llm-agg1
# TODO: Deploy your service using a DynamoGraphDeployment CR.
yq
eval
'
.metadata.name = env(DEPLOYMENT_NAME) |
.spec.services[].extraPodSpec.mainContainer.image = env(VLLM_RUNTIME_IMAGE)
'
examples/vllm_v0/deploy/agg.yaml
>
examples/vllm_v0/deploy/agg1.yaml
kubectl apply
-f
examples/vllm_v0/deploy/agg1.yaml
# Deploy second graph
export
DEPLOYMENT_NAME
=
llm-agg2
# TODO: Deploy your service using a DynamoGraphDeployment CR.
yq
eval
'
.metadata.name = env(DEPLOYMENT_NAME) |
.spec.services[].extraPodSpec.mainContainer.image = env(VLLM_RUNTIME_IMAGE)
'
examples/vllm_v0/deploy/agg.yaml
>
examples/vllm_v0/deploy/agg2.yaml
kubectl apply
-f
examples/vllm_v0/deploy/agg2.yaml
```
3.
**Deploy Inference Gateway**
...
...
deploy/inference-gateway/example/resources/dynamo-epp.yaml
View file @
1c03404f
...
...
@@ -33,8 +33,8 @@ spec:
terminationGracePeriodSeconds
:
130
containers
:
-
name
:
epp
image
:
us-central1-docker.pkg.dev/k8s-staging-images/gateway-api-inference-extension/epp:
main
imagePullPolicy
:
Always
image
:
us-central1-docker.pkg.dev/k8s-staging-images/gateway-api-inference-extension/epp:
v0.4.0
imagePullPolicy
:
IfNotPresent
args
:
-
-poolName
-
"
dynamo-deepseek"
...
...
deploy/inference-gateway/example/resources/inference-pool.yaml
View file @
1c03404f
...
...
@@ -18,11 +18,11 @@ metadata:
name
:
dynamo-deepseek
namespace
:
default
spec
:
targetPortNumber
:
3
000
targetPortNumber
:
8
000
selector
:
nvidia.com/dynamo-component
-type
:
Frontend
nvidia.com/dynamo-component
:
Frontend
extensionRef
:
failureMode
:
Fail
Close
failureMode
:
Fail
Open
group
:
"
"
kind
:
Service
name
:
dynamo-deepseek-epp
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment