Skip to content

Commit

Permalink
Merge pull request #35 from kubecost/AjayTripathy-add-readiness
Browse files Browse the repository at this point in the history
add readiness check
  • Loading branch information
AjayTripathy authored May 17, 2019
2 parents 20c2d27 + 84a630b commit 7bd572c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cost-analyzer/templates/cost-analyzer-deployment-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ spec:
limits:
cpu: "100m"
memory: "256Mi"
readinessProbe:
httpGet:
path: /healthz
port: 9003
initialDelaySeconds: 30
periodSeconds: 10
failureThreshold: 200
{{- if .Values.kubecost }}
- image: {{ .Values.kubecost.image }}:prod-{{ $.Chart.Version }}
{{- else }}
Expand All @@ -67,6 +74,13 @@ spec:
cpu: "100m"
memory: "256Mi"
name: cost-analyzer-server
readinessProbe:
httpGet:
path: /healthz
port: 9003
initialDelaySeconds: 30
periodSeconds: 10
failureThreshold: 200
volumeMounts:
- name: persistent-configs
mountPath: /var/configs
Expand Down

0 comments on commit 7bd572c

Please sign in to comment.