Deploy Splunk POD
Install a Splunk POD cluster from a bastion node using the Splunk Kubernetes Installer.
Deploy a Splunk POD cluster using the Kubernetes Installer for Splunk POD. The installer uses a static cluster configuration file (YAML) as a blueprint for the deployment.
Validate the cluster
Confirm a successful Splunk POD deployment and access Splunk Enterprise. Allow 10–15 minutes after the initial installation for all cluster components (pods) to reach a fully operational state.
Static cluster configuration file reference
Field definitions, app scopes, and configuration examples for the POD YAML file.
| Field | Value | Description |
|---|---|---|
| apiVersion | enterprise.splunk.com/v1beta1 | Schema version of this configuration file. |
| kind | KubernetesCluster | Defines the type of resource being created. |
| profile | pod-small, pod-medium, pod-large | POD sizing option. |
| license | List of file paths | Absolute path to your Splunk Enterprise license file on the bastion node. |
| ssh | user and privateKey | The sudo-enabled user and private key path used to access all nodes. |
| controllers | List of 3 IP addresses | Includes the three control plane servers. |
| workers | List of 4+ IP addresses | Includes all search heads, indexers, and volume servers. |
| clustermanager | Nested apps block | Configuration for indexer cluster manager. |
| searchheadcluster | List of named search head clusters | Configuration for search head clusters. Applies only to pod-medium and pod-large. |
| standalone | List of named instances | Configuration for standalone search heads. Applies only to pod-small. |
| apps | Scope (cluster, local, premium) | Define app deployment under tier stanzas. |
About app scopes
The scope determines how the installer distributes an app across the Kubernetes cluster:
- cluster
- The installer deploys the app through the cluster manager (for indexers) or the Search Head Cluster Deployer (for search heads). Use this scope to distribute apps across the indexer tier or search head tier.
- local
- The installer deploys the app only on the selected instance type. Use this scope for standalone search heads with non-premium apps.
- premium
- Use this scope to deploy premium apps such as Splunk Enterprise Security (ES) only. The premium scope is supported in standalone and searchheadcluster stanzas.
Configure standalone search heads for pod-small
The pod-small (non-ES) option supports a single search head. To enable UI access for this profile, you must configure a standalone search head.
The pod-small with ES option supports two search heads. You can deploy two standalone search heads: one as an independent search head and the other as a host for Enterprise Security.
To configure these instances, specify the search heads as an array in the standalone stanza of the cluster configuration file, assigning each a unique name. You can access the first search head UI on port 8000 and the second on port 8001 using any worker node IP address.
standalone:
- name: es-sh
apps:
local:
- "/path/to/myapp.spl"
premium:
- "/path/to/splunk-es.spl"
- name: my-sh
apps:
local:
- "/path/to/myapp.spl"
Configure search head clusters for pod-medium and pod-large
The pod-medium and pod-large (non-ES) options each support a single search head cluster (SHC). To enable UI access, you must configure at least one SHC.
The pod-medium and pod-large with ES options each support up to two SHCs. You can deploy two clusters: one standard SHC, and one SHC for Enterprise Security. Each cluster has a fixed number of three search heads.
To configure these instances, specify the SHCs as an array in the searchheadcluster stanza of the cluster configuration file, assigning each a unique name. You can access the first SHC on port 443 and the second on port 8100 using any worker node IP address.
searchheadcluster:
- name: core-shc
apps:
cluster: ["./performance-insights-for-splunk_118.tgz"]
- name: es-shc
apps:
cluster: []
premium: ["./splunk_app_es-8.1.1-176740.tgz"]