Skip to content

Commit 141f6aa

Browse files
author
Patryk Wasielewski
committed
update docs
1 parent bacc0a7 commit 141f6aa

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/CustomResources.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,24 @@ metadata:
441441
annotations:
442442
enterprise.splunk.com/admin-managed-pv: "true"
443443
```
444+
##### PV label values
445+
In order to prepare labels for CR's persistent volumes you need to know values beforehand
446+
Below is a table listing `app.kubernetes.io/name` values mapped to CRDs
447+
| Customer Resource Definition | app.kubernetes.io/name value |
448+
| ----------- | --------- |
449+
| clustermanager.enterprise.splunk.com | cluster-manager |
450+
| indexercluster.enterprise.splunk.com | indexer-cluster |
451+
| licensemaster.enterprise.splunk.com | license-master |
452+
| monitoringconsole.enterprise.splunk.com | monitoring-console |
453+
| searchheadcluster.enterprise.splunk.com | search-head |
454+
| standalone.enterprise.splunk.com | standalone |
455+
456+
`app.kubernetes.io/instance` value consist of three elements concatenated with hyphens
457+
1. "splunk"
458+
2. provided by admin CR name
459+
3. CRD kind name
460+
461+
For example `clusterManager` CR named "test" will have set `app.kubernetes.io/instance` as `splunk-test-cluster-manager`
444462
445463
#### Container Logs
446464
The Splunk Enterprise CRDs deploy Splunkd in Kubernetes pods running [docker-splunk](https://github.com/splunk/docker-splunk) container images. Adding a couple of environment variables to the CR spec as follows produces `detailed container logs`:

0 commit comments

Comments
 (0)