Skip to content

Commit 33e53fb

Browse files
Merge pull request redhat-edge-computing#6 from danmacpherson/content-migration
Bulk migration of content
2 parents 3c47512 + 465f231 commit 33e53fb

File tree

247 files changed

+7488
-72
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

247 files changed

+7488
-72
lines changed

config.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ markup:
1818
startLevel: 1
1919
endLevel: 2
2020
ordered: false
21+
goldmark:
22+
renderer:
23+
unsafe: true
2124

2225
taxonomies:
2326
industry: 'industries'

content/blog/2021-12-31-medical-diagnosis.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
2-
layout: post
32
date: 2021-12-31
43
title: Medical Diagnosis
5-
excerpt: A validated pattern for the medical field
6-
published: true
4+
summary: A validated pattern for the medical field
75
blog_tags:
86
- medical-diagnosis
97
- xray
108
- validated-pattern
9+
aliases: /2021/12/31/medical-diagnosis/
1110
---
1211

1312
# Validated Pattern: Medical Diagnosis

content/blog/2022-03-23-acm-mustonlyhave.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
2-
layout: post
32
date: 2022-03-23
43
title: To musthave or to mustonlyhave
5-
excerpt: ACM has multiple enforcement strategies, be careful which one you use
6-
published: true
4+
summary: ACM has multiple enforcement strategies, be careful which one you use
75
blog_tags:
86
- acm
7+
aliases: /2022/03/23/acm-mustonlyhave/
98
---
109

1110
Recently a user reported an issue when using the multicloud-gitops pattern: Namely, after testing changes in a feature branch (adding a helm application), said changes were not appearing on the remote clusters.

content/blog/2022-03-30-multicloud-gitops.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
2-
layout: post
32
date: 2022-03-30
43
title: Multi-Cloud GitOps
5-
excerpt: A validated pattern for multi-cluster and/or multi-cloud gitops
6-
published: true
4+
summary: A validated pattern for multi-cluster and/or multi-cloud gitops
75
blog_tags:
86
- multi-cloud gitops
97
- xray
108
- validated-pattern
9+
aliases: /2022/03/30/multicloud-gitops/
1110
---
1211

1312
# Validated Pattern: Multi-Cloud GitOps

content/blog/2022-06-30-ansible-edge-gitops.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
---
2-
layout: post
32
date: 2022-06-30
43
title: Ansible Edge GitOps
5-
excerpt: A validated pattern that introduces Ansible and Virtualization to the framework
6-
published: true
4+
summary: A validated pattern that introduces Ansible and Virtualization to the framework
75
blog_tags:
86
- ansible-edge-gitops
97
- patterns
8+
aliases: /2022/06/30/ansible-edge-gitops/
109
---
1110

1211
# Validated Pattern: Ansible Edge GitOps

content/blog/2022-07-15-push-vs-pull.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
2-
layout: post
32
date: 2022-07-15
43
title: Push or Pull?
5-
excerpt: Considerations on Push and Pull in change management systems
6-
published: true
4+
summary: Considerations on Push and Pull in change management systems
75
blog_tags:
86
- ansible-edge-gitops
97
- patterns
108
- GitOps
9+
aliases: /2022/07/15/push-vs-pull/
1110
---
1211

1312
# Push or Pull? Strategies for Large Scale Technology Change Management on the Edge

content/blog/2022-08-24-clustergroups.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
2-
layout: post
32
date: 2022-08-24
43
title: Using clusterGroups in the Validated Patterns Framework
5-
excerpt: Defining what we mean by clusterGroups in the Validated Pattern Framework (and how to use them)
6-
published: true
4+
summary: Defining what we mean by clusterGroups in the Validated Pattern Framework (and how to use them)
75
blog_tags:
86
- validated-pattern
7+
aliases: /2022/08/24/clustergroups/
98
---
109

1110
# What Is a clusterGroup?

content/blog/2022-09-02-route.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
2-
layout: post
32
date: 2022-09-02
43
title: Using subdomain in your OpenShift route definitions
5-
excerpt: When to use subdomain when defining a Route in OpenShift
6-
published: true
4+
summary: When to use subdomain when defining a Route in OpenShift
75
blog_tags:
86
- validated-pattern
97
- openshift
108
- route
9+
aliases: /2022/09/02/route/
1110
---
1211

1312
# What Is a route in OpenShift?

content/blog/2022-10-12-acm-provisioning.md

+47-31
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
---
2-
layout: post
32
date: 2022-10-12
43
title: Multi-cluster GitOps with Provisioning
5-
excerpt: With validated patterns, you can easily create and configure complex cluster topologies
6-
published: true
4+
summary: With validated patterns, you can easily create and configure complex cluster topologies
75
blog_tags:
86
- acm
97
- provisioning
108
- patterns
119
- GitOps
10+
aliases: /2022/10/12/acm-provisioning/
1211
---
1312

