splunk / splunk-operator

Splunk Operator for Kubernetes
Other
209 stars 115 forks source link

Smartstore: Clarify smartstore documentation #960

Open marcusschiesser opened 2 years ago

marcusschiesser commented 2 years ago

Please select the type of request

Enhancement

Tell us more

Describe the request Setting up an indexer cluster took me 4 days, primarily because the incorrect documentation you can find at https://splunk.github.io/splunk-operator/SmartStore.html was leading me in the wrong direction - for the whole drama read: https://splunk-usergroups.slack.com/archives/C01M8M2R3AM/p1667274184903249?thread_ts=1666813185.357399&cid=C01M8M2R3AM

Expected behavior

  1. Fix incorrect documentation:

  2. Add more debugging help:

Splunk setup on K8S

yaroslav-nakonechnikov commented 1 year ago

@marcusschiesser so did you manage to install apps from s3 with native s3:// way? or how you did that?

marcusschiesser commented 1 year ago

@iaroslav-nakonechnikov yes it's working with secret key authentication, see https://splunk-usergroups.slack.com/archives/C01M8M2R3AM/p1667457690723269?thread_ts=1666813185.357399&cid=C01M8M2R3AM - but the documentation is claiming it's working with IAM roles which is not true.

yaroslav-nakonechnikov commented 1 year ago

aaah, we can't use secret keys... :(

so in our case this leads to #1030

ps. i don't have access to slack, sent request to splunk to open it.

vivekr-splunk commented 1 year ago

this will be an enhancement for splunk. We are working on supporting AWS IAM Service account for splunkd.

yaroslav-nakonechnikov commented 1 year ago

another thing which was found just today: splunk can work with s3 smartstore in EKS with node-profile with one exception: Nodes should have NDIS v1 turned on, otherwise it can't send requests to http://169.254.169.254

for us, for example, it was unexpected completely, as we are already using V2 by default everywhere. and why? Answer: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html