Skip to content

Commit 66682b9

Browse files
Merge pull request #476 from beagles/simple-unbound-health
Revert unbound health checks to pgrep
2 parents 0bb87d9 + 5b2e52b commit 66682b9

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

internal/designateunbound/statefulset.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,10 @@ func StatefulSet(instance *designatev1beta1.DesignateUnbound,
8282

8383
livenessProbe.Exec = &corev1.ExecAction{
8484
Command: []string{
85-
"/usr/sbin/unbound-streamtcp", "-u", ".", "SOA", "IN",
86-
},
87-
}
88-
89-
readinessProbe.Exec = &corev1.ExecAction{
90-
Command: []string{
91-
"/usr/sbin/unbound-streamtcp", "-u", ".", "SOA", "IN",
85+
"/usr/bin/pgrep", "-r", "DRST", "-f", "unbound",
9286
},
9387
}
88+
readinessProbe.Exec = livenessProbe.Exec
9489

9590
envVars := map[string]env.Setter{}
9691
envVars["KOLLA_CONFIG_STRATEGY"] = env.SetValue("COPY_ALWAYS")

0 commit comments

Comments
 (0)