Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c58368e
TELCODOCS-2203 updating federated edge
kquinn1204 Feb 18, 2025
4fa63a8
TELCODOCS-2203 updating federated edge 1
kquinn1204 Feb 18, 2025
46157fa
updating images
kquinn1204 Feb 18, 2025
cb6235a
converting to adoc
kquinn1204 Feb 19, 2025
abe97b7
converting to adoc 2
kquinn1204 Feb 19, 2025
7bb81e6
converting to adoc 3
kquinn1204 Feb 19, 2025
a1529ff
converting to adoc 4
kquinn1204 Feb 19, 2025
58200d1
more edits
kquinn1204 Feb 20, 2025
ff98886
adding image
kquinn1204 Feb 20, 2025
08930ff
updating aap
kquinn1204 Feb 20, 2025
1b0887f
updating aap 2
kquinn1204 Feb 20, 2025
2dcd917
adding sizing
kquinn1204 Feb 20, 2025
337d385
adding sizing 2
kquinn1204 Feb 20, 2025
d4a3158
fixing image issue
kquinn1204 Feb 20, 2025
2e8d4c8
fixing image issue 2
kquinn1204 Feb 20, 2025
d5c0407
updating aap 3
kquinn1204 Feb 20, 2025
647a588
updating aap 3
kquinn1204 Feb 20, 2025
fdf2660
updating aap 5
kquinn1204 Feb 20, 2025
9ba14f1
fixing image issue 7
kquinn1204 Feb 20, 2025
984acb8
updating aap 9
kquinn1204 Feb 20, 2025
33dd00f
minor correction
kquinn1204 Feb 24, 2025
bba3d85
adding log in
kquinn1204 Feb 24, 2025
b6b441a
Adding SME review comments
kquinn1204 Feb 25, 2025
50f380e
Adding SME review comments 2
kquinn1204 Feb 25, 2025
609afc4
Adding SME review comments 3
kquinn1204 Feb 25, 2025
dc0244a
Adding SME review comments 4
kquinn1204 Feb 25, 2025
9587957
Adding SME review comments 5
kquinn1204 Feb 25, 2025
d8c962b
Adding SME review comments 6
kquinn1204 Feb 25, 2025
e1125ca
Adding SME review comments 7
kquinn1204 Feb 25, 2025
00d3da5
Adding SME review comments 9
kquinn1204 Feb 25, 2025
e0674e5
Adding SME review comments 10
kquinn1204 Feb 25, 2025
9351500
trying to fix display for AAP
kquinn1204 Feb 26, 2025
78c5b57
trying to fix display for AAP 2
kquinn1204 Feb 26, 2025
8750198
trying to fix display for AAP 3
kquinn1204 Feb 26, 2025
d178137
trying to fix display for AAP 4
kquinn1204 Feb 26, 2025
4129e57
trying to fix display for AAP 5
kquinn1204 Feb 26, 2025
f4bd2cb
trying to fix display for AAP 7
kquinn1204 Feb 26, 2025
62d0748
trying to fix display for AAP 9
kquinn1204 Feb 26, 2025
818cf78
trying to fix display for AAP 10
kquinn1204 Feb 26, 2025
fbe436d
trying to fix display for AAP 11
kquinn1204 Feb 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions content/patterns/federated-edge-observability/_index.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
title: Federated Edge Observability
date: 2025-02-01
tier: sandbox
summary: This pattern uses OpenShift Virtualization to simulate an edge environment for VMs which then report metrics via OpenTelemetry.
rh_products:
- Red Hat OpenShift Container Platform
- Red Hat Ansible Automation Platform
- Red Hat OpenShift Virtualization
- Red Hat Enterprise Linux
- Red Hat OpenShift Data Foundation
industries:
aliases: /federated-edge-observability
links:
install: getting-started
help: https://groups.google.com/g/validatedpatterns
bugs: https://github.com/validatedpatterns-sandbox/federated-edge-observability/issues
ci: federatedobservability
---

:toc:
:imagesdir: /images
:_content-type: ASSEMBLY
include::modules/comm-attributes.adoc[]

== Federated Edge Observability

=== Background

Organizations are interested in accelerating their deployment speeds and improving delivery quality in their Edge environments, where many devices may not fully or even partially embrace the GitOps philosophy.
Further, there are VMs and other devices that can and should be managed with Ansible. This pattern explores some of the possibilities of using an OpenShift-based Ansible Automated Platform deployment and managing Edge devices, based on work done with a partner in the Chemical space.

This pattern uses OpenShift Virtualization to simulate the Edge environment for VMs.

==== Solution elements

* How to use a GitOps approach to manage virtual machines, either in public clouds (limited to AWS for technical reasons) or on-prem OpenShift installations
* How to integrate AAP into OpenShift
* How to manage Edge devices using AAP hosted in OpenShift

==== Red Hat Technologies

