Skip to content

Fallback Defaults

  • .Values.fallbackDefaults

fallbackDefaults:
probeType: http
serviceProtocol: tcp
serviceType: ClusterIP
storageClass:
persistenceType: emptyDir
pvcRetain: true
pvcSize: 100Gi
vctSize: 100Gi
accessModes:
- ReadWriteOnce
probeTimeouts:
liveness:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
successThreshold: 1
readiness:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
successThreshold: 2
startup:
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 60
successThreshold: 1
topologyKey: kubernetes.io/hostname

Define default probe type when not defined in the container level

KeyfallbackDefaults.probeType
Typestring
Required
Helm tpl
Defaulthttp

Valid Values:

Example

fallbackDefaults:
probeType: http

Define default service protocol when not defined in the service

KeyfallbackDefaults.serviceProtocol
Typestring
Required
Helm tpl
Defaulttcp

Valid Values:

Example

fallbackDefaults:
serviceProtocol: tcp

Define default service type when not defined in the service

KeyfallbackDefaults.serviceType
Typestring
Required
Helm tpl
DefaultClusterIP

Valid Values:

Example

fallbackDefaults:
serviceType: ClusterIP

Define default storage class when not defined in the persistence

KeyfallbackDefaults.storageClass
Typestring
Required
Helm tpl
Defaultunset

Example

fallbackDefaults:
storageClass: some-storage-class

Define default persistence type when not defined in the persistence

KeyfallbackDefaults.persistenceType
Typestring
Required
Helm tpl
DefaultemptyDir

Valid Values:

Example

fallbackDefaults:
persistenceType: pvc

Define default pvc retain when not defined in the persistence

KeyfallbackDefaults.pvcRetain
Typebool
Required
Helm tpl
Defaulttrue

Example

fallbackDefaults:
pvcRetain: true

Define default pvc size when not defined in the persistence

KeyfallbackDefaults.pvcSize
Typestring
Required
Helm tpl
Default100Gi

Example

fallbackDefaults:
pvcSize: 100Gi

Define default vct size when not defined in the persistence

KeyfallbackDefaults.vctSize
Typestring
Required
Helm tpl
Default100Gi

Example

fallbackDefaults:
vctSize: 100Gi

Define default access modes when not defined in the persistence

KeyfallbackDefaults.accessModes
Typelist of string
Required
Helm tpl
DefaultReadWriteOnce

Example

fallbackDefaults:
accessModes:
- ReadWriteOnce

Define default probe timeouts if not defined in the container

KeyfallbackDefaults.probeTimeouts
Typemap
Required
Helm tpl

Default

fallbackDefaults:
probeTimeouts:
liveness:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
successThreshold: 1
readiness:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
successThreshold: 2
startup:
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 60
successThreshold: 1

Example

fallbackDefaults:
probeTimeouts:
liveness:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
successThreshold: 1
readiness:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
successThreshold: 2
startup:
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 60
successThreshold: 1

Define default liveness probe timeouts if not defined in the container

KeyfallbackDefaults.probeTimeouts.liveness
Typemap
Required
Helm tpl

Default

fallbackDefaults:
probeTimeouts:
liveness:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
successThreshold: 1

Example

fallbackDefaults:
probeTimeouts:
liveness:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
successThreshold: 1

probeTimeouts.liveness.initialDelaySeconds

Section titled “probeTimeouts.liveness.initialDelaySeconds”

Define default liveness probe initialDelaySeconds if not defined in the container

KeyfallbackDefaults.probeTimeouts.liveness.initialDelaySeconds
Typeint
Required
Helm tpl
Default10

Example

fallbackDefaults:
probeTimeouts:
liveness:
initialDelaySeconds: 10

Define default liveness probe periodSeconds if not defined in the container

KeyfallbackDefaults.probeTimeouts.liveness.periodSeconds
Typeint
Required
Helm tpl
Default10

Example

fallbackDefaults:
probeTimeouts:
liveness:
periodSeconds: 10

Define default liveness probe timeoutSeconds if not defined in the container

KeyfallbackDefaults.probeTimeouts.liveness.timeoutSeconds
Typeint
Required
Helm tpl
Default5

Example

fallbackDefaults:
probeTimeouts:
liveness:
timeoutSeconds: 5

Define default liveness probe failureThreshold if not defined in the container

KeyfallbackDefaults.probeTimeouts.liveness.failureThreshold
Typeint
Required
Helm tpl
Default5

Example

