Deployment Architecture

Splunk cluster in Docker / Kubernetes (Containerization)

splunkreal
Influencer

Hello, anyone had experience with containers for Splunk cluster? Does it fit SHC kvstore for instance or indexers? Any risk?

Thanks!

* If this helps, please upvote or accept solution if it solved *
0 Karma

Wander
Path Finder

Here's a couple of projects from Splunk's github page:

https://github.com/splunk/docker-splunk

https://github.com/splunk/splunk-operator

I'm working through this as well, so I don't have a review or either yet

0 Karma

PickleRick
SplunkTrust
SplunkTrust

There are several groups on Splunk Slack - #docker, #kubernetes and #splunk_operator_for_kubernetes (or something like this; easily findable). So you might get help there.

Generally - containerized Splunk to be "really functional" has to:

1) Externalize config and state

2) Expose ports

So if you can get those two elements done properly I don't see why shouldn't it work as SHC culster.

Having said that - I"m not an expert on containerized Splunk and I generally dislike containerized tools.

splunkreal
Influencer

Thanks @PickleRick  how would you externalize kvstore for instance?

* If this helps, please upvote or accept solution if it solved *
0 Karma

PickleRick
SplunkTrust
SplunkTrust

As far as I remember, those containers mount stuff like $SPLUNK_HOME/etc and $SPLUNK_HOME/var/lib from outside. But into that you'd have to dig more yourself. My experience with dockerized Splunk is relatively limited (to let's spin up quickly some empty instance and check if it can do X or Y).

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...