1413
# Multi-cluster GitOps with Provisioning
@@ -32,21 +31,25 @@ Let’s walk through an example using the Multi-Cloud GitOps pattern as an examp
3231

3332
## Preparation
3433

35-
Start by [deploying](https://hybrid-cloud-patterns.io/multicloud-gitops/getting-started/) the Multi-cloud GitOps pattern on AWS.
36-
3734
If you've never deployed OpenShift before, you could try [ROSA](https://cloud.redhat.com/learn/getting-started-red-hat-openshift-service-aws-rosa/deploy-rosa-cluster)
3835
the pay-as-you-go OpenShift managed service.
3936

40-
Next, you'll need to create a fork of the
41-
https://github.com/hybrid-cloud-gitops/multicloud-gitops/ repo. Go there in a
42-
browser, make sure you’re logged in to GitHub, click the “Fork” button, and
43-
confirm the destination by clicking the big green "Create fork" button.
37+
| Installing a validated pattern |
38+
| ------------------------------ |
39+
| [![Installing a validated pattern](https://img.youtube.com/vi/N6XPh-9XZAM/mqdefault.jpg "Installing a validated pattern")](https://youtu.be/N6XPh-9XZAM) |
40+
41+
Start by [deploying](https://hybrid-cloud-patterns.io/multicloud-gitops/getting-started/) the Multi-cloud GitOps pattern on AWS.
42+
43+
Next, you'll need to create a fork of the [multicloud-gitops](https://github.com/hybrid-cloud-patterns/multicloud-gitops/)
44+
repo. Go there in a browser, make sure you’re logged in to GitHub, click the
45+
“Fork” button, and confirm the destination by clicking the big green "Create
46+
fork" button.
4447

4548
Now you have a copy of the pattern that you can make changes to. You can read
4649
more about the Multi-cloud GitOps pattern on our [community
4750
site](https://hybrid-cloud-patterns.io/multicloud-gitops/)
4851

49-
Next, [install the Validated Patterns operator]([https://hybrid-cloud-patterns.io/infrastructure/using-validated-pattern-operator/](https://youtu.be/AHLam3u8eKM)) from Operator Hub.
52+
Next, [install the Validated Patterns operator](https://hybrid-cloud-patterns.io/infrastructure/using-validated-pattern-operator/) from Operator Hub.
5053

5154
And finally, click through to the installed operator, and select the `Create
5255
instance` button and fill out the Create a Pattern form. Most of the defaults
@@ -68,17 +71,20 @@ credentials. To do this you can either manually load the secrets into the
6871
vault via the UI, or make use of the following process for loading them from a
6972
machine you control.
7073

74+
| Loading provisioning secrets |
75+
| ---------------------------- |
76+
| [![Loading provisioning secrets](https://img.youtube.com/vi/LSDUTfZvcyA/mqdefault.jpg "Loading provisioning secrets")](https://youtu.be/LSDUTfZvcyA) |
7177

7278
First clone your fork of the repository onto your local machine, and copy the template to a location not controlled by Git (to avoid accidentally committing the contents)
7379

74-
```
80+
```sh
7581
git clone [email protected]:{yourfork}/multicloud-gitops.git
7682
cp values-secret.yaml.template ~/values-secret.yaml
7783
```
7884

7985
You will need to uncomment and provide values for the following keys in order to make use of the provisioning functionality:
8086

81-
```
87+
```yaml
8288
secrets:
8389
aws: [1]
8490
access_key_id: AKIAIOSFODNN7EXAMPLE
@@ -89,32 +95,33 @@ files:
8995
openshiftPullSecret: ~/.dockerconfigjson [3]
9096
```
9197
92-
_[1]_ A guide to finding the relevant AWS values can be found at
93-
https://docs.aws.amazon.com/powershell/latest/userguide/pstools-appendix-sign-up.html
98+
_[1]_ A guide to finding the relevant AWS values can be found [here](https://docs.aws.amazon.com/powershell/latest/userguide/pstools-appendix-sign-up.html)
9499
You might even have them in a `~/.aws/credentials` file.
95100

96101
_[2]_ The public key is used to allow access to OpenShift nodes for triage purposes.
97102

98-
_[3]_ The openshiftPullSecret is how Red Hat knows you’ve got a licence to install
99-
OpenShift. To obtain one, go to
100-
https://console.redhat.com/openshift/install/pull-secret, save the contents, and
101-
provide that path in the secrets file. The contents should start with something
102-
like: `{"auths":{"cloud.openshift.com":{"auth":"...`.
103+
_[3]_ The openshiftPullSecret is how Red Hat knows you’ve got a licence to
104+
install OpenShift. To obtain one, go
105+
[here](https://console.redhat.com/openshift/install/pull-secret), save the
106+
contents, and provide that path in the secrets file. The contents should start
107+
with something like: `{"auths":{"cloud.openshift.com":{"auth":"...`.
103108

104109
Obtain the login command for your cluster and run it locally.
105-
![console login](/images/provision/console-login.png)
110+
![console login](/images/console-login.png)
106111

107112
Ensure `podman` is installed, and load the secrets with:
108113

109-
```
114+
```sh
110115
./common/scripts/pattern-util.sh make load-secrets
111116
```
112117

113-
[![Loading provisioning secrets](https://img.youtube.com/vi/zagNOk21RPo/default.jpg "Loading provisioning secrets")](https://youtu.be/zagNOk21RPo)
114-
115118
These values will be used to create a number of secrets that ACM expects in
116119
order to provision clusters.
117120

121+
| Loading Secrets into the Cluster |
122+
| ------------------------- |
123+
| [![Loading secrets into the cluster](https://img.youtube.com/vi/LSDUTfZvcyA/mqdefault.jpg "Loading secrets into the cluster")](https://youtu.be/LSDUTfZvcyA) |
124+
118125
## Define a Managed Cluster Group
119126

120127
Managed cluster groups are sets of clusters, grouped by function, that share a
@@ -124,7 +131,7 @@ of approximately 1000 clusters in total.
124131

125132
The following is the example we will use today:
126133

127-
```
134+
```yaml
128135
managedClusterGroups:
129136
myFirstGroup:
130137
name: group-one
@@ -156,8 +163,13 @@ on-demand and at scale.
156163

157164
You can read more about cluster pools in the [ACM documentation](https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.6/html/multicluster_engine/multicluster_engine_overview#managing-cluster-pools)
158165

166+
| Defining the cluster pool | Defining clusters |
167+
| ------------------------- | ----------------- |
168+
| [![Defining and scaling the cluster pool](https://img.youtube.com/vi/FaomChtlUE4/mqdefault.jpg "Defining and scaling the cluster pool")](https://youtu.be/FaomChtlUE4) | [![Defining clusters](https://img.youtube.com/vi/IJk3vTjMPCo/mqdefault.jpg "Defining clusters")](https://youtu.be/IJk3vTjMPCo) |
169+
159170
Each managed cluster group can have multiple pools, here is an example:
160-
```
171+
172+
```yaml
161173
clusterPools:
162174
myFirstPool:
163175
name: aws-ap
@@ -185,17 +197,21 @@ If `.size` is omitted, the pool will automatically resize based on the number of
185197
clusters specified. Specifying no clusters will define the pool, but not
186198
provision any clusters.
187199

188-
[![Defining and scaling the cluster pool](https://img.youtube.com/vi/FaomChtlUE4/default.jpg "Defining and scaling the cluster pool")](https://youtu.be/FaomChtlUE4)
189-
190-
[![Defining clusters](https://img.youtube.com/vi/M-BJrEeoNd4/default.jpg "Defining clusters")](https://youtu.be/M-BJrEeoNd4)
191-
192200
## Delivering Applications and Configuration to Clusters
193201

194-
[![Updating the managed cluster configuration](https://img.youtube.com/vi/emn_Coqp5jQ/default.jpg "Updating the managed cluster configuration")](https://youtu.be/emn_Coqp5jQ)
202+
| Delivering Configuration Changes |
203+
| -------------------------------- |
204+
| [![Updating the managed cluster configuration](https://img.youtube.com/vi/oorZnch-ggY/mqdefault.jpg "Updating the managed cluster configuration")](https://youtu.be/oorZnch-ggY) |
195205

196206
## Deprovisioning Clusters
197207

198-
[![Deprovisioning clusters](https://img.youtube.com/vi/F_-sne3U5ew/default.jpg "Deprovisioning clusters")](https://youtu.be/F_-sne3U5ew)
208+
As the provisioning data only exists on the ACM hub cluster, it is important to ensure any managed clusters are deprovisioned _before_ the hub itself is destroyed. In general this involves scaling down the pool(s), and removing the entries in the `clusters:` list.
209+
210+
You can see the process in action below:
211+
212+
| Deprovisioning clusters |
213+
| ----------------------- |
214+
| [![Deprovisioning clusters](https://img.youtube.com/vi/ik5LR-ouPdo/mqdefault.jpg "Deprovisioning clusters")](https://youtu.be/ik5LR-ouPdo) |
199215

200216
## Conclusion
201217

0 commit comments

Comments
 (0)