-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Update RKE2 config ref YAML options #4086
Conversation
content/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/_index.md
Outdated
Show resolved
Hide resolved
content/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/_index.md
Show resolved
Hide resolved
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.
Added some suggestions.
Would appreciate for @thedadams to review my comments as I'm not exactly solid on their correctness.
content/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/_index.md
Outdated
Show resolved
Hide resolved
content/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/_index.md
Outdated
Show resolved
Hide resolved
content/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/_index.md
Outdated
Show resolved
Hide resolved
key: value | ||
``` | ||
|
||
This would install the chart with `chart-name` with the values `key = value`. |
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.
This statement gives the impression that we specify which chart to install which I don't believe is the case. E.g. if no chartValues are specified, RKE2 still installs whatever charts it needs; this section is purely to allow customizing values for the charts RKE2 installs (either by default or based on other settings passed - e.g. machineGlobalConfig.cni
sets which CNI is to be installed and related Helm chart is installed automatically).
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.
Technically speaking, I believe it does mean that Rancher will ask RKE2 to install the chart. The issue is whether or not RKE2 knows about the chart. If RKE2 doesn't know about the chart, then Rancher asking it to install it won't work.
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.
Thank you for the clarification here. If we make the suggested change few lines above, I think this can be left as is.
On a side note, I'm wondering if there is a way to reference a comprehensive list of charts coming from RKE2?
I couldn't find it documented in RKE2 docs.
@cwayne18 @brandond @briandowns
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 don't believe this does enable the chart. It just creates a HelmChartConfig for the chart with the matching name, which will provide values to that chart IF it is enabled. I would love to have this confirmed though.
The RKE2 bundled charts live in the rke2-charts repo, and the versions packaged in a given release can be found in the Dockerfile. Some of these, such as the cloud-provider and CNI charts, only have one active at a time. We don't document this anywhere else, at the moment.
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.
Would the consensus be to remove the line for now and add back any additional info once it's been confirmed?
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 agree, let's just remove this line - the documentation is fine without it.
content/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/_index.md
Outdated
Show resolved
Hide resolved
content/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/_index.md
Outdated
Show resolved
Hide resolved
content/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/_index.md
Outdated
Show resolved
Hide resolved
content/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/_index.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Sergey Nasovich <85187633+snasovich@users.noreply.github.com>
content/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/_index.md
Outdated
Show resolved
Hide resolved
content/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/_index.md
Outdated
Show resolved
Hide resolved
content/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/_index.md
Outdated
Show resolved
Hide resolved
key: value | ||
``` | ||
|
||
This would install the chart with `chart-name` with the values `key = value`. |
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 don't believe this does enable the chart. It just creates a HelmChartConfig for the chart with the matching name, which will provide values to that chart IF it is enabled. I would love to have this confirmed though.
The RKE2 bundled charts live in the rke2-charts repo, and the versions packaged in a given release can be found in the Dockerfile. Some of these, such as the cloud-provider and CNI charts, only have one active at a time. We don't document this anywhere else, at the moment.
Co-authored-by: Brad Davidson <brad@oatmail.org>
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.
Some minor updates requested, otherwise LGTM
content/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/_index.md
Outdated
Show resolved
Hide resolved
content/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/_index.md
Outdated
Show resolved
Hide resolved
content/rancher/v2.6/en/cluster-admin/editing-clusters/rke2-config-reference/_index.md
Outdated
Show resolved
Hide resolved
…nfig-reference/_index.md Co-authored-by: Sergey Nasovich <85187633+snasovich@users.noreply.github.com>
…nfig-reference/_index.md Co-authored-by: Sergey Nasovich <85187633+snasovich@users.noreply.github.com>
…nfig-reference/_index.md Co-authored-by: Brad Davidson <brad@oatmail.org>
Feedback addressed
No description provided.