generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 184
update guides docs to fix miss guide #1532
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
k8s-ci-robot
merged 2 commits into
kubernetes-sigs:main
from
Frapschen:update-guide-docs
Sep 4, 2025
Merged
Changes from 1 commit
Commits
Show all changes
2 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -278,7 +278,7 @@ A cluster with: | |
| helm install vllm-llama3-8b-instruct \ | ||
| --set inferencePool.modelServers.matchLabels.app=vllm-llama3-8b-instruct \ | ||
| --set provider.name=$GATEWAY_PROVIDER \ | ||
| --version v0.3.0 \ | ||
| --version v0.5.1 \ | ||
| oci://registry.k8s.io/gateway-api-inference-extension/charts/inferencepool | ||
| ``` | ||
|
|
||
|
|
@@ -297,12 +297,17 @@ A cluster with: | |
|
|
||
| Wait until the gateway is ready. | ||
|
|
||
| Depending on the type of model server you have deployed, you must update the model field in the request body accordingly: | ||
| - vLLM Simulator Model Server: `food-review-1` | ||
| - CPU-Based Model Server: `food-review-0` or `food-review-1` | ||
| - GPU-Based Model Server: TODO | ||
|
|
||
|
||
| ```bash | ||
| IP=$(kubectl get gateway/inference-gateway -o jsonpath='{.status.addresses[0].value}') | ||
| PORT=80 | ||
|
|
||
| curl -i ${IP}:${PORT}/v1/completions -H 'Content-Type: application/json' -d '{ | ||
| "model": "food-review", | ||
| "model": "food-review-1", | ||
| "prompt": "Write as if you were a critic: San Francisco", | ||
| "max_tokens": 100, | ||
| "temperature": 0 | ||
|
|
||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't find the
modevalue for the GPU one. Please help meThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding an answer so you'll learn more about how it's being set -
you can find it here:
gateway-api-inference-extension/config/manifests/vllm/gpu-deployment.yaml
Line 257 in c90106c