-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[WIP] TELCODOCS-1540: Installing SNO clusters with the SiteConfig Operator #78153
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
Closed
Closed
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../_attributes/ |
62 changes: 62 additions & 0 deletions
62
.../installing_with_siteconfig_operator/cnf-understanding-siteconfig-operator.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| :_mod-docs-content-type: ASSEMBLY | ||
| [id="cnf-understanding-siteconfig-operator"] | ||
| = Understanding the {sco} | ||
| include::_attributes/common-attributes.adoc[] | ||
| :context: siteconfig-operator | ||
|
|
||
| toc::[] | ||
|
|
||
| With the {sco}, you can deploy clusters with all available installation methods. | ||
| The {sco} introduces a unified `ClusterInstance` API, which is derived from the `SiteConfig` API from the SiteConfig Generator kustomize plugin. | ||
| For example, the `ClusterInstance` API decouples parameters that define a cluster from the manner in which the cluster is deployed. | ||
| This separation removes certain limitations that are presented by the `SiteConfig` kustomize plugin in the current xref:../../edge_computing/ztp-deploying-far-edge-sites.adoc#ztp-deploying-far-edge-sites[{ztp-first} flow], such as agent cluster installations and scalability constraints posed by ArgoCD. | ||
| Using the unified `ClusterInstance` API, the {sco} offers the following improvements: | ||
|
|
||
| Isolation:: Separates cluster definition from the installation method. The `ClusterInstance` CR captures the cluster definition, while cluster templates capture the cluster architecture and installation methods. | ||
| Unification:: The {sco} unifies both Git and non-Git workflows. Users can apply the `ClusterInstance` CR directly on the hub cluster or synchronize them through a GitOps solution, like ArgoCD. | ||
| Consistency:: Maintains a consistent API across all installation methods, whether using the Assisted Installer, the Image Based Install Operator, or any other custom template-based approach. | ||
| Scalability:: Achieves greater scalability per cluster than the `SiteConfig` kustomize plugin. | ||
| Flexibility:: Provides users with more power to deploy and install clusters by using custom cluster templates. | ||
| Troubleshooting:: Offers insightful information regarding cluster deployment status and rendered manifests, significantly enhancing the troubleshooting experience. | ||
|
|
||
| [role="_additional-resources"] | ||
| .Additional resources | ||
|
|
||
| * https://access.redhat.com/articles/7075493[Image-based installations for {sno}] | ||
|
|
||
| * xref:../../installing/installing_on_prem_assisted/installing-on-prem-assisted.adoc#installing-on-prem-assisted[Installing an on-premise cluster using the {ai-full}] | ||
|
|
||
| include::modules/cnf-understanding-siteconfig-operator-flow.adoc[leveloffset=+1] | ||
|
|
||
| include::modules/cnf-clusterinstance-cr-reference.adoc[leveloffset=+1] | ||
|
|
||
| include::modules/cnf-clusterinstance-cr-spec-config-parameters.adoc[leveloffset=+2] | ||
|
|
||
| [role="_additional-resources"] | ||
| .Additional resources | ||
|
|
||
| * xref:../../installing/installing_bare_metal_ipi/ipi-install-installation-workflow.adoc#bmc-addressing_ipi-install-installation-workflow[BMC addressing] | ||
|
|
||
| include::modules/cnf-cluster-instance-cr-conditions-reference.adoc[leveloffset=+2] | ||
|
|
||
| include::modules/cnf-understanding-cluster-templates.adoc[leveloffset=+1] | ||
|
|
||
| include::modules/cnf-creating-custom-cluster-templates.adoc[leveloffset=+2] | ||
|
|
||
| include::modules/cnf-deploying-siteconfig-operator.adoc[leveloffset=+1] | ||
|
|
||
| include::modules/cnf-installing-clusters.adoc[leveloffset=+1] | ||
|
|
||
| [role="_additional-resources"] | ||
| .Additional resources | ||
|
|
||
| [role="_additional-resources"] | ||
| .Additional resources | ||
|
|
||
| * https://access.redhat.com/articles/7075493[Image-based installations for {sno}] | ||
|
|
||
| * xref:../../installing/installing_on_prem_assisted/installing-on-prem-assisted.adoc#installing-on-prem-assisted[Installing an on-premise cluster using the {ai-full}] | ||
|
|
||
| * xref::../../edge_computing/installing_with_siteconfig_operator/cnf-understanding-siteconfig-operator#cnf-clusterinstance-conditions-reference_siteconfig-operator[ClusterInstance CR conditions] | ||
|
|
||
| include::modules/cnf-deprovisioning-clusters.adoc[leveloffset=+1] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../images/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../modules/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../snippets/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * edge_computing/installing_with_siteconfig_operator/cnf-understanding-siteconfig-operator.adoc | ||
|
|
||
| :_mod-docs-content-type: REFERENCE | ||
| [id="cnf-clusterinstance-conditions-reference_{context}"] | ||
| = ClusterInstance CR conditions | ||
|
|
||
| The {sco} sets the status conditions in the `ClusterInstance` CR that you can use for monitoring and troubleshooting throughout the process. | ||
| While creating and validating the resources that are required for provisioning, you can encounter the following status conditions: | ||
|
|
||
| .ClusterInstance CR status conditions | ||
| [cols="2", options="header"] | ||
| |==== | ||
|
|
||
| |Condition | ||
| |Description | ||
|
|
||
| |`ClusterInstanceValidated` | ||
| |Indicates that the {sco} validated the `ClusterInstance` `spec` fields and verified that the required artifacts, such as secrets and extra manifest `ConfigMaps` objects are present. | ||
|
|
||
| |`RenderedTemplates` | ||
| |Indicates that {sco} successfully validated the referenced Golang cluster templates. | ||
|
|
||
| |`RenderedTemplatesValidated` | ||
| |Indicates that the {sco} rendered the installation manifests and the dry run was successful. | ||
|
|
||
| |`RenderedTemplatesApplied` | ||
| |Indicates that the {sco} created the installation manifests and the underlying Operators consumed them. | ||
|
|
||
| |`Provisioned` | ||
amolnar-gh marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| |Indicates that the underlying Operators are provisioning the clusters. | ||
|
|
||
amolnar-gh marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| |==== | ||
|
|
||
| After starting the provisioning of a cluster, you can encounter the following deployment status conditions: | ||
|
|
||
| .Cluster deployment status conditions | ||
| [cols="2", options="header"] | ||
|
Comment on lines
+38
to
+39
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A bit of a disconnect here. I feel we are just throwing pieces of information to the reader without introducing them in an easy-to-understand flow. |
||
| |==== | ||
|
|
||
| |Condition | ||
| |Description | ||
|
|
||
| |`ClusterInstallRequirementsMet` | ||
| |Indicates that the installation can start. | ||
|
|
||
| |`ClusterInstallCompleted` | ||
| |Indicates that the cluster installation was successful. | ||
|
|
||
| |`ClusterInstallFailed` | ||
| |Indicates that the cluster installation failed. | ||
|
|
||
| |`ClusterInstallStopped` | ||
| |Indicates that the cluster installation stopped. | ||
|
|
||
| |==== | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
|
|
||
| // Module included in the following assemblies: | ||
| // | ||
| // * edge_computing/installing_with_siteconfig_operator/cnf-understanding-siteconfig-operator.adoc | ||
|
|
||
| :_mod-docs-content-type: REFERENCE | ||
| [id="cnf-clusterinstance-CR-reference_{context}"] | ||
| = Reference ClusterInstance CR | ||
|
|
||
| The following example shows a `ClusterInstance` CR using the default Assisted Installer templates: | ||
|
|
||
| include::snippets/cnf-clusterinstance-cr.adoc[] | ||
|
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.