[{"data":1,"prerenderedAt":4},["ShallowReactive",2],{"docs:\u002Fdocs\u002Fdeploying\u002Frendering-and-deploying":3},"\u003Cp>Klass8s stops at plain YAML, on purpose: nothing of it runs in the cluster, it keeps no state, and its output does not depend on it. This page covers the way from there to a running cluster: the bundle&#39;s render and dump commands, \u003Ccode>kubectl\u003C\u002Fcode>, GitOps, and how to order a deploy with what every rendered resource carries.\u003C\u002Fp>\n\u003Ch2 id=\"rendering-yaml-to-standard-output\">\u003Ca class=\"anchor\" href=\"#rendering-yaml-to-standard-output\" aria-label=\"Link to this section\">\u003C\u002Fa>Rendering: YAML to standard output\u003C\u002Fh2>\n\u003Cfigure class=\"plain\">\u003Cdiv class=\"block-pane\">\u003Cbutton type=\"button\" class=\"copy\" data-copy aria-label=\"Copy the code\">Copy\u003C\u002Fbutton>\u003Cpre class=\"shiki shiki-themes klass8s-light klass8s-dark\" style=\"--k8s-light:#191b2e;--k8s-dark:#e7e9f2;--k8s-light-bg:#fbfbf8;--k8s-dark-bg:#181b33\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\">bin\u002Fconsole\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> k8s:render:apps\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#676C7E;--k8s-light-font-style:italic;--k8s-dark:#9095AD;--k8s-dark-font-style:italic\">                # every App\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\">bin\u002Fconsole\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> k8s:render:apps\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> shop\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> billing\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#676C7E;--k8s-light-font-style:italic;--k8s-dark:#9095AD;--k8s-dark-font-style:italic\">   # some\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\">bin\u002Fconsole\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> k8s:render:helm\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#676C7E;--k8s-light-font-style:italic;--k8s-dark:#9095AD;--k8s-dark-font-style:italic\">                # every Helm release\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\">bin\u002Fconsole\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> k8s:render:all\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#676C7E;--k8s-light-font-style:italic;--k8s-dark:#9095AD;--k8s-dark-font-style:italic\">                 # Apps, then releases, one stream (alias k8s:render)\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003C\u002Ffigure>\n\u003Cp>The output is one multi-document YAML stream, each document after a \u003Ccode># File:\u003C\u002Fcode> comment that names the file \u003Ccode>k8s:dump:*\u003C\u002Fcode> would write, so a long stream stays navigable. Two properties make it the main interface rather than a debugging aid:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Cstrong>Deterministic.\u003C\u002Fstrong> The same code, configuration and \u003Ccode>APP_ENV\u003C\u002Fcode> give the same bytes, so a diff of the output means something.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Composable.\u003C\u002Fstrong> It pipes into anything that reads YAML: \u003Ccode>kubectl\u003C\u002Fcode>, \u003Ccode>kubectl diff\u003C\u002Fcode>, \u003Ccode>yq\u003C\u002Fcode>, a GitOps repository.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>The environment is chosen the Symfony way:\u003C\u002Fp>\n\u003Cfigure class=\"plain\">\u003Cdiv class=\"block-pane\">\u003Cbutton type=\"button\" class=\"copy\" data-copy aria-label=\"Copy the code\">Copy\u003C\u002Fbutton>\u003Cpre class=\"shiki shiki-themes klass8s-light klass8s-dark\" style=\"--k8s-light:#191b2e;--k8s-dark:#e7e9f2;--k8s-light-bg:#fbfbf8;--k8s-dark-bg:#181b33\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--k8s-light:#191B2E;--k8s-dark:#E7E9F2\">APP_ENV\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#5A5F73;--k8s-dark:#A7ABC0\">=\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\">prod\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\"> bin\u002Fconsole\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> k8s:render:apps\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#5A5F73;--k8s-dark:#A7ABC0\"> |\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\"> kubectl\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> diff\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#9A3D0C;--k8s-dark:#F3A978\"> -f\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> -\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003C\u002Ffigure>\n\u003Cp>An App with nothing to render prints nothing.\u003C\u002Fp>\n\u003Ch2 id=\"dumping-yaml-to-files\">\u003Ca class=\"anchor\" href=\"#dumping-yaml-to-files\" aria-label=\"Link to this section\">\u003C\u002Fa>Dumping: YAML to files\u003C\u002Fh2>\n\u003Cfigure class=\"plain\">\u003Cdiv class=\"block-pane\">\u003Cbutton type=\"button\" class=\"copy\" data-copy aria-label=\"Copy the code\">Copy\u003C\u002Fbutton>\u003Cpre class=\"shiki shiki-themes klass8s-light klass8s-dark\" style=\"--k8s-light:#191b2e;--k8s-dark:#e7e9f2;--k8s-light-bg:#fbfbf8;--k8s-dark-bg:#181b33\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\">bin\u002Fconsole\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> k8s:dump:apps\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#676C7E;--k8s-light-font-style:italic;--k8s-dark:#9095AD;--k8s-dark-font-style:italic\">            # or k8s:dump:helm, k8s:dump:all (alias k8s:dump)\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\">bin\u002Fconsole\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> k8s:dump:all\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#9A3D0C;--k8s-dark:#F3A978\"> -D\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> build\u002F\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#676C7E;--k8s-light-font-style:italic;--k8s-dark:#9095AD;--k8s-dark-font-style:italic\">   # another output directory\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\">bin\u002Fconsole\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> k8s:dump:all\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#9A3D0C;--k8s-dark:#F3A978\"> -R\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#676C7E;--k8s-light-font-style:italic;--k8s-dark:#9095AD;--k8s-dark-font-style:italic\">          # empty the environment's directory first\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003C\u002Ffigure>\n\u003Cp>Files go under \u003Ccode>&lt;manifests_dir&gt;\u002F&lt;env&gt;\u002F\u003C\u002Fcode>, so the environments never overwrite each other:\u003C\u002Fp>\n\u003Cfigure class=\"plain\">\u003Cdiv class=\"block-pane\">\u003Cbutton type=\"button\" class=\"copy\" data-copy aria-label=\"Copy the code\">Copy\u003C\u002Fbutton>\u003Cpre class=\"shiki shiki-themes klass8s-light klass8s-dark\" style=\"--k8s-light:#191b2e;--k8s-dark:#e7e9f2;--k8s-light-bg:#fbfbf8;--k8s-dark-bg:#181b33\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan>var\u002Fk8s-manifests\u002Fdev\u002F\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>├── apps\u002F\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>│   └── shop\u002F\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>│       ├── api.deployment.yaml\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>│       ├── api.service.yaml\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>│       └── config.config-map.yaml\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>└── helm\u002F\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>    └── valkey\u002F\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan>        └── valkey-primary.stateful-set.yaml\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003C\u002Ffigure>\n\u003Cp>One file per resource, named \u003Ccode>&lt;name&gt;.&lt;kind&gt;.yaml\u003C\u002Fcode> with the kind in kebab case. Without \u003Ccode>-R\u003C\u002Fcode>, a dump never deletes: a manifest removed from the code leaves its old file behind, so use \u003Ccode>-R\u003C\u002Fcode> for anything that feeds a deploy. Dump when you want files: a tree to commit for GitOps, to attach to a release, or to hand to a tool that reads directories.\u003C\u002Fp>\n\u003Ch2 id=\"kubectl\">\u003Ca class=\"anchor\" href=\"#kubectl\" aria-label=\"Link to this section\">\u003C\u002Fa>kubectl\u003C\u002Fh2>\n\u003Cp>For one environment on a cluster you manage yourself, this is the whole deployment:\u003C\u002Fp>\n\u003Cfigure class=\"plain\">\u003Cdiv class=\"block-pane\">\u003Cbutton type=\"button\" class=\"copy\" data-copy aria-label=\"Copy the code\">Copy\u003C\u002Fbutton>\u003Cpre class=\"shiki shiki-themes klass8s-light klass8s-dark\" style=\"--k8s-light:#191b2e;--k8s-dark:#e7e9f2;--k8s-light-bg:#fbfbf8;--k8s-dark-bg:#181b33\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\">bin\u002Fconsole\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> k8s:render:apps\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#5A5F73;--k8s-dark:#A7ABC0\"> |\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\"> kubectl\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> diff\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#9A3D0C;--k8s-dark:#F3A978\"> -f\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> -\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#676C7E;--k8s-light-font-style:italic;--k8s-dark:#9095AD;--k8s-dark-font-style:italic\">        # what would change\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\">bin\u002Fconsole\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> k8s:render:apps\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#5A5F73;--k8s-dark:#A7ABC0\"> |\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\"> kubectl\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> apply\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#9A3D0C;--k8s-dark:#F3A978\"> -f\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> -\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#676C7E;--k8s-light-font-style:italic;--k8s-dark:#9095AD;--k8s-dark-font-style:italic\">       # apply it\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\">bin\u002Fconsole\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> k8s:render:apps\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> shop\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#5A5F73;--k8s-dark:#A7ABC0\"> |\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\"> kubectl\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> apply\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#9A3D0C;--k8s-dark:#F3A978\"> -f\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> -\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#676C7E;--k8s-light-font-style:italic;--k8s-dark:#9095AD;--k8s-dark-font-style:italic\">  # one App\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003C\u002Ffigure>\n\u003Cp>No release state and no tool between you and the cluster. What a single \u003Ccode>kubectl apply\u003C\u002Fcode> does not give you is order: everything applies at once, and a resource can arrive before the operator that understands it.\u003C\u002Fp>\n\u003Ch2 id=\"ordering-a-deploy\">\u003Ca class=\"anchor\" href=\"#ordering-a-deploy\" aria-label=\"Link to this section\">\u003C\u002Fa>Ordering a deploy\u003C\u002Fh2>\n\u003Cp>Klass8s does not deploy, so it does not order either; it gives the tool that applies what it needs to. Every rendered resource carries two annotations:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>\u003Ccode>klass8s.dev\u002Fapp\u003C\u002Fcode>: the App it belongs to, or the Helm release it came from;\u003C\u002Fli>\n\u003Cli>\u003Ccode>klass8s.dev\u002Fdeploy-priority\u003C\u002Fcode>: its App&#39;s \u003Ccode>deployPriority()\u003C\u002Fcode>, or a release&#39;s \u003Ccode>deploy_priority\u003C\u002Fcode>, set in the class or in \u003Ccode>config\u002Fpackages\u002Fklass8s.yaml\u003C\u002Fcode> (\u003Ca href=\"\u002Fdocs\u002Fguide\u002Fapps#what-an-app-decides\">Apps\u003C\u002Fa>).\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cp>With the commands alone, render the Apps one at a time in the order you need, waiting where the next one depends on the last:\u003C\u002Fp>\n\u003Cfigure class=\"plain\">\u003Cdiv class=\"block-pane\">\u003Cbutton type=\"button\" class=\"copy\" data-copy aria-label=\"Copy the code\">Copy\u003C\u002Fbutton>\u003Cpre class=\"shiki shiki-themes klass8s-light klass8s-dark\" style=\"--k8s-light:#191b2e;--k8s-dark:#e7e9f2;--k8s-light-bg:#fbfbf8;--k8s-dark-bg:#181b33\" tabindex=\"0\">\u003Ccode>\u003Cspan class=\"line\">\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\">bin\u002Fconsole\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> k8s:render:apps\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> shop-setup\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#5A5F73;--k8s-dark:#A7ABC0\"> |\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\"> kubectl\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> apply\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#9A3D0C;--k8s-dark:#F3A978\"> -f\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> -\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\">kubectl\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> wait\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#9A3D0C;--k8s-dark:#F3A978\"> --for=condition=complete\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> job\u002Fshop-setup-migration\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#9A3D0C;--k8s-dark:#F3A978\"> --timeout=300s\u003C\u002Fspan>\u003C\u002Fspan>\n\u003Cspan class=\"line\">\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\">bin\u002Fconsole\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> k8s:render:apps\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> shop\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#5A5F73;--k8s-dark:#A7ABC0\"> |\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#1B5C96;--k8s-dark:#92CCFF\"> kubectl\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> apply\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#9A3D0C;--k8s-dark:#F3A978\"> -f\u003C\u002Fspan>\u003Cspan style=\"--k8s-light:#0B6B55;--k8s-dark:#86D9BF\"> -\u003C\u002Fspan>\u003C\u002Fspan>\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003C\u002Ffigure>\n\u003Cp>A deploy tool or a GitOps controller can read the annotations instead: group the documents by \u003Ccode>klass8s.dev\u002Fapp\u003C\u002Fcode> and apply the groups in ascending \u003Ccode>klass8s.dev\u002Fdeploy-priority\u003C\u002Fcode>. Where your controller orders by an annotation of its own, a \u003Ca href=\"\u002Fdocs\u002Fguide\u002Fevents#reacting-to-generated-resources\">subscriber\u003C\u002Fa> can write it next to these.\u003C\u002Fp>\n\u003Ch2 id=\"ci-and-gitops\">\u003Ca class=\"anchor\" href=\"#ci-and-gitops\" aria-label=\"Link to this section\">\u003C\u002Fa>CI and GitOps\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Cstrong>Render in CI.\u003C\u002Fstrong> Rendering needs only PHP: no cluster and, because the manifests contain no secrets, no credentials. A job that runs \u003Ccode>composer install\u003C\u002Fcode> and \u003Ccode>k8s:render:apps\u003C\u002Fcode> (or the \u003Ca href=\"\u002Fdocs\u002Fguide\u002Ftesting\">render tests\u003C\u002Fa>) catches most mistakes in the pull request. With Phaenon, add \u003Ccode>vendor\u002Fbin\u002Fphn check\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Rendered manifests in Git.\u003C\u002Fstrong> Commit the output of \u003Ccode>k8s:dump:all -R\u003C\u002Fcode> to the repository a GitOps controller such as Flux or Argo CD applies, one directory per App if the controller orders directories. The diff of the rendered YAML in a pull request is the review of what will change in the cluster; a release is a merge, and a rollback a revert.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"next\">\u003Ca class=\"anchor\" href=\"#next\" aria-label=\"Link to this section\">\u003C\u002Fa>Next\u003C\u002Fh2>\n\u003Cul>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fdeploying\u002Frelated-packages\">Related packages\u003C\u002Fa>\u003C\u002Fli>\n\u003Cli>\u003Ca href=\"\u002Fdocs\u002Fguide\u002Ftesting\">Testing\u003C\u002Fa>: the CI half.\u003C\u002Fli>\n\u003C\u002Ful>\n",1794927786682]