fallbackDefaults:
probeTimeouts:
liveness:
failureThreshold: 5

Define default liveness probe successThreshold if not defined in the container

KeyfallbackDefaults.probeTimeouts.liveness.successThreshold
Typeint
Required
Helm tpl
Default1

Example

fallbackDefaults:
probeTimeouts:
liveness:
successThreshold: 1

Define default readiness probe timeouts if not defined in the container

KeyfallbackDefaults.probeTimeouts.readiness
Typemap
Required
Helm tpl

Default

fallbackDefaults:
probeTimeouts:
readiness:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
successThreshold: 2

Example

fallbackDefaults:
probeTimeouts:
readiness:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
successThreshold: 2

probeTimeouts.readiness.initialDelaySeconds

Section titled “probeTimeouts.readiness.initialDelaySeconds”

Define default readiness probe initialDelaySeconds if not defined in the container

KeyfallbackDefaults.probeTimeouts.readiness.initialDelaySeconds
Typeint
Required
Helm tpl
Default10

Example

fallbackDefaults:
probeTimeouts:
readiness:
initialDelaySeconds: 10

Define default readiness probe periodSeconds if not defined in the container

KeyfallbackDefaults.probeTimeouts.readiness.periodSeconds
Typeint
Required
Helm tpl
Default10

Example

fallbackDefaults:
probeTimeouts:
readiness:
periodSeconds: 10

Define default readiness probe timeoutSeconds if not defined in the container

KeyfallbackDefaults.probeTimeouts.readiness.timeoutSeconds
Typeint
Required
Helm tpl
Default5

Example

fallbackDefaults:
probeTimeouts:
readiness:
timeoutSeconds: 5

Define default readiness probe failureThreshold if not defined in the container

KeyfallbackDefaults.probeTimeouts.readiness.failureThreshold
Typeint
Required
Helm tpl
Default5

Example

fallbackDefaults:
probeTimeouts:
readiness:
failureThreshold: 5

Define default readiness probe successThreshold if not defined in the container

KeyfallbackDefaults.probeTimeouts.readiness.successThreshold
Typeint
Required
Helm tpl
Default2

Example

fallbackDefaults:
probeTimeouts:
readiness:
successThreshold: 2

Define default startup probe timeouts if not defined in the container

KeyfallbackDefaults.probeTimeouts.startup
Typemap
Required
Helm tpl

Default

fallbackDefaults:
probeTimeouts:
startup:
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 60
successThreshold: 1

Example

fallbackDefaults:
probeTimeouts:
startup:
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 60
successThreshold: 1

Define default startup probe initialDelaySeconds if not defined in the container

KeyfallbackDefaults.probeTimeouts.startup.initialDelaySeconds
Typeint
Required
Helm tpl
Default10

Example

fallbackDefaults:
probeTimeouts:
startup:
initialDelaySeconds: 10

Define default startup probe periodSeconds if not defined in the container

KeyfallbackDefaults.probeTimeouts.startup.periodSeconds
Typeint
Required
Helm tpl
Default5

Example

fallbackDefaults:
probeTimeouts:
startup:
periodSeconds: 5

Define default startup probe timeoutSeconds if not defined in the container

KeyfallbackDefaults.probeTimeouts.startup.timeoutSeconds
Typeint
Required
Helm tpl
Default2

Example

fallbackDefaults:
probeTimeouts:
startup:
timeoutSeconds: 2

Define default startup probe failureThreshold if not defined in the container

KeyfallbackDefaults.probeTimeouts.startup.failureThreshold
Typeint
Required
Helm tpl
Default60

Example

fallbackDefaults:
probeTimeouts:
startup:
failureThreshold: 60

Define default startup probe successThreshold if not defined in the container

KeyfallbackDefaults.probeTimeouts.startup.successThreshold
Typeint
Required
Helm tpl
Default1

Example

fallbackDefaults:
probeTimeouts:
startup:
successThreshold: 1

Define default topologyKey for topologySpreadConstraints in podOptions

KeyfallbackDefaults.topologyKey
Typestring
Required
Helm tpl
Defaultkubernetes.io/hostname

fallbackDefaults:
probeType: http
serviceProtocol: tcp
serviceType: ClusterIP
persistenceType: pvc
probeTimeouts:
liveness:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
successThreshold: 1
readiness:
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 5
successThreshold: 2
startup:
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 2
failureThreshold: 60
successThreshold: 1
topologyKey: truecharts.org/example