Skip to content

Conversation

rlieberman-splunk
Copy link
Collaborator

Description

This pull request adds comprehensive documentation for installing Splunk apps using the App Framework for both local and cluster scopes on Indexer Clusters and Search Head Clusters. It also expands the CRD support table to clarify install locations for each scope and resource type. The changes provide step-by-step instructions and example configurations for S3, Azure Blob, and GCP storage backends.

Key Changes

  • Added a detailed guide for installing apps for both local and cluster scopes on Indexer Cluster, including credential setup, remote storage configuration, and example ClusterManager.yaml manifests for S3, Azure Blob, and GCP buckets.
  • Added a parallel guide for installing apps for both local and cluster scopes on Search Head Cluster, with credential setup and example SearchHeadCluster.yaml manifests for S3, Azure Blob, and GCP buckets.
  • Expanded the CRD support table to include columns for local and cluster scope install locations, clarifying where apps are installed for each resource type and scope.

Testing and Verification

  • Manual testing of deploying an app on indexers and search heads with both local and cluster scopes.

Related Issues

PR Checklist

  • Code changes adhere to the project's coding standards.
  • Relevant unit and integration tests are included.
  • Documentation has been updated accordingly.
  • All tests pass locally.
  • The PR description follows the project's guidelines.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the App Framework documentation by adding comprehensive guides for deploying apps with multiple scopes on both Indexer Clusters and Search Head Clusters. The documentation now provides clear instructions for configuring apps to be installed both locally and across cluster peers using the same remote storage location.

  • Added detailed installation guides for dual-scope app deployment on Indexer and Search Head Clusters
  • Expanded the CRD support table to clarify install locations for different scopes and resource types
  • Provided complete YAML examples for S3, Azure Blob, and GCP storage backends

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@kasiakoziol
Copy link
Collaborator

I was going through this doc today and I think we should spend some time to simplify it. It is very long while it could be shortened to a part of it because there are many duplicates.

@coveralls
Copy link
Collaborator

coveralls commented Oct 9, 2025

Pull Request Test Coverage Report for Build 18386577711

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 48 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.01%) to 86.552%

Files with Coverage Reduction New Missed Lines %
pkg/splunk/enterprise/upgrade.go 48 17.52%
Totals Coverage Status
Change from base Build 18370159221: -0.01%
Covered Lines: 10710
Relevant Lines: 12374

💛 - Coveralls

@rlieberman-splunk
Copy link
Collaborator Author

I was going through this doc today and I think we should spend some time to simplify it. It is very long while it could be shortened to a part of it because there are many duplicates.

The most recent commit includes a refactoring of the whole file. I removed over 250 duplicated lines, added a table of contents, and put the contents in a more useful pattern (prerequisites, setting up access, creating the folder structure, and examples).

- [App is not correctly copying to pod](#app-is-not-correctly-copying-to-pod)

## About App Framework

The Splunk Operator provides support for Splunk app and add-on deployment using the App Framework. The App Framework specification supports configuration management using the Splunk Enterprise cluster and standalone [custom resources](https://splunk.github.io/splunk-operator/CustomResources.html) (CR).
Copy link
Collaborator

Choose a reason for hiding this comment

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

"using the Splunk Enterprise cluster and standalone" - do you know what someone meant here by "the Splunk Enterprise cluster"?

* An Amazon S3 or S3-API-compliant remote object storage location
* Azure blob storage
* GCP Cloud Storage
2) The App framework requires read-only access to the path used to host the apps. DO NOT give any other access to the operator to maintain the integrity of data in S3 bucket , Azure blob container or GCP bucket.
3) Splunk apps and add-ons should be stored in a .tgz or .spl archive format.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants