Skip to content

Commit d0c6f14

Browse files
authored
Update operator namespace string (#137)
1 parent 2a5c0f4 commit d0c6f14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sagemaker/hyperpod/inference/config/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
INFERENCE_ENDPOINT_CONFIG_KIND = "InferenceEndpointConfig"
1111
INFERENCE_ENDPOINT_CONFIG_PLURAL = "inferenceendpointconfigs"
1212
DEFAULT_MOUNT_PATH = "/opt/ml/model"
13-
OPERATOR_NAMESPACE = "hyperpod-inference-operator-system"
13+
OPERATOR_NAMESPACE = "hyperpod-inference-system"
1414

1515
KIND_PLURAL_MAP = {
1616
JUMPSTART_MODEL_KIND: JUMPSTART_MODEL_PLURAL,

src/sagemaker/hyperpod/inference/hp_endpoint_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def get_operator_logs(cls, since_hours: float):
135135

136136
v1 = client.CoreV1Api()
137137

138-
pods = v1.list_namespaced_pod(namespace="hyperpod-inference-operator-system")
138+
pods = v1.list_namespaced_pod(namespace=OPERATOR_NAMESPACE)
139139

140140
if not pods.items:
141141
raise Exception(

0 commit comments

Comments
 (0)