Skip to content

Commit

Permalink
increase timeout on readiness probe
Browse files Browse the repository at this point in the history
  • Loading branch information
nawazkh committed Dec 10, 2024
1 parent c0af4a4 commit 3adfdbf
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions test/e2e/azure_apiserver_ilb.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,21 +178,11 @@ func AzureAPIServerILBSpec(ctx context.Context, inputGetter func() AzureAPIServe
{
Name: "node-debug",
Image: "busybox:latest",
// SecurityContext: &corev1.SecurityContext{
// Privileged: ptr.To(true),
// },
Command: []string{
"sh",
"-c",
"tail -f /dev/null",
},
// VolumeMounts: []corev1.VolumeMount{
// {
// Name: "etc-hosts",
// MountPath: "/host/etc",
// ReadOnly: true,
// },
// },
ReadinessProbe: &corev1.Probe{
ProbeHandler: corev1.ProbeHandler{
Exec: &corev1.ExecAction{
Expand All @@ -201,20 +191,10 @@ func AzureAPIServerILBSpec(ctx context.Context, inputGetter func() AzureAPIServe
},
InitialDelaySeconds: 1,
PeriodSeconds: 3,
TimeoutSeconds: 60,
},
},
},
// Volumes: []corev1.Volume{
// {
// Name: "etc-hosts",
// VolumeSource: corev1.VolumeSource{
// HostPath: &corev1.HostPathVolumeSource{
// Path: "/etc/hosts",
// Type: ptr.To(corev1.HostPathFile),
// },
// },
// },
// },
},
},
},
Expand Down Expand Up @@ -262,7 +242,7 @@ func AzureAPIServerILBSpec(ctx context.Context, inputGetter func() AzureAPIServe
}

fmt.Fprintf(GinkgoWriter, "number of worker DS Nodes: %v\n", len(workerDSPods))
fmt.Fprintf(GinkgoWriter, "worker DSPods: %v\n", workerDSPods)
// fmt.Fprintf(GinkgoWriter, "worker DSPods: %v\n", workerDSPods)

Check failure on line 245 in test/e2e/azure_apiserver_ilb.go

View workflow job for this annotation

GitHub Actions / lint

commentedOutCode: may want to remove commented-out code (gocritic)

Check failure on line 245 in test/e2e/azure_apiserver_ilb.go

View workflow job for this annotation

GitHub Actions / lint (test)

commentedOutCode: may want to remove commented-out code (gocritic)
for _, pod := range workerDSPods {
fmt.Fprintf(GinkgoWriter, "Worker DS Pod Name: %v\n", pod.Name)
fmt.Fprintf(GinkgoWriter, "Worker DS Pod Spec: %v\n", pod.Spec)
Expand Down

0 comments on commit 3adfdbf

Please sign in to comment.