mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-03 19:41:24 +02:00
Init add liveness probe
Signed-off-by: DavidSpek <vanderspek.david@gmail.com>
This commit is contained in:
committed by
David van der Spek
parent
af084a5a65
commit
db96273ab3
@@ -125,6 +125,7 @@ func (c *Controller) importConfigurationFromCRD(fromCRD *acidv1.OperatorConfigur
|
||||
result.PodAntiAffinityTopologyKey = util.Coalesce(fromCRD.Kubernetes.PodAntiAffinityTopologyKey, "kubernetes.io/hostname")
|
||||
result.PodAntiAffinityPreferredDuringScheduling = fromCRD.Kubernetes.PodAntiAffinityPreferredDuringScheduling
|
||||
result.PodToleration = fromCRD.Kubernetes.PodToleration
|
||||
result.LivenessProbe = fromCRD.Kubernetes.LivenessProbe
|
||||
|
||||
// Postgres Pod resources
|
||||
result.DefaultCPURequest = util.Coalesce(fromCRD.PostgresPodResources.DefaultCPURequest, "100m")
|
||||
|
||||
Reference in New Issue
Block a user