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
targets are now equivalent and interchangeable with `+install+` and
31
-
`+legacy-install+` (respectively - `+legacy-install/legacy-upgrade+` are
32
-
not compatible with standard `+install/upgrade+`. This was not always
33
-
the case, so both install/upgrade targets are still provided).
10
+
The `operator-deploy` task installs the Validated Patterns Operator, which in turn creates a subscription for the OpenShift GitOps operator and installs both the cluster and hub instances of it. The clustergroup application will then read the values-global.yaml and values-hub.yaml files for other subscriptions and applications to install.
11
+
12
+
The `install` and `upgrade` targets are interchangeable and handle both initial installation and updates. These targets ensure that the necessary components, including OpenShift GitOps and the `clustergroup` application, are deployed and updated as needed.
34
13
35
14
==== Imperative section
36
15
37
-
Part of the operator-deploy process is creating and running the
tools as defined in the hub values file. In this pattern, that includes
40
-
running the playbook to deploy the metal worker.
16
+
Part of the operator-deploy process is creating and running the https://github.com/validatedpatterns/ansible-edge-gitops/blob/main/values-hub.yaml[imperative]
17
+
tools as defined in the hub values file. In this pattern, that includes running the playbook to deploy the metal worker.
41
18
42
-
The real code for this playbook (outside of a shell wrapper) is
This script is another Ansible playbook that deploys a node to run the
46
-
Virtual Machines for the demo. The playbook uses the OpenShift
47
-
machineset API to provision the node in the first availability zone it
48
-
finds. Currently, AWS is the only major public cloud provider that
49
-
offers the deployment of a metal node through the normal provisioning
50
-
process. We hope that Azure and GCP will support this functionality soon
51
-
as well.
52
-
53
-
Please be aware that the metal node is rather more expensive in compute
54
-
costs than most other AWS machine types. The trade-off is that running
55
-
the demo without hardware acceleration would take ~4x as long.
22
+
This Ansible Playbook deploys a node to run the Virtual Machines for the demo. The playbook uses the OpenShift
23
+
machineset API to provision the node in the first availability zone it finds. Currently, AWS is the only major public cloud provider that
24
+
offers the deployment of a metal node through the normal provisioning process. We hope that Azure and GCP will support this functionality soon.
56
25
57
-
It takes about 20-30 minutes for the metal node to become available to
58
-
run VMs. If you would like to see the current status of the metal node,
59
-
you can check it this way (assuming your kubeconfig is currently set up
60
-
to point to your cluster):
26
+
Be aware that the metal node is rather more expensive in compute costs than most other AWS machine types. The trade-off is that running the demo without hardware acceleration would take ~4x as long.
27
+
It takes about 20-30 minutes for the metal node to become available to run VMs. If you want to see the current status of the metal node, you can check it this way (assuming your `kubeconfig` is currently set up to point to your cluster):
retrieves the admin credentials from OpenShift to enable login to the
73
+
There are two parts to this script - the first part, with the code https://github.com/validatedpatterns/ansible-edge-gitops/blob/main/ansible/ansible_get_credentials.yml[here], retrieves the admin credentials from OpenShift to enable login to the
117
74
AAP Controller.
118
75
119
-
The second part, which is the bulk of the ansible-load-controller
120
-
process is
76
+
The second part, which is the bulk of the ansible-load-controller process is
0 commit comments