Skip to content

Commit

Permalink
fix(charts/prow): adjust the probes (#1256)
Browse files Browse the repository at this point in the history
Signed-off-by: wuhuizuo <[email protected]>
  • Loading branch information
wuhuizuo authored Sep 10, 2024
1 parent 342c3b4 commit b8b1b9c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/prow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type: application
# time you make changes to the chart and its templates,
# including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: "0.9.9"
version: "0.9.10"

# This is the version number of the application being deployed.
# This version number should be incremented each time you make changes to the
Expand Down
13 changes: 10 additions & 3 deletions charts/prow/templates/components/tide/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,20 +80,27 @@ spec:
name: kubeconfig
readOnly: true
{{- end }}
startupProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 60
periodSeconds: 10
failureThreshold: 60
livenessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 30
initialDelaySeconds: 60
periodSeconds: 30
timeoutSeconds: 5
timeoutSeconds: 10
readinessProbe:
httpGet:
path: /healthz/ready
port: http
initialDelaySeconds: 60
periodSeconds: 30
timeoutSeconds: 5
timeoutSeconds: 10
resources:
{{- toYaml .Values.tide.resources | nindent 12 }}
volumes:
Expand Down
6 changes: 6 additions & 0 deletions charts/prow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,12 @@ tide:
create: true
name: ""
resources: {}
# requests:
# cpu: 1000m
# memory: 4Gi
# limits:
# cpu: 1000m
# memory: 4Gi
kubeconfigSecret: ""

pipeline:
Expand Down

0 comments on commit b8b1b9c

Please sign in to comment.