Primary Resource - The resource representing the desired state that the controller works to achieve. While often a Custom Resource, it can also be a native Kubernetes resource (Deployment, ConfigMap, etc.).
Secondary Resource - Any resource the controller needs to manage to reach the desired state represented by the primary resource. These can be created, updated, deleted, or simply read depending on the use case. For example, the
Deployment
controller managesReplicaSet
instances to realize the state represented by theDeployment
. Here,Deployment
is the primary resource whileReplicaSet
is a secondary resource.Dependent Resource - A JOSDK feature that makes managing secondary resources easier. A dependent resource represents a secondary resource with associated reconciliation logic.
Low-level API - SDK APIs that don’t use features beyond the core
Reconciler
interface (such as Dependent Resources or Workflows). See the WebPage sample. The same logic is also implemented using Dependent Resource and Workflows.
This is the multi-page printable view of this section. Click here to print.