Skip to content

Commit

Permalink
docs: add liveness/readiness probes caikit-tgis servingruntime (trans…
Browse files Browse the repository at this point in the history
…former-container only)
  • Loading branch information
dtrifiro committed Dec 22, 2023
1 parent f463762 commit 37c3bc8
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ spec:
- containerPort: 8085
name: h2c
protocol: TCP
# readinessProbe: # NOTE: grpc probes are only supported by knative-serving>=1.12
# grpc:
# port: 8085
# livenessProbe: # NOTE: grpc probes are only supported by knative-serving>=1.12
# grpc:
# port: 8085
# resources: # configure as required
# requests:
# cpu: 8
# memory: 16Gi
# memory: 16Gi
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ objects:
ports:
- containerPort: 8080
protocol: TCP
readinessProbe:
httpGet:
path: "/health"
port: 8080
parameters:
- name: CPU_REQUEST
description: CPU request for the container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@ spec:
ports:
- containerPort: 8080
protocol: TCP
readinessProbe:
httpGet:
path: "/health"
port: 8080
livenessProbe:
httpGet:
path: "/health"
port: 8080
# resources: # configure as required
# requests:
# cpu: 8
# memory: 16Gi
# memory: 16Gi

0 comments on commit 37c3bc8

Please sign in to comment.