Skip to content

Commit

Permalink
Merge pull request #3955 from jonesbr17/pick-3889
Browse files Browse the repository at this point in the history
[release-4.15] OCPBUGS-33207: Remove kube-scheduler readiness probe
  • Loading branch information
openshift-merge-bot[bot] committed May 7, 2024
2 parents dd11db9 + af5fe44 commit 96c08c3
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 96c08c3

Please sign in to comment.