Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 3 additions & 21 deletions chart/templates/s3proxy/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,29 +84,11 @@ spec:
resources:
{{- toYaml .Values.resources | nindent 12 }}
startupProbe:
httpGet:
path: /readyz
port: http
initialDelaySeconds: 2
periodSeconds: 2
timeoutSeconds: 3
failureThreshold: 60
{{- toYaml .Values.startupProbe | nindent 12 }}
livenessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
{{- toYaml .Values.livenessProbe | nindent 12 }}
readinessProbe:
httpGet:
path: /readyz
port: http
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3
{{- toYaml .Values.readinessProbe | nindent 12 }}
securityContext:
runAsNonRoot: true
runAsUser: 1000
Expand Down
30 changes: 30 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,36 @@ resources:
cpu: "500m"
memory: "512Mi"

# s3proxy container probes. Overridable so deployments can tolerate a busy
# single event loop: under heavy upload load a probe can take seconds to be
# served, and a tight liveness timeout restarts a live pod (drops in-flight
# uploads -> clients retry -> load spiral). Maps merge, so a deployment can set
# just e.g. livenessProbe.timeoutSeconds without restating the whole probe.
startupProbe:
httpGet:
path: /readyz
port: http
initialDelaySeconds: 2
periodSeconds: 2
timeoutSeconds: 3
failureThreshold: 60
livenessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
readinessProbe:
httpGet:
path: /readyz
port: http
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3

service:
type: ClusterIP
port: 4433
Expand Down