All Apps and Add-ons

config-map kubernetes mount

mastoras
Explorer

Hello team,
I am running splunk in our kubernetes cluster and until now I was configuring only via the api and it works great.

I currently would like to change the email settings and not to do it via the api but by mounting a config-map and creating alert_actions.conf under /opt/splunk/etc/system/local

But the pod will keep crashing:
chown: changing ownership of ‘/opt/splunk/etc/system/local/’: Read-only file system

Any ideas about it please?

mattymo
Splunk Employee
Splunk Employee

i suggest you check out our docker images (which use ansible for orchestration playbooks) and kubernetes operator! They contain app logic to allow you to upload splunk config via apps, rather than configmaps, which can get sketchy with permissions.

https://github.com/splunk/splunk-operator/blob/master/docs/Examples.md#installing-splunk-apps

https://github.com/splunk/docker-splunk/blob/develop/docs/advanced/APP_INSTALL.md

- MattyMo
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...