java-operator-sdk
java-operator-sdk copied to clipboard
Java SDK for building Kubernetes Operators
JOSDK does not allow switching between watching all namespaces vs managed namespaces, when dynamic namespaces are enabled: ``` flink-kubernetes-operator io.javaoperatorsdk.operator.OperatorException: Unexpected value in target namespaces: [JOSDK_ALL_NAMESPACES] │ flink-kubernetes-operator at io.javaoperatorsdk.operator.processing.Controller.changeNamespaces(Controller.java:331)...
Hi Folks, it would be great to see a higher level API for emitting events from the operator beyond what fabric8 currently offers. We ended up writing our own [utility](https://github.com/apache/flink-kubernetes-operator/blob/main/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/utils/EventRecorder.java)...
Currently the primary resource is read from the cache before the resource is submitted to the executor before the reconciliation. If there is high load the actual reconciliation process might...
There are couple of issues that needs to be solved that are related to each other. This is an umbrella issue that tries to explain the problems, relationship between them,...
(And removing in next major release.) https://github.com/java-operator-sdk/java-operator-sdk/blob/58d2ea32cad4144aa63e3836e616a23c2fa911f0/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/Context.java#L19-L21 Pros: 1. we anyway have now ` Set getSecondaryResources(Class expectedType);` which return all the resource from all the related event sources of that...
See related issue. Todo: Discuss what problem is ExecutorServiceManager is solving.
Currently an executor service is shared between the reconciliations but also used in workflows to execute separate steps. In some cases this might lead to a dead-lock (not seen it...
This test is only one that uses the mock API server and adding additional overhead and complexity for test maintenance, while could be replaced with an integration test.
TODO refine. this is analogical to https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/controller#Options CacheSyncTimeout
In the following PR: https://github.com/java-operator-sdk/java-operator-sdk/pull/1169 we made sure that every resource event source can handle multiple secondary resources for a primary. A dependent resource however now represents a single resource...