diff --git a/charts/qiskit-serverless/charts/gateway/templates/deployment.yaml b/charts/qiskit-serverless/charts/gateway/templates/deployment.yaml index 9ad362fac..e312cb95b 100644 --- a/charts/qiskit-serverless/charts/gateway/templates/deployment.yaml +++ b/charts/qiskit-serverless/charts/gateway/templates/deployment.yaml @@ -239,6 +239,9 @@ spec: - name: ray-cluster-template configMap: name: rayclustertemplate + - name: gpu-jobs + configMap: + name: gpujobs serviceAccountName: {{ include "gateway.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} @@ -277,6 +280,8 @@ spec: name: gateway-pv-storage - mountPath: "/tmp/templates/" name: ray-cluster-template + - mountPath: "/tmp/gpujobs/" + name: gpu-jobs resources: {{- toYaml .Values.scheduler.resources | nindent 12 }} env: diff --git a/charts/qiskit-serverless/charts/gateway/templates/gpu-jobs.yaml b/charts/qiskit-serverless/charts/gateway/templates/gpu-jobs.yaml new file mode 100644 index 000000000..f0c3682f7 --- /dev/null +++ b/charts/qiskit-serverless/charts/gateway/templates/gpu-jobs.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: gpujobs +data: + gpu-jobs.json: | + { + "gpu-functions": {} + } diff --git a/charts/qiskit-serverless/values.yaml b/charts/qiskit-serverless/values.yaml index 3da74d566..81f938fdb 100644 --- a/charts/qiskit-serverless/values.yaml +++ b/charts/qiskit-serverless/values.yaml @@ -62,6 +62,7 @@ gateway: nodeImage: "icr.io/quantum-public/qiskit-serverless/ray-node:0.17.1" opensslImage: registry.access.redhat.com/ubi8/openssl:8.8-9 kubectlImage: alpine/k8s:1.29.2@sha256:a51aa37f0a34ff827c7f2f9cb7f6fbb8f0e290fa625341be14c2fcc4b1880f60 + gpuJobsConfig: "/tmp/gpujobs/gpu-jobs.json" limits: maxJobsPerUser: 2 maxComputeResources: 4