Container Configuration ¶
Kubernetes Workload Controller resources:
are created depending on configuration values.
Global Section ¶
Default yaml defined in the global container section:
global:
container:
replicaCount: 1
resources:
requests:
cpu: 0
memory: 0
limits:
cpu: 0
memory: 0
nodeSelector: {}
tolerations: []
affinity: {}
terminationGracePeriodSeconds: 30
envFrom: []
lifecyle: {}
probes:
livenessProbe:
exec:
command:
- /opt/liveness.sh
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 4
readinessProbe:
exec:
command:
- /opt/readiness.sh
initialDelaySeconds: 30
periodSeconds: 5
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 4
startupProbe:
exec:
command:
- /opt/liveness.sh
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 90
Probes Configuration ¶
Kubernetes Probes
defined in the container:
section will be added to workloads (i.e. Deployments/StatefulSets).
Fields used to configure probes can be found here.