Files
edge-gitops/clusters/k3s-dgx/nim-service/qwen.yaml
2026-05-06 17:51:00 -05:00

72 lines
1.4 KiB
YAML

apiVersion: apps.nvidia.com/v1alpha1
kind: NIMCache
metadata:
name: qwen3-32b-instruct
namespace: nim-service
spec:
source:
ngc:
modelPuller: nvcr.io/nim/qwen/qwen3-32b-dgx-spark:1.1.0-variant
pullSecret: ngc-secret
authSecret: ngc-api-secret
model:
engine: "vllm"
tensorParallelism: "1"
profile: default
storage:
pvc:
create: true
size: "100Gi"
volumeAccessMode: ReadWriteOnce
---
apiVersion: apps.nvidia.com/v1alpha1
kind: NIMService
metadata:
name: qwen3-32b-instruct
namespace: nim-service
spec:
args:
- --enable-auto-tool-choice
- --gpu-memory-utilization
- "0.90"
- --tool-call-parser
- hermes
image:
repository: nvcr.io/nim/qwen/qwen3-32b-dgx-spark
tag: "1.1.0-variant"
pullPolicy: IfNotPresent
pullSecrets:
- ngc-secret
authSecret: ngc-api-secret
storage:
nimCache:
name: qwen3-32b-instruct
replicas: 1
resources:
limits:
nvidia.com/gpu: 1
expose:
service:
type: ClusterIP
port: 8000
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: llm-route
namespace: nim-service
spec:
parentRefs:
- name: envoy-gateway
namespace: default
hostnames:
- "mcp.corredorconect.com"
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: qwen3-32b-instruct
port: 8000