Skip to content

Commit

Permalink
Merge pull request #3889 from jonesbr17/remove-scheduler-readiness-probe
Browse files Browse the repository at this point in the history
OCPBUGS-32255: Remove kube-scheduler readiness probe
  • Loading branch information
openshift-merge-bot[bot] authored and jonesbr17 committed Apr 29, 2024
1 parent 6c2d1fa commit af5fe44
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,6 @@ func NewKubeSchedulerParams(ctx context.Context, hcp *hyperv1.HostedControlPlane
TimeoutSeconds: 5,
},
}
params.ReadinessProbes = config.ReadinessProbes{
schedulerContainerMain().Name: {
ProbeHandler: corev1.ProbeHandler{
HTTPGet: &corev1.HTTPGetAction{
Path: "/healthz",
Port: intstr.FromInt(schedulerSecurePort),
Scheme: corev1.URISchemeHTTPS,
},
},
InitialDelaySeconds: 15,
PeriodSeconds: 60,
SuccessThreshold: 1,
FailureThreshold: 3,
TimeoutSeconds: 5,
},
}
params.DeploymentConfig.SetDefaults(hcp, labels, nil)
params.DeploymentConfig.SetRestartAnnotation(hcp.ObjectMeta)
params.SetDefaultSecurityContext = setDefaultSecurityContext
Expand Down

0 comments on commit af5fe44

Please sign in to comment.