Skip to content

Commit 9ae3593

Browse files
committed
Merge remote-tracking branch 'origin/kafka-regions' into kafka-regions
2 parents 0ecfc86 + b28bd48 commit 9ae3593

83 files changed

Lines changed: 2120 additions & 228 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE/pip_dependency_request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ body:
2525
attributes:
2626
label: Package Version
2727
description: Minimum version of the package we need to support in case you need a minimum version
28-
placeholder: 0.35.1
28+
placeholder: 0.36.0
2929
validations:
3030
required: false
3131
- type: textarea

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ authors:
1212
- family-names: "Peña Tapia"
1313
given-names: "Elena"
1414
title: "Qiskit Serverless"
15-
version: 0.35.1
15+
version: 0.36.0
1616
date-released: 2023-02-14
1717
url: "https://github.com/Qiskit/qiskit-serverless"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dependencies:
22
- name: gateway
33
repository: ""
4-
version: 0.35.1
4+
version: 0.36.0
55
- name: nginx-ingress-controller
66
repository: https://charts.bitnami.com/bitnami
77
version: 9.11.0
@@ -11,5 +11,5 @@ dependencies:
1111
- name: kuberay-operator
1212
repository: https://ray-project.github.io/kuberay-helm
1313
version: 1.3.2
14-
digest: sha256:b8f2e974ceb6ba43db1f09262f6e3afe6d495ea452c9860dce02e6dda66510e1
15-
generated: "2026-08-26T10:14:30.210641011Z"
14+
digest: sha256:3a01f380f329cb1da8f5e3932972925b656b1be5ab2439011a820a10c2551a7a
15+
generated: "2026-09-03T06:41:42.264723912Z"

charts/qiskit-serverless/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ description: Qiskit-Serverless helm chart that contains different dependencies.
44

55
type: application
66

7-
version: 0.35.1
8-
appVersion: "0.35.1"
7+
version: 0.36.0
8+
appVersion: "0.36.0"
99

1010
dependencies:
1111
- name: gateway
1212
condition: gatewayEnable
13-
version: 0.35.1
13+
version: 0.36.0
1414
- name: nginx-ingress-controller
1515
condition: nginxIngressControllerEnable
1616
version: 9.11.0

charts/qiskit-serverless/charts/gateway/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.35.1
18+
version: 0.36.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "0.35.1"
24+
appVersion: "0.36.0"

charts/qiskit-serverless/charts/gateway/templates/deployment.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ spec:
310310
value: {{ .Values.ce.icrPullSecret | quote }}
311311

312312
- name: DEFAULT_COMPUTE_PROFILE
313-
value: {{ .Values.ce.defaultComputeProfile | quote }}
313+
value: {{ .Values.ce.defaultComputeProfile | default "16x128" | quote }}
314314
- name: FLEETS_DEFAULT_MAX_INSTANCES
315315
value: {{ .Values.ce.fleetsDefaultMaxInstances | quote }}
316316
- name: FLEETS_RUNTIME_IAM_URL
@@ -352,9 +352,12 @@ metadata:
352352
labels:
353353
{{- include "scheduler.labels" . | nindent 4 }}
354354
spec:
355-
{{- if not .Values.autoscaling.enabled }}
355+
# The scheduler loop is not safe to run twice: replicas stays at 1 whatever
356+
# autoscaling does to the gateway, and Recreate keeps the old pod from
357+
# overlapping with the new one during a rollout.
356358
replicas: 1
357-
{{- end }}
359+
strategy:
360+
type: Recreate
358361
selector:
359362
matchLabels:
360363
{{- include "scheduler.selectorLabels" . | nindent 6 }}
@@ -526,7 +529,7 @@ spec:
526529
value: {{ .Values.ce.icrPullSecret | quote }}
527530

528531
- name: DEFAULT_COMPUTE_PROFILE
529-
value: {{ .Values.ce.defaultComputeProfile | quote }}
532+
value: {{ .Values.ce.defaultComputeProfile | default "16x128" | quote }}
530533
- name: FLEETS_DEFAULT_MAX_INSTANCES
531534
value: {{ .Values.ce.fleetsDefaultMaxInstances | quote }}
532535
- name: FLEETS_RUNTIME_IAM_URL

