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
The App Framework detects the Splunk app or add-on archive files available in the App Source locations, and deploys them to the standalone instance path for local use.
73
73
@@ -133,7 +133,7 @@ spec:
133
133
secretRef: s3-secret
134
134
```
135
135
136
-
6. Apply the Custom Resource specification: `kubectl apply -f ClusterMaster.yaml`
The App Framework detects the Splunk app or add-on archive files available in the App Source locations, and deploys the apps from the `adminApps` folder to the cluster manager instance for local use.
139
139
@@ -208,7 +208,7 @@ spec:
208
208
secretRef: s3-secret
209
209
```
210
210
211
-
6. Apply the Custom Resource specification: `kubectl apply -f SearchHeadCluster.yaml`
The App Framework detects the Splunk app or add-on archive files available in the App Source locations, and deploys the apps from the `adminApps` folder to the Deployer instance for local use.
Copy file name to clipboardExpand all lines: docs/Examples.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ The Splunk Operator makes creation of a cluster easy by utilizing a `ClusterMast
54
54
55
55
#### Cluster Manager
56
56
```yaml
57
-
cat <<EOF | kubectl apply -f -
57
+
cat <<EOF | kubectl apply -n splunk-operator -f -
58
58
apiVersion: enterprise.splunk.com/v3
59
59
kind: ClusterMaster
60
60
metadata:
@@ -73,7 +73,7 @@ The Splunk Operator also controls the upgrade cycle, and implements the recommen
73
73
This example includes the `monitoringConsoleRef` parameter used to define a monitoring console pod. The monitoring console pod does not need to be running; the name can be predefined and the pod started later. To start the monitoring console pod, see [Monitoring Console](#monitoring-console), or use the example below:
74
74
75
75
```yaml
76
-
cat <<EOF | kubectl apply -f -
76
+
cat <<EOF | kubectl apply -n splunk-operator -f -
77
77
apiVersion: enterprise.splunk.com/v3
78
78
kind: MonitoringConsole
79
79
metadata:
@@ -89,7 +89,7 @@ The passwords for the instance are generated automatically. To review the passwo
You can also create [Horizontal Pod Autoscalers](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/) to manage dynamic scaling for you. For example:
Having a separate CR for cluster manager allows you to define parameters differently than the indexers, such as storage capacity and the storage class used by persistent volumes.
236
236
237
237
```yaml
238
-
cat <<EOF | kubectl apply -f -
238
+
cat <<EOF | kubectl apply -n splunk-operator -f -
239
239
apiVersion: enterprise.splunk.com/v3
240
240
kind: ClusterMaster
241
241
metadata:
@@ -273,7 +273,7 @@ The Monitoring Console provides detailed topology and performance information ab
273
273
274
274
275
275
```yaml
276
-
cat <<EOF | kubectl apply -f -
276
+
cat <<EOF | kubectl apply -n splunk-operator -f -
277
277
apiVersion: enterprise.splunk.com/v3
278
278
kind: MonitoringConsole
279
279
metadata:
@@ -294,7 +294,7 @@ You can create a search head cluster that is configured to communicate with your
294
294
and adding the `clusterMasterRef` parameter.
295
295
296
296
```yaml
297
-
cat <<EOF | kubectl apply -f -
297
+
cat <<EOF | kubectl apply -n splunk-operator -f -
298
298
apiVersion: enterprise.splunk.com/v3
299
299
kind: SearchHeadCluster
300
300
metadata:
@@ -312,7 +312,7 @@ EOF
312
312
This will automatically create a deployer with 3 search heads clustered together. Search head clusters require a minimum of 3 members. This example includes the `monitoringConsoleRef` parameter and name used to define a monitoring console (MC) pod. To start the monitoring console pod, see [Monitoring Console](#monitoring-console), or use the example below:
313
313
314
314
```yaml
315
-
cat <<EOF | kubectl apply -f -
315
+
cat <<EOF | kubectl apply -n splunk-operator -f -
316
316
apiVersion: enterprise.splunk.com/v3
317
317
kind: MonitoringConsole
318
318
metadata:
@@ -689,7 +689,7 @@ spec:
689
689
While configuring [`Indexer Clusters`](Examples.md#indexer-clusters) to use the `LicenseMaster`, you need to add `licenseMasterRef` only to the `ClusterMaster` spec as follows:
0 commit comments