Skip to content

Commit b1f50dd

Browse files
committed
RHAIENG-287: fix(kustomization.yaml): abbreviate namePrefix to resolve Kubernetes label character limit issue
``` kubernetes namespace events [INFO] Running command (('kubectl get events',), {'shell': True}) LAST SEEN TYPE REASON OBJECT MESSAGE 71s Warning FailedCreate statefulset/jupyter-pytorch-llmcompressor-ubi9-python-3-12-notebook create Pod jupyter-pytorch-llmcompressor-ubi9-python-3-12-notebook-0 in StatefulSet jupyter-pytorch-llmcompressor-ubi9-python-3-12-notebook failed error: Pod "jupyter-pytorch-llmcompressor-ubi9-python-3-12-notebook-0" is invalid: metadata.labels: Invalid value: "jupyter-pytorch-llmcompressor-ubi9-python-3-12-notebook-7d69c59fc6": must be no more than 63 characters ```
1 parent 72a6741 commit b1f50dd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

jupyter/pytorch+llmcompressor/ubi9-python-3.12/kustomize/base/kustomization.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
---
22
apiVersion: kustomize.config.k8s.io/v1beta1
33
kind: Kustomization
4-
namePrefix: jupyter-pytorch-llmcompressor-ubi9-python-3-12-
4+
# have to abbreviate the prefix, otherwise we'd go over the 63 character limit
5+
# > Pod "jupyter-pytorch-llmcompressor-ubi9-python-3-12-notebook-0" is invalid: metadata.labels: Invalid value: "jupyter-pytorch-llmcompressor-ubi9-python-3-12-notebook-7d69c59fc6": must be no more than 63 characters
6+
namePrefix: jupyter-pt-llmcompress-ubi9-python-3-12-
57
labels:
68
- includeSelectors: true
79
pairs:

0 commit comments

Comments
 (0)