Skip to content

Add OpenShift AIOps Self-Healing Platform pattern documentation - #652

Open
tosin2013 wants to merge 6 commits into
validatedpatterns:mainfrom
KubeHeal:add-openshift-aiops-platform-docs
Open

tosin2013 wants to merge 6 commits into
validatedpatterns:mainfrom
KubeHeal:add-openshift-aiops-platform-docs

Conversation

@tosin2013

Copy link
Copy Markdown

Summary

This PR adds comprehensive documentation for the OpenShift AIOps Self-Healing Platform validated pattern, a GitOps-deployed solution that provides intelligent, automated incident response for OpenShift clusters.

Documentation includes:

  • Pattern overview and solution elements
  • Architecture documentation with component details (Coordination Engine, MCP Server, KServe models)
  • Deployment instructions for both HA and SNO topologies
  • Customization guide with real-world examples from live production clusters
  • Platform configuration tuning with ConfigMap examples
  • Storage configuration patterns (ODF, CephFS, cloud storage)
  • Resource planning and sizing for HA/SNO deployments
  • Development workflow using Jupyter notebooks
  • Workshop resources and learning materials
  • Cluster sizing guidelines

Real-world examples from live clusters:

  • Multi-model inference serving (anomaly-detector, predictive-analytics)
  • Mixed storage configurations (CephFS for shared workloads, gp3-csi for GPU)
  • Platform configuration tuning via ConfigMap
  • HA cluster resource allocation (7 nodes, ~57 cores, ~185GB RAM)
  • 33 Jupyter notebook catalog covering complete self-healing workflow

Files Added

  • content/patterns/openshift-aiops-platform/_index.adoc - Pattern overview
  • content/patterns/openshift-aiops-platform/getting-started.adoc - Getting started guide
  • content/patterns/openshift-aiops-platform/ideas-for-customization.adoc - Customization guide (1,600+ lines)
  • content/patterns/openshift-aiops-platform/cluster-sizing.adoc - Cluster sizing recommendations
  • modules/oaiops-*.adoc - Architecture, deployment, and solution elements modules
  • Pattern logos and images

Test Plan

  • Hugo site builds successfully (483 pages)
  • No AsciiDoc parsing errors
  • All YAML/Python code examples are properly formatted
  • Cross-references between documentation sections work correctly
  • Real-world examples verified against actual running HA cluster deployment
  • Platform configuration ConfigMap example validated
  • Storage patterns align with ODF/SNO best practices
  • Resource sizing based on actual cluster allocations

Related Links

@openshift-ci

openshift-ci Bot commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Hi @tosin2013. Thanks for your PR.

I'm waiting for a validatedpatterns member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

tosin2013 and others added 3 commits September 30, 2026 19:33
Comprehensive documentation for the OpenShift AIOps Platform validated pattern,
including deployment guides, architecture overview, customization examples, and
cluster sizing recommendations.

Key additions:
- Pattern overview and solution elements
- Architecture documentation with component details
- Deployment instructions for HA and SNO topologies
- Customization guide with real-world examples from live clusters
- Platform configuration tuning examples
- Storage configuration patterns (ODF, CephFS, cloud storage)
- Resource planning and sizing for HA/SNO deployments
- Development workflow with Jupyter notebooks
- Workshop resources and learning materials
- Cluster sizing guidelines

Includes 33 Jupyter notebook catalog covering anomaly detection, self-healing
logic, model serving, MCP/Lightspeed integration, and advanced scenarios.
… flow

- oaiops-deploying.adoc: replace multi-make-target deployment steps with
  the VP-native single-command './pattern.sh make install' flow. Document
  that secretLoader is disabled by default (no Vault pre-checks needed),
  gitea.enabled=false removes git-credentials requirement for default public
  GitHub deployments, and explain the optional Gitea integration path.
  Simplify prerequisites to reflect that only oc, git, make, and podman
  are required for basic installation.
- _index.adoc: update tier from community to sandbox to reflect in-progress
  VP sandbox tier submission status.

Made-with: Cursor
…d E2E CI

- Update OCP version requirements from 4.18 to 4.20/4.21/4.22
- Add ROSA Classic as primary deployment target throughout
- Add ROSA cluster provisioning step (scripts/create-rosa-cluster.sh)
- Add values-secret.yaml creation step (VP framework requires it)
- Add ROSA-specific object store and storage configuration
- Add VP admission webhook cleanup procedure (prune annotation)
- Add VP Vault check skip (secretStore.backend = none)
- Fix broken references (DEPLOYMENT.md -> TROUBLESHOOTING-GUIDE.md)
- Fix make target (deploy-prereqs-only -> operator-deploy-prereqs)
- Fix AGENTS.md -> docs/explanation/ai-agent-development-guide.md
- Fix metadata tier: community -> sandbox
- Update coordination engine image tag to version-aware
- Add E2E CI pipeline mention
- Add ROSA prerequisites (rosa CLI, aws CLI)

Signed-off-by: KubeHeal Team <team@kubeheal.io>
Signed-off-by: Tosin Akinosho <takinosh@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@tosin2013
tosin2013 force-pushed the add-openshift-aiops-platform-docs branch from 2c6e1ff to bcbf0dd Compare September 30, 2026 19:44
- Render kubeheal-icon.svg from assets/branding/ to PNG (400x400)
- Remove placeholder SVG that had basic circles on blue background
- Update logo README with source attribution and regeneration instructions
- Front matter pattern_logo: openshift-aiops-platform.png now resolves correctly

Signed-off-by: KubeHeal Team <team@kubeheal.io>
Signed-off-by: Tosin Akinosho <takinosh@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@tosin2013

Copy link
Copy Markdown
Author

/ok-to-test

@openshift-ci

openshift-ci Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

@tosin2013: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

Details