charts/qiskit-serverless/charts/gateway/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ application:
2828
enable: true
2929
maintenance: false
3030
ray:
31-
nodeImage: "icr.io/quantum-public/qiskit-serverless/ray-node:0.35.1"
31+
nodeImage: "icr.io/quantum-public/qiskit-serverless/ray-node:0.36.0"
3232
cpu: 2
3333
memory: 2
3434
gpu: 1
@@ -112,7 +112,7 @@ ce:
112112
fleetsGatewayHost: "http://127.0.0.1:8000"
113113
defaultProjectName: ""
114114
defaultComputeProfile: "16x128"
115-
fleetsDefaultImage: "private.icr.io/quantum-public/qiskit-serverless/fleet-node:0.35.1"
115+
fleetsDefaultImage: "private.icr.io/quantum-public/qiskit-serverless/fleet-node:0.36.0"
116116
fleetsDefaultMaxInstances: 1
117117
fleetsRuntimeIamUrl: ""
118118
fleetsRuntimeGlobalSearchUrl: ""

charts/qiskit-serverless/values.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Qiskit Serverless Info
33
# ===================
44
global:
5-
version: 0.35.1
5+
version: 0.36.0
66

77
# ===================
88
# Qiskit Serverless configs
@@ -47,7 +47,7 @@ gateway:
4747
image:
4848
repository: "icr.io/quantum-public/qiskit-serverless/gateway"
4949
pullPolicy: IfNotPresent
50-
tag: "0.35.1"
50+
tag: "0.36.0"
5151
application:
5252
siteHost: "http://gateway:8000"
5353
rayHost: "http://kuberay-head-svc:8265"
@@ -59,7 +59,7 @@ gateway:
5959
type: ClusterIP
6060
port: 8000
6161
ray:
62-
nodeImage: "icr.io/quantum-public/qiskit-serverless/ray-node:0.35.1"
62+
nodeImage: "icr.io/quantum-public/qiskit-serverless/ray-node:0.36.0"
6363
opensslImage: registry.access.redhat.com/ubi8/openssl:8.9-13
6464
kubectlImage: alpine/k8s:1.35.4
6565
limits:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.35.1
1+
0.36.0

client/qiskit_serverless/core/client.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,12 @@ def upload(self, program: QiskitFunction) -> Optional[RunnableQiskitFunction]:
157157
"""Uploads program."""
158158

159159
@abstractmethod
160-
def functions(self, **kwargs) -> List[RunnableQiskitFunction]:
161-
"""Returns list of available programs."""
160+
def functions(self, provider: Optional[str] = None, **kwargs) -> List[RunnableQiskitFunction]:
161+
"""Returns list of available programs.
162+
163+
Args:
164+
provider: if given, only functions belonging to this provider are returned.
165+
"""
162166

163167
@abstractmethod
164168
def function(self, title: str, provider: Optional[str] = None) -> Optional[RunnableQiskitFunction]:
@@ -174,12 +178,16 @@ def get(self, title: str, provider: Optional[str] = None) -> Optional[RunnableQi
174178
)
175179
return self.function(title, provider=provider)
176180

177-
def list(self, **kwargs) -> List[RunnableQiskitFunction]:
178-
"""Returns list of available programs."""
181+
def list(self, provider: Optional[str] = None, **kwargs) -> List[RunnableQiskitFunction]:
182+
"""Returns list of available programs.
183+
184+
Args:
185+
provider: if given, only functions belonging to this provider are returned.
186+
"""
179187
warnings.warn(
180188
"`list` method has been deprecated. "
181189
"And will be removed in future releases. "
182190
"Please, use `get_functions` instead.",
183191
DeprecationWarning,
184192
)
185-
return self.functions(**kwargs)
193+
return self.functions(provider=provider, **kwargs)

0 commit comments

Comments
 (0)