<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dependent resources and workflows on Java Operator SDK</title><link>https://aerben.github.io/josdk-docs-test/v5.2/docs/documentation/dependent-resource-and-workflows/</link><description>Recent content in Dependent resources and workflows on Java Operator SDK</description><generator>Hugo</generator><language>en</language><atom:link href="https://aerben.github.io/josdk-docs-test/v5.2/docs/documentation/dependent-resource-and-workflows/index.xml" rel="self" type="application/rss+xml"/><item><title>Dependent resources</title><link>https://aerben.github.io/josdk-docs-test/v5.2/docs/documentation/dependent-resource-and-workflows/dependent-resources/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://aerben.github.io/josdk-docs-test/v5.2/docs/documentation/dependent-resource-and-workflows/dependent-resources/</guid><description>&lt;h2 id="motivations-and-goals"&gt;Motivations and Goals&lt;/h2&gt;
&lt;p&gt;Most operators need to deal with secondary resources when trying to realize the desired state
described by the primary resource they are in charge of. For example, the Kubernetes-native
&lt;code&gt;Deployment&lt;/code&gt; controller needs to manage &lt;code&gt;ReplicaSet&lt;/code&gt; instances as part of a &lt;code&gt;Deployment&lt;/code&gt;&amp;rsquo;s
reconciliation process. In this instance, &lt;code&gt;ReplicatSet&lt;/code&gt; is considered a secondary resource for
the &lt;code&gt;Deployment&lt;/code&gt; controller.&lt;/p&gt;
&lt;p&gt;Controllers that deal with secondary resources typically need to perform the following steps, for
each secondary resource:&lt;/p&gt;</description></item><item><title>Workflows</title><link>https://aerben.github.io/josdk-docs-test/v5.2/docs/documentation/dependent-resource-and-workflows/workflows/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://aerben.github.io/josdk-docs-test/v5.2/docs/documentation/dependent-resource-and-workflows/workflows/</guid><description>&lt;h2 id="overview"&gt;Overview&lt;/h2&gt;
&lt;p&gt;Kubernetes (k8s) does not have the notion of a resource &amp;ldquo;depending on&amp;rdquo; on another k8s resource,
at least not in terms of the order in which these resources should be reconciled. Kubernetes
operators typically need to reconcile resources in order because these resources&amp;rsquo; state often
depends on the state of other resources or cannot be processed until these other resources reach
a given state or some condition holds true for them. Dealing with such scenarios are therefore
rather common for operators and the purpose of the workflow feature of the Java Operator SDK
(JOSDK) is to simplify supporting such cases in a declarative way. Workflows build on top of the
&lt;a href="https://javaoperatorsdk.io/docs/documentation/dependent-resource-and-workflows/dependent-resources/"&gt;dependent resources&lt;/a&gt; feature.
While dependent resources focus on how a given secondary resource should be reconciled,
workflows focus on orchestrating how these dependent resources should be reconciled.&lt;/p&gt;</description></item></channel></rss>