Skip to content

Commit 12fc3f7

Browse files
Merge pull request #158 from splunk/bugfix/CSPL-522
Minor updates to docs for multisite indexer clusters
2 parents 15fd21b + 160a3db commit 12fc3f7

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

docs/Examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ deployments.
66

77
- [Creating a Clustered Deployment](#creating-a-clustered-deployment)
88
- [Indexer Clusters](#indexer-clusters)
9-
- [Cluster Master part](#cluster-master-part)
9+
- [Cluster Master](#cluster-master)
1010
- [Indexer part](#indexer-part)
1111
- [Search Head Clusters](#search-head-clusters)
1212
- [Cluster Services](#cluster-services)

docs/MultisiteExamples.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ metadata:
5555
finalizers:
5656
- enterprise.splunk.com/delete-pvc
5757
spec:
58-
image: "splunk/splunk:8.1.0"
5958
defaults: |-
6059
splunk:
6160
site: site1
@@ -71,6 +70,15 @@ spec:
7170
# Apps defined here are deployed to the indexers of all the sites
7271
apps_location:
7372
- "https://example.com/splunk-apps/app3.tgz"
73+
affinity:
74+
nodeAffinity:
75+
requiredDuringSchedulingIgnoredDuringExecution:
76+
nodeSelectorTerms:
77+
- matchExpressions:
78+
- key: failure-domain.beta.kubernetes.io/zone
79+
operator: In
80+
values:
81+
- zone-1a
7482
EOF
7583
```
7684

@@ -86,7 +94,6 @@ metadata:
8694
- enterprise.splunk.com/delete-pvc
8795
spec:
8896
replicas: 2
89-
image: "splunk/splunk:8.1.0"
9097
clusterMasterRef:
9198
name: example
9299
defaults: |-
@@ -106,6 +113,7 @@ EOF
106113
```
107114
Create IndexerCluster CR for each required site with zone affinity specified as needed
108115

116+
Note: The value of label for zone i.e. `zone-1a` for label `failure-domain.beta.kubernetes.io/zone` is specific to each cloud provider and should be changed based on the cloud provider you are using.
109117

110118
## Connecting a search-head cluster to a multisite indexer-cluster
111119

0 commit comments

Comments
 (0)