You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/MultisiteExamples.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,6 @@ metadata:
55
55
finalizers:
56
56
- enterprise.splunk.com/delete-pvc
57
57
spec:
58
-
image: "splunk/splunk:8.1.0"
59
58
defaults: |-
60
59
splunk:
61
60
site: site1
@@ -71,6 +70,15 @@ spec:
71
70
# Apps defined here are deployed to the indexers of all the sites
72
71
apps_location:
73
72
- "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
74
82
EOF
75
83
```
76
84
@@ -86,7 +94,6 @@ metadata:
86
94
- enterprise.splunk.com/delete-pvc
87
95
spec:
88
96
replicas: 2
89
-
image: "splunk/splunk:8.1.0"
90
97
clusterMasterRef:
91
98
name: example
92
99
defaults: |-
@@ -106,6 +113,7 @@ EOF
106
113
```
107
114
Create IndexerCluster CR for each required site with zone affinity specified as needed
108
115
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.
109
117
110
118
## Connecting a search-head cluster to a multisite indexer-cluster
0 commit comments