Skip to content

Commit 2d4bc30

Browse files
committed
Doc update
1 parent ac323b7 commit 2d4bc30

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/troubleshooting/01_trouble-shooting.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ This paged will be updated and maintained over time to include common issues we
1515
1616
== Contents
1717
18+
* <<#restart,Why Does the Operator Pod Restart>>
19+
1820
* <<#stuck-pending,My Coherence cluster is stuck with some running Pods and some pending Pods, I want to scale down>>
1921
2022
* <<#stuck-delete,My Coherence cluster is stuck with all pending/crashing Pods, I cannot delete the deployment>>
@@ -25,6 +27,16 @@ This paged will be updated and maintained over time to include common issues we
2527
2628
== Issues
2729
30+
[#restart]
31+
=== Why Does the Operator Pod Restart After Installation
32+
33+
You might notice that when the Operator is installed that the Operator Pod starts, dies and is then restarted.
34+
This is expected behaviour. The Operator uses a K8s web-hook for defaulting and validation of the Coherence resources.
35+
A web-hook requires certificates to be present in a `Secret` mounted to the Operator Pod as a volume.
36+
If this Secret is not present the Operator creates it and populates it with self-signed certs.
37+
In order for the Secret to then be mounted correctly the Pod must be restarted.
38+
See the <<webhooks/01_introduction.adoc,the WebHooks>> documentation.
39+
2840
[#stuck-pending]
2941
=== My Coherence cluster is stuck with some running Pods and some pending Pods, I want to scale down
3042

test/e2e/helm/helm_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,8 @@ func AssertHelmInstallWithSubTest(id string, cmd *exec.Cmd, g *GomegaWithT, ns s
247247
}
248248

249249
func Cleanup(namespace, name string) {
250+
_ = helper.WaitForCoherenceCleanup(testContext, namespace)
251+
250252
cmd := exec.Command("helm", "uninstall", "--namespace", namespace, name)
251253
cmd.Stdout = os.Stdout
252254
cmd.Stderr = os.Stderr

0 commit comments

Comments
 (0)