Skip to content

Conversation

akondur
Copy link
Collaborator

@akondur akondur commented Apr 3, 2021

The JIRA CSPL-570 points out that the License Master(LM) logs are not forwarded to the Cluster Master(CM) which is configured as a license slave. The reason for this is that the LM has not setup the outputs.conf to send to the CM via indexer discovery. To enable the same on the LM, we need to introduce the clusterMasterRef in the LM Spec as show in the example below:

apiVersion: enterprise.splunk.com/v1beta1
kind: LicenseMaster
metadata:
  name: example
  finalizers:
  - enterprise.splunk.com/delete-pvc
spec:
  clusterMasterRef:
    name: example
  volumes:
    - name: licenses
      configMap:
        name: splunk-licenses
  licenseUrl: /mnt/licenses/enterprise.lic

The operator uses the clusterMasterRef to introduce the env variable SPLUNK_CLUSTER_MASTER_URL which is picked up ansible to setup indexer discovery on outputs.conf.

This PR edits the documentation with regards to connecting IndexerClusters and Standalones to LicenseMaster.

@akondur akondur changed the title Avoid adding License Master URL for LM when configured with ClusterMa… Documentation for configuring indexer clusters with LM Apr 6, 2021
@akondur akondur changed the title Documentation for configuring indexer clusters with LM CSPL-570 Documentation for configuring indexer clusters with LM Apr 6, 2021
docs/Examples.md Outdated
name: example
```
## Connecting Indexer Clusters to use License Master
Copy link
Contributor

Choose a reason for hiding this comment

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

This section seems incomplete? Is it needed?

docs/Examples.md Outdated
- [Updating global kubernetes secret object](#updating-global-kubernetes-secret-object)
- [Deleting global kubernetes secret object](#deleting-global-kubernetes-secret-object)

## Connecting Splunk Enterprise CRs to use License Master
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this section necessary?

@akondur akondur changed the title CSPL-570 Documentation for configuring indexer clusters with LM CSPL-570 Documentation for configuring indexer clusters and standalones with LM Apr 8, 2021
@smohan-splunk smohan-splunk merged commit 6128e7d into develop Apr 9, 2021
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.

4 participants