Skip to content

Commit 0e55c64

Browse files
committed
docs: stop or not operator at startop in case of informer errors
1 parent 2cb616c commit 0e55c64

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/documentation/patterns-best-practices.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ possible to completely deactivate the feature, though we advise against it. The
8484
configure automatic retries for your `Reconciler` is due to the fact that errors occur quite
8585
often due to the distributed nature of Kubernetes: transient network errors can be easily dealt
8686
with by automatic retries. Similarly, resources can be modified by different actors at the same
87-
time so it's not unheard of to get conflicts when working with Kubernetes resources. Such
87+
time, so it's not unheard of to get conflicts when working with Kubernetes resources. Such
8888
conflicts can usually be quite naturally resolved by reconciling the resource again. If it's
8989
done automatically, the whole process can be completely transparent.
9090

@@ -105,3 +105,9 @@ advised to put such state into a separate resource meant for this purpose such a
105105
Kubernetes Secret or ConfigMap or even a dedicated Custom Resource, which structure can be more
106106
easily validated.
107107

108+
## Stopping (or not) Operator in case of Informer Errors During Startup
109+
110+
It can
111+
be [configured](https://github.com/java-operator-sdk/java-operator-sdk/blob/2cb616c4c4fd0094ee6e3a0ef2a0ea82173372bf/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java#L168-L168)
112+
on Operator level, if it should stop in case of informer errors on startup.
113+

0 commit comments

Comments
 (0)