Skip to content

Commit

Permalink
removing healthcheck-sidecar from prod
Browse files Browse the repository at this point in the history
Signed-off-by: greg pereira <[email protected]>
  • Loading branch information
Gregory-Pereira committed Feb 3, 2025
1 parent f30143e commit 26490fe
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions deploy/k8s/overlays/openshift/prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: Kustomization
namespace: instructlab
resources:
- ../../../base
- ../common
# - ../common
- issuer.yaml
- certificate.yaml
- prod.env.sealedsecret.yaml
Expand All @@ -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

0 comments on commit 26490fe

Please sign in to comment.