In response to this:

/ok-to-test

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@laubai
laubai requested review from laubai and removed request for beekhof October 16, 2026 02:17
@laubai

laubai commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

/ok-to-test

@ocpdocs-previewbot

ocpdocs-previewbot commented Oct 16, 2026 •

Copy link
Copy Markdown

🤖 Mon Nov 30 18:17:51 - The preview is ready at:
https://652--patternsdocs-pr.netlify.app

Comment thread modules/oaiops-architecture.adoc Outdated
Stores trained ML models in S3-compatible storage (native AWS S3 on ROSA, NooBaa on IPI/baremetal HA clusters, MCG-only NooBaa on SNO) and serves them via two KServe InferenceServices: `anomaly-detector-predictor` (Isolation Forest model) and `predictive-analytics-predictor` (Random Forest Regressor model) for low-latency inference during incident analysis.

.Logical architecture of OpenShift AIOps Self-Healing Platform
image::openshift-aiops-platform/aiops-logical-architecture.png[Logical Architecture]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tosin2013 This image is missing; please add when you have a moment!

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added static/images/openshift-aiops-platform/aiops-logical-architecture.png in 3663f38. It shows one cluster: OpenShift AI, KServe, the coordination engine, OpenShift GitOps, and Prometheus.

@laubai

laubai commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

/retest

@laubai

laubai commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

/test all

@laubai laubai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tosin2013 Thanks for your patience with this review; every time I picked this up something else appeared!

I've tried to be as clear with my comments as possible, but some of them do unfortunately boil down to "you might need to look at this again" - there's a lot of detailed material here, which is great, but it's possible that not all of it needs to be in the pattern - or, that it might be useful to split this into separate patterns to make each one easier for your users to digest.

Let me know if anything is confusing and I'll do my best to get back to you as soon as possible.

Comment thread modules/oaiops-about.adoc Outdated
* link:/patterns/openshift-aiops-platform/deploying/[Deployment guide] - Step-by-step installation instructions for both HA and SNO topologies
* link:/patterns/openshift-aiops-platform/ideas-for-customization/[Customization guide] - Extending the platform for your specific use cases

*Source Code & ADRs*::

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to expand "ADR" e.g. Architecture Decision Record (ADR)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expanded on first use in modules/oaiops-about.adoc: architecture decision records (ADRs).

Comment thread modules/oaiops-architecture.adoc Outdated

The architecture consists of several layers:

*Hub Cluster*::

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should use sentence case, just like the titles do, e.g.

Hub cluster:: (description)
Spoke clusters:: (description)
Git repositories:: (description)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The labels are sentence case now: OpenShift cluster, Git repository, and Model storage and serving. The spoke-cluster label is gone because this pattern runs on one cluster.

Comment thread modules/oaiops-architecture.adoc Outdated
*Git Repositories*::
Store cluster configurations and pattern deployment manifests. The Validated Patterns framework uses Git as the source of truth for infrastructure-as-code, with the Validated Patterns Operator synchronizing configurations via ArgoCD.

*Model Storage & Serving*::

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid using ampersands and other special characters in main text unless they have a specific meaning; just "and" is fine here.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to "Model storage and serving".

Comment thread modules/oaiops-architecture.adoc Outdated

[NOTE]
====
The diagram shows a hub cluster with OpenShift AI, ACM, and GitOps components, connected to multiple spoke clusters. Observability data flows from spokes to hub, while remediation actions flow from hub through Git to spokes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can just be a paragraph - no need for it to be an admonition/note.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The figure explanation is a paragraph now. It describes one cluster.

Comment thread modules/oaiops-architecture.adoc Outdated

The Go-based coordination engine orchestrates intelligent remediation workflows:

.Coordination Engine Components

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This image is missing too @tosin2013

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added static/images/openshift-aiops-platform/aiops-decision-flow.png. The coordination engine section uses that diagram.

Comment thread modules/oaiops-about.adoc Outdated

The following technologies are used in this solution:

https://www.redhat.com/en/technologies/cloud-computing/openshift/try-it[Red Hat OpenShift Container Platform]::

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These links will work, but generally better to use the full link syntax, e.g. link:https://site.com[Title]

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Product links use link:url[title].

Comment thread modules/oaiops-about.adoc Outdated
* *Prometheus* for metrics collection and alerting
* *OpenTelemetry* for distributed tracing across microservices

[id="getting-started"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be in getting-started.adoc instead?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The getting started list is removed from the about page. Installation is on getting-started.adoc.

Comment thread modules/oaiops-architecture.adoc Outdated
* *ArgoCD Remediator*: Triggers ArgoCD application sync for GitOps-managed applications
* *Helm Remediator*: Planned for Helm-deployed applications
* *Operator Remediator*: Planned for operator-managed resources
* *Manual Remediator*: **Currently implemented** for pod lifecycle management (delete/recreate). **Under development**: Deployment resource updates (memory/CPU limits per Issue #62)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue reference isn't useful to readers; no reason to include this here.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue reference is removed.

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

[id="about-customizing-openshift-aiops-pattern"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is another incredibly long page that really needs to be split up; it's about 30 screens in the browser.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideas for customization is values only: single-node topology, the storage class, the object store backend, and the platform-config log level. Notebooks are on developing.adoc. Integrations are on integrations.adoc.

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

include::modules/oaiops-deploying.adoc[leveloffset=+1]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is enormous - a "getting started" section that is 25 pages long is pretty rough for an initial investigation into the pattern.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Getting started is the short ROSA install. Troubleshooting, developing, and integrations are separate pages.

tosin2013 and others added 2 commits November 30, 2026 18:07
Document one install path, split the long pages, add the architecture diagrams, and match cluster size to the pattern metadata.

Signed-off-by: Tosin Akinosho <takinosh@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants