You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Create `SharedIndexInformer` for some Kubernetes Resource(requires resource's class and resync period(when to check with server again while watching something). By default it watches in all namespaces.:
1834
+
- Create `SharedIndexInformer` for some Kubernetes Resource(requires resource's class and resync period (emits a dummy update event on that interval so that the handler can act again). By default it watches in all namespaces.:
You are not limited to just creating cluster wide informers, if you want to be informed about a particular context then use the Informable interface and inform methods.
1884
+
1885
+
- Create namespaced `SharedIndexInformer` (informers specific to a particular `Namespace`):
- Create Namespaced Informer for a Custom Resource(**Note:** Your CustomResource POJO must implement `Namespaced` interface like the one used in this example: [Dummy.java](https://github.com/fabric8io/kubernetes-client/blob/master/kubernetes-examples/src/main/java/io/fabric8/kubernetes/examples/crds/Dummy.java))
1901
1907
You should have your CustomResource type POJO annotated with group, version fields with respect to your CRD:
@@ -1913,33 +1919,24 @@ public class Dummy extends CustomResource<DummySpec, KubernetesResource> impleme
0 commit comments