From 26490fe1d24022283343812dd9b0edfbe9ca2428 Mon Sep 17 00:00:00 2001 From: greg pereira Date: Mon, 3 Feb 2025 13:26:56 -0800 Subject: [PATCH] removing healthcheck-sidecar from prod Signed-off-by: greg pereira --- .../openshift/prod/kustomization.yaml | 62 +++++++++---------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/deploy/k8s/overlays/openshift/prod/kustomization.yaml b/deploy/k8s/overlays/openshift/prod/kustomization.yaml index 60c84c20..8645b61a 100644 --- a/deploy/k8s/overlays/openshift/prod/kustomization.yaml +++ b/deploy/k8s/overlays/openshift/prod/kustomization.yaml @@ -3,7 +3,7 @@ kind: Kustomization namespace: instructlab resources: - ../../../base - - ../common + # - ../common - issuer.yaml - certificate.yaml - prod.env.sealedsecret.yaml @@ -24,38 +24,38 @@ patches: - op: replace path: /spec/tls/0/hosts/0 value: ui.instructlab.ai - - target: - kind: Deployment - name: ui - patch: |- - - op: replace - path: /spec/template/spec/containers/0/envFrom/0/secretRef/name - value: prod.env - - op: add - path: /spec/template/spec/containers/0/readinessProbe - value: - exec: - command: - - sh - - -c - - "/opt/app-root/src/src/healthcheck-probe.sh" - initialDelaySeconds: 5 - periodSeconds: 10 - - op: add - path: /spec/template/spec/containers/- - value: - name: model-endpoint-healthcheck-sidecar - image: quay.io/instructlab-ui/healthcheck-sidecar - # imagePullPolicy: Always # until image lands in quay cannot use pullPolicy: Always - ports: - - containerPort: 8080 - envFrom: - - secretRef: - name: prod.env + # - target: + # kind: Deployment + # name: ui + # patch: |- + # - op: replace + # path: /spec/template/spec/containers/0/envFrom/0/secretRef/name + # value: prod.env + # - op: add + # path: /spec/template/spec/containers/0/readinessProbe + # value: + # exec: + # command: + # - sh + # - -c + # - "/opt/app-root/src/src/healthcheck-probe.sh" + # initialDelaySeconds: 5 + # periodSeconds: 10 + # - op: add + # path: /spec/template/spec/containers/- + # value: + # name: model-endpoint-healthcheck-sidecar + # image: quay.io/instructlab-ui/healthcheck-sidecar + # # imagePullPolicy: Always # until image lands in quay cannot use pullPolicy: Always + # ports: + # - containerPort: 8080 + # envFrom: + # - secretRef: + # name: prod.env images: - name: quay.io/instructlab-ui/ui newTag: v1.0.0-beta.3 - name: quay.io/instructlab-ui/pathservice newTag: v1.0.0-beta.3 - - name: quay.io/instructlab-ui/healthcheck-sidecar - newTag: main # not currently available in our quay org + # - name: quay.io/instructlab-ui/healthcheck-sidecar + # newTag: main # not currently available in our quay org