-
Notifications
You must be signed in to change notification settings - Fork 47
DOC-546 Document the new useFlux flag
#859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com>
Co-authored-by: Paulo Borges <paulohtb@hotmail.com> Co-authored-by: Gellért Peresztegi-Nagy <pereszteginagy.gellert@gmail.com> Co-authored-by: Angela Simms <102690377+asimms41@users.noreply.github.com>
Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com>
Co-authored-by: Paulo Borges <paulohtb@hotmail.com> Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com>
Co-authored-by: Angela Simms <102690377+asimms41@users.noreply.github.com> Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com> Co-authored-by: Paulo Borges <paulohtb@hotmail.com>
Co-authored-by: Angela Simms <102690377+asimms41@users.noreply.github.com> Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com>
Co-authored-by: Kat Batuigas <36839689+kbatuigas@users.noreply.github.com> Co-authored-by: Jake Cahill <45230295+JakeSCahill@users.noreply.github.com> Co-authored-by: Paulo Borges <paulohtb@hotmail.com> Co-authored-by: Gellért Peresztegi-Nagy <pereszteginagy.gellert@gmail.com> Co-authored-by: Angela Simms <102690377+asimms41@users.noreply.github.com>
Co-authored-by: Kat Batuigas <36839689+kbatuigas@users.noreply.github.com>
Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com>
✅ Deploy Preview for redpanda-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
modules/deploy/pages/deployment-option/self-hosted/kubernetes/k-deployment-overview.adoc
Outdated
Show resolved
Hide resolved
modules/deploy/pages/deployment-option/self-hosted/kubernetes/k-deployment-overview.adoc
Show resolved
Hide resolved
modules/deploy/pages/deployment-option/self-hosted/kubernetes/k-deployment-overview.adoc
Outdated
Show resolved
Hide resolved
modules/deploy/pages/deployment-option/self-hosted/kubernetes/k-deployment-overview.adoc
Outdated
Show resolved
Hide resolved
|
Thanks for the update Jake! We're still waiting/trying to cut a release. We've had to immediately unpublish a release twice already. Let's wait a day or two after the release before merging this just to be on the safe side? |
ac16003 to
332aeed
Compare
Feediver1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@JakeSCahill Could you mention that useFlux is set to |
chrisseto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! The release is officially out the door too https://github.com/redpanda-data/redpanda-operator/releases/tag/v2.3.0-24.3.1
|
|
||
| The recommended option for deploying Redpanda in Kubernetes is a combination of <<Helm>> and the Redpanda Operator. While the Helm chart facilitates the deployment of Redpanda, the Redpanda Operator manages the lifecycle of Redpanda clusters. The operator uses https://fluxcd.io/flux/concepts/[Flux^] to automate the deployment of the Redpanda Helm chart through the HelmRelease resource. | ||
| - *Flux-managed mode (`useFlux: true`)*: | ||
| When `useFlux` is set to `true` (default), the Redpanda Operator delegates reconciliation to https://fluxcd.io/flux/concepts/[Flux^] controllers. The workflow is as follows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how to best phrase this but useFlux is an optional boolean. Meaning there are 3 states: true, false, null.
If useFlux is explicitly set to true or false it will be interpreted as that value.
If useFlux is null either explicitly or not set[^1], it will be interpreted as the value of a CLI flag (Let's call it--use-flux-default but the name is TBD) that Rafal is in the process of adding. The flag will default to true, meaning that useFlux: null will be interpreted as true for "standard" installations of the operator.
We can omit documenting the CLI flag for now but I wanted to make sure that you're aware of it.
The weird dance of value interpretation is so we can avoid impacting the experience of existing users at the initial release and later switch the default to false followed be the official removal of this flag and flux in its entirety.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, Chris. I'll keep this in mind when we come to doc the new CLI flag.
| - *Redpanda-managed mode (`useFlux: false`)*: | ||
| When `useFlux` is set to `false`, the Redpanda Operator manages and reconciles Redpanda resources directly, without involving Flux. This mode works as follows: | ||
| + | ||
| . The Redpanda Operator creates both `HelmRelease` and `HelmRepository` resources but suspends them, keeping Flux inactive. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be worth calling out that despite the existence of this flag, the operator still requires the Flux CRDs to be installed. Phrased in a way that indicates we intend to change that soon :)
Co-authored-by: Paulo Borges <paulohtb@hotmail.com> Co-authored-by: Joyce Fee <102751339+Feediver1@users.noreply.github.com> Co-authored-by: Gellért Peresztegi-Nagy <pereszteginagy.gellert@gmail.com> Co-authored-by: Angela Simms <102690377+asimms41@users.noreply.github.com> Co-authored-by: Kat Batuigas <36839689+kbatuigas@users.noreply.github.com> Co-authored-by: Michele Cyran <michele@redpanda.com>
Description
Review deadline: 15 November
Page previews
useFluxin deployment guide)Checks