-
Notifications
You must be signed in to change notification settings - Fork 116
https://issues.redhat.com/browse/ACM-25181 #8339
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
base: 2.15_stage
Are you sure you want to change the base?
Changes from 2 commits
c3509e8
8d518cb
a29498d
ac74a46
f5ad933
adbe787
74edea4
97bb27b
8d17e45
b1302fd
2b761c0
937130a
66ba093
39ced25
a0184eb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,181 @@ | ||||||
| [#enable-gitops-addon-with-argocd] | ||||||
| = Enabling {gitops} add-on with _ArgoCD_ agent | ||||||
|
|
||||||
| Enable the {gitops-short} add-on for `Advanced` pull model with the `ArgoCD` agent to get detailed statuses on the health of your hub clusters and to simplify your cluster management processes. To enable a GitOps add-on with the `ArgoCD` agent, complete the following sections: | ||||||
|
||||||
| Enable the {gitops-short} add-on for `Advanced` pull model with the `ArgoCD` agent to get detailed statuses on the health of your hub clusters and to simplify your cluster management processes. To enable a GitOps add-on with the `ArgoCD` agent, complete the following sections: | |
| Enable the {gitops-short} add-on for `Advanced` pull model with the `ArgoCD` agent to get detailed statuses on the health of your Application. To enable a GitOps add-on with the `ArgoCD` agent, complete the following sections: |
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.
Throughout the doc, these are complete sentences. We would be changing that with this prereq list. Usually:
You need x
or
You have X.
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 think this is conref-ed in our docs--please check; please check on all product names internally and check the guidance if we don't have anything for this. Check all OCP and GitOps instances for conref and naming.
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.
please never use under, this can alienate a nonsighted user. We go over this in our internal doc very clearly: https://stolostron.github.io/rhacm-docs/accessibility
Further we have this on the checklist: https://stolostron.github.io/rhacm-docs/checklist (directional language)
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.
Remove the possessive here and rewrite that line; see the IBM style guide about possessive.
"its" is also not capitalized, but is a start a new sentence, I think?
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.
The controller .... creates (add the s to make subject/predicate agree,
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.
that are?
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.
They are for Argo CD to understand what clusters are imported.
Argo CD by default does not understand ACM's ManagedClusters.
This progress is equivalent of: importing all the ACM's ManagedClusters (selected by the Placement) into Argo CD.
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.
Sometimes Argo CD is coded, see above examples, and sometimes not.
jc-berger marked this conversation as resolved.
Outdated
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.
inputting?
We normally keep it simple:
Add the following YAML to create ___
Create ___ by adding the following YAML.
Are they adding the entire sample and what from it matters to the user. We don't want to just give them a big sample and not explain it.
jc-berger marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
jc-berger marked this conversation as resolved.
Outdated
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.
- Ready - GitOpsCluster is ready and all components are functioning correctly
- PlacementResolved - Placement reference resolved and managed clusters retrieved
- ClustersRegistered - Managed clusters successfully registered with ArgoCD server
- AddOnDeploymentConfigsReady - AddOnDeploymentConfigs created for all managed clusters (GitOps addon)
- ManagedClusterAddOnsReady - ManagedClusterAddons created/updated for all managed clusters (GitOps addon)
- AddOnTemplateReady - Dynamic AddOnTemplate created for ArgoCD agent mode (ArgoCD agent only)
- ArgoCDAgentPrereqsReady - ArgoCD agent prerequisites are set up (RBAC, Redis secret, JWT secret, server discovery)
- CertificatesReady - ArgoCD agent TLS certificates (CA, Principal, Resource Proxy) are signed and ready
- ManifestWorksApplied - CA certificates propagated to managed clusters via ManifestWorks (ArgoCD agent only)
Sorry, we added new conditions. Please see above for the full list.
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 would take out learning here since they are heading to a task and not a concept and you are telling them to "complete" something?
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| [#enable-gitops-addon-without-argocd] | ||
| = Enabling {gitops} add-on without the _ArgoCD_ agent | ||
|
|
||
| The `Basic` pull model does not include the `ArgoCD` agent, so it gives you a simpler setup for your hub cluster management and only gives you the necessary statuses of the health of your hub clusters. | ||
|
Contributor
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. Why is Basic coded?
Contributor
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. Same with the GitOps name throughout, see where the conref needs to be used. |
||
|
|
||
| To enable a GitOps add-on without the `ArgoCD` agent, complete the following sections: | ||
|
|
||
| * <<prerequisites, Prerequisites>> | ||
| * <<create-gitopscluster-resource, Creating a _GitOpsCluster_ resource>> | ||
| * <<verify-installation, Verifying the installation>> | ||
| * <<additional-resources, Additional resources>> | ||
|
|
||
| [#prerequisites] | ||
| == Prerequisites | ||
|
Contributor
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. Same feedback. You tell them to "complete" this section in the line before, so I would go with different language, but either way these are complete sentences in most of the books. Ensure you have an {acm-short} hub cluster installed. |
||
|
|
||
| * {acm-short} hub cluster installed | ||
| * Managed clusters registered with {acm-short} | ||
| * OpenShift GitOps operator installed on the hub cluster | ||
| * A `Placement` resource to select target managed clusters | ||
| * `ManagedClusterSet` bound to the target namespace | ||
|
|
||
| [#create-gitopscluster-resource] | ||
| == Creating a `GitOpsCluster` resource | ||
|
|
||
| Instead of using an `ArgoCD` agent, you can install a `GitOpsCluster` resource. After you install a `GitOpsCluster` resource, its controller automatically creates the following resources for each managed cluster selected by the `Placement` policy: | ||
|
||
|
|
||
| * `AddOnDeploymentConfig` in the managed cluster namespace | ||
jc-berger marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| * `ManagedClusterAddOn` in the managed cluster namespace | ||
jc-berger marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| The {gitops} add-on deploys to each selected managed cluster and installs the following resources: | ||
|
|
||
| * OpenShift GitOps operator in the `openshift-gitops-operator` namespace | ||
| * Argo CD instance in the `openshift-gitops` namespace | ||
jc-berger marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| To create a `GitOpsCluster` resource, complete the following steps: | ||
|
|
||
| . On your hub cluster, create a `GitOpsCluster` resource to enable the {gitops} add-on: | ||
|
Contributor
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. See the following... |
||
|
|
||
| + | ||
| [source,yaml] | ||
| ---- | ||
| apiVersion: apps.open-cluster-management.io/v1beta1 | ||
| kind: GitOpsCluster | ||
| metadata: | ||
| name: gitops-clusters | ||
| namespace: openshift-gitops | ||
| spec: | ||
| argoServer: | ||
| argoNamespace: openshift-gitops | ||
| placementRef: | ||
| kind: Placement | ||
| apiVersion: cluster.open-cluster-management.io/v1beta1 | ||
| name: all-openshift-clusters | ||
| namespace: openshift-gitops | ||
| gitopsAddon: | ||
| enabled: true | ||
| ---- | ||
|
|
||
| [#verify-installation] | ||
| == Verifying the installation | ||
|
|
||
| To verify the necessary installations and resources for successful deployment, complete the following steps: | ||
|
|
||
| . Verify that the `GitOpsCluster` resource has a status for successful deployment by running the following command: | ||
|
|
||
| + | ||
| [source,bash] | ||
| ---- | ||
| oc get gitopscluster gitops-clusters -n openshift-gitops -o yaml | ||
| ---- | ||
|
|
||
| . Verify that the GitOps add-on controller is working by running the following command: | ||
|
Contributor
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. extra space
Contributor
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. This command and the following commands are meant to run on the managed cluster (where the addon is installed). |
||
|
|
||
| + | ||
| [source,bash] | ||
| ---- | ||
| oc get pods -n open-cluster-management-agent-addon | ||
| ---- | ||
|
|
||
| . Verify the OpenShift GitOps operator is working by running the following command: | ||
|
|
||
| + | ||
| [source,bash] | ||
| ---- | ||
| oc get pods -n openshift-gitops-operator | ||
| ---- | ||
|
|
||
| . Verify the Argo CD instance is working by running the following command: | ||
|
|
||
| + | ||
| [source,bash] | ||
| ---- | ||
| oc get pods -n openshift-gitops | ||
| ---- | ||
|
|
||
| [#additional-resources] | ||
| == Additional resources | ||
|
|
||
| Continue learning about the {gitops-short} add-on by completing xref:../gitops/gitops_manage_addon.adoc#manage-gitops-addon[Managing the {gitops} add-on]. | ||
|
Contributor
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. same with "learning" but you are sending them to a task to "complete" |
||
Uh oh!
There was an error while loading. Please reload this page.
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.
Feedback for the entire collection here:
This was a lot, great job. I think it's getting close to done.
Themes:
The YAML additions are missing details or specifics.
All of them are also missing the step to apply the command. I have shown this previously, but there are also examples in the doc if you need to see what I mean. We give them a sample to add, explain it a bit, then give them the command to apply.
Usually something like:
oc apply(check for sure)Couple other smaller things.