* Red Hat OpenShift Container Platform (Kubernetes)
* Red Hat Ansible Automation Platform (formerly known as "`Ansible Tower`")
* Red Hat OpenShift GitOps (ArgoCD)
* OpenShift Virtualization (Kubevirt)
* Red Hat Enterprise Linux 9

==== Other Technologies this Pattern Uses

* Hashicorp Vault
* External Secrets Operator
* OpenTelemetry
* Grafana
* Mimir

=== Architecture

Similar to other patterns, this pattern starts with a central management hub, which hosts the AAP and Vault components, and the observability
collection and visualization components.

57 changes: 0 additions & 57 deletions content/patterns/federated-edge-observability/_index.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
---
title: Ansible Automation Platform
weight: 20
aliases: /federated-edge-observability/aap/
---

:toc:
:imagesdir: /images
:_content-type: ASSEMBLY
include::modules/comm-attributes.adoc[]

[id="ansible-automation-pattern"]
== Logging in to the Ansible Automation Platform

The default login user for the AAP interface is `admin`, and the password is randomly generated during installation. This password is required to access the interface.
However, logging into the interface is not necessary, as the pattern automatically configures the AAP instance. The pattern retrieves the password by using the same method as the `ansible_get_credentials.sh` script (described below).

If you need to inspect the AAP instance or change its configuration, there are two ways to log in. Both methods give access to the same instance using the same password.

[id="logging-in-using-a-secret-retrieved-from-the-openshift-console"]
=== Logging in using a secret retrieved from the OpenShift Console

Follow these steps to log in to the Ansible Automation Platform using the OpenShift console:

. In the OpenShift console, go to *Workloads* > *Secrets* and select the `ansible-automation-platform` project if you want to limit the number of secrets you can see.
+
.AAP secret
image::/images/federated-edge-observability/ocp-console-secrets-aap-admin-password.png[federated-edge-observability-operators,title="AAP secret"]

.. Select the `aap-admin-password`.

.. In the Data field click *Reveal values* to display the password.
+
.AAP secret detail
image::/images/federated-edge-observability/ocp-console-aap-admin-password-detail.png[federated-edge-observability-operators,title="AAP secret details"]

. Under *Networking* > *Routes*, click the URL for the `aap` route to open the Ansible Automation Platform interface.

.. Log in using the `admin` user and the password you retrieved from the `aap-admin-password` secret. The following image shows the screen that appears after logging in.
+
.AAP screen
image::/images/federated-edge-observability/app-login.png[federated-edge-observability-operators,title="AAP screen"]

[id="logging-in-using-secret-retrieved-using-script-ansible_get_credentials"]
=== Logging in using a secret retrieved with ansible_get_credentials.sh

Follow this procedure to log in to the Ansible Automation Platform using the `ansible_get_credentials.sh` script:

. From the top-level pattern directory (ensuring you have set `KUBECONFIG`), run the following command:
+
[source,terminal]
----
$ ./pattern.sh ./scripts/ansible_get_credentials.sh
----
+
This script retrieves the URL for your Ansible Automation Platform instance and the password for its `admin` user. The password is auto-generated by the AAP operator by default. The output of the command looks like this (your password will be different):
+
[source,text]
----
[WARNING]: No inventory was parsed, only implicit localhost is available

PLAY [Retrieve Credentials for AAP on OpenShift] *******************************************************************

TASK [Retrieve API hostname for AAP] *******************************************************************
ok: [localhost]

TASK [Set ansible_host] *****************************************************************
ok: [localhost]

TASK [Retrieve admin password for AAP] *****************************************************************************
ok: [localhost]

TASK [Set admin_password fact] ****************************************************************************************
ok: [localhost]

TASK [Report AAP Endpoint] *****************************************************************************************
ok: [localhost] => {
"msg": "AAP Endpoint: https://aap-ansible-automation-platform.apps.kevstestcluster.aws.validatedpatterns.io"
}

TASK [Report AAP User] ******************************************************************************
ok: [localhost] => {
"msg": "AAP Admin User: admin"
}

TASK [Report AAP Admin Password] *******************************************************************
ok: [localhost] => {
"msg": "AAP Admin Password: XoQ2MoU88ibAwUZI8tHu194DP304UEqz"
}

PLAY RECAP *******************************************************************************
localhost : ok=7 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
----

This file was deleted.

15 changes: 15 additions & 0 deletions content/patterns/federated-edge-observability/cluster-sizing.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: Cluster Sizing
weight: 30
aliases: /federated-edge-observability/federated-edge-observability-cluster-sizing/
---


:toc:
:imagesdir: /images
:_content-type: ASSEMBLY

include::modules/comm-attributes.adoc[]
include::modules/federated-edge-observability/metadata-federated-edge-observability.adoc[]

include::modules/cluster-sizing-template.adoc[]
Loading