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
vllm_cscc
Commits
31b55ffc
Unverified
Commit
31b55ffc
authored
Oct 30, 2025
by
yitingdc
Committed by
GitHub
Oct 30, 2025
Browse files
use stringData in secret yaml to store huggingface token (#25685)
Signed-off-by:
yiting.jiang
<
yiting.jiang@daocloud.io
>
parent
ded8ada8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
docs/deployment/k8s.md
docs/deployment/k8s.md
+5
-2
No files found.
docs/deployment/k8s.md
View file @
31b55ffc
...
...
@@ -49,11 +49,14 @@ First, create a Kubernetes PVC and Secret for downloading and storing Hugging Fa
metadata:
name: hf-token-secret
type: Opaque
d
ata:
token:
$(HF
_TOKEN
)
stringD
ata:
token:
"REPLACE_WITH
_TOKEN
"
EOF
```
Here, the
`token`
field stores your
**Hugging Face access token**
. For details on how to generate a token,
see the
[
Hugging Face documentation
](
https://huggingface.co/docs/hub/en/security-tokens
)
.
Next, start the vLLM server as a Kubernetes Deployment and Service:
??? console "Config"
...
...
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