From 13e94e6ad4946162dbe5bdbbd5f296237ac45e3e Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Wed, 17 Apr 2024 12:03:49 +0200 Subject: [PATCH] fixes Signed-off-by: Anatolii Bazko --- .../devworkspace/solver/che_routing.go | 34 ------------------- 1 file changed, 34 deletions(-) diff --git a/controllers/devworkspace/solver/che_routing.go b/controllers/devworkspace/solver/che_routing.go index 5255a9fe6..cdc697eaa 100644 --- a/controllers/devworkspace/solver/che_routing.go +++ b/controllers/devworkspace/solver/che_routing.go @@ -197,40 +197,6 @@ func (c *CheRoutingSolver) provisionPodAdditions(objs *solvers.RoutingObjects, c corev1.ResourceCPU: resource.MustParse(constants.DefaultGatewayCpuRequest), }, }, - ReadinessProbe: &corev1.Probe{ - ProbeHandler: corev1.ProbeHandler{ - HTTPGet: &corev1.HTTPGetAction{ - Path: "/ping", - Port: intstr.IntOrString{ - Type: intstr.Int, - IntVal: int32(8090), - }, - Scheme: corev1.URISchemeHTTP, - }, - }, - InitialDelaySeconds: 5, - TimeoutSeconds: 5, - PeriodSeconds: 5, - SuccessThreshold: 1, - FailureThreshold: 5, - }, - LivenessProbe: &corev1.Probe{ - ProbeHandler: corev1.ProbeHandler{ - HTTPGet: &corev1.HTTPGetAction{ - Path: "/ping", - Port: intstr.IntOrString{ - Type: intstr.Int, - IntVal: int32(8090), - }, - Scheme: corev1.URISchemeHTTP, - }, - }, - InitialDelaySeconds: 15, - TimeoutSeconds: 5, - PeriodSeconds: 5, - SuccessThreshold: 1, - FailureThreshold: 5, - }, } if err := deploy.OverrideContainer(routing.GetNamespace(), gatewayContainer, cheCluster.Spec.DevEnvironments.GatewayContainer); err != nil {