You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/mcg-about-customizing-pattern.adoc
+136-6Lines changed: 136 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,18 +9,148 @@ One of the major goals of the Validated Patterns development process is to creat
9
9
You can customize this demo in different ways.
10
10
11
11
[id="split-config-demo"]
12
-
== Split the config-demo across hub and regional clusters
12
+
== Customizing the config-demo across hub and regional clusters
13
13
14
14
Currently hub and regional clusters are reusing the exact same helm chart found at `charts/all/config-demo`.
15
15
16
-
The first customization step could be to split the demo app in two separate charts:
16
+
Follow this procedure to split the `config-demo` application across the `hub` and `regional` clusters:
17
17
18
-
* One in `charts/hub/config-demo`
19
-
* One in `charts/region/config-demo`.
18
+
. Ensure you are in your locally created feature branch by running the following command:
19
+
+
20
+
[source,terminal]
21
+
----
22
+
$ git checkout my-branch main
23
+
----
20
24
21
-
`charts/all/config-demo` has been copied to `charts/hub/config-demo` and `charts/region/config-demo`, you need to include them in the respective `values-hub.yaml` and `values-region-one.yaml`, respectively.
25
+
. Run the following commands to create the `charts/hub` directory (the region directory already exists):
26
+
+
27
+
[source,terminal]
28
+
----
29
+
$ mkdir -p charts/hub
30
+
----
22
31
23
-
After completing this configuration, you can start customizing the two apps and make them output a different web page entirely depending if the pod is running on the hub or on the cluster.
32
+
. Copy the `charts/all/config-demo` to `charts/hub/config-demo` by running the following command:
Copy file name to clipboardExpand all lines: modules/mcg-deploying-managed-cluster-using-rhacm.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,12 +19,12 @@ After RHACM is installed, a message regarding a *Web console update is available
19
19
20
20
.Procedure
21
21
22
-
. In the left navigation panel of web console, click *local-cluster*. Select *All Clusters*. The RHACM web console is displayed with *Cluster** on the left navigation panel.
23
-
. On the *Managed clusters* tab, click *Import cluster*.
24
-
. On the *Import an existing cluster* page:
22
+
. In the left navigation panel of the web console associated with your deployed hub cluster, click *local-cluster*. Select *All Clusters*. The RHACM web console is displayed.
23
+
. In the *Managing clusters just got easier* window, click *Import an existing cluster*.
25
24
.. Enter the cluster name (you can get this from the login token string for example https://api.<cluster-name>.<domain>:6443)
26
25
.. You can leave the *Cluster set* blank.
27
26
.. In the *Additional labels* dialog box enter the `key=value` as `clusterGroup=group-one`.
28
27
.. Choose *KubeConfig* as the "Import mode".
29
-
.. In the *KubeConfig* window paste your KubeConfig content.
30
-
. Click *Import*.
28
+
.. In the *KubeConfig* window paste your KubeConfig content. Click *Next*.
29
+
. You can skip the *Automation* screen. Click *Next*.
0 commit comments