Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Splunk Operator: Error SearchHeadcluster and IndexerCluster #1331

Open
Zeroxcharisma opened this issue May 21, 2024 · 2 comments
Open

Splunk Operator: Error SearchHeadcluster and IndexerCluster #1331

Zeroxcharisma opened this issue May 21, 2024 · 2 comments
Assignees
Labels

Comments

@Zeroxcharisma
Copy link

Please select the type of request

Bug

Tell us more

Describe the request
I am trying to deploy the c3 architecture of splunk on my kubernetes cluster using helm chart , and I found a small test that you got under kuttl file , containing the c3 deployment , the result is failing with errors on the searchhead and the indexercluster .

Expected behavior
see my pods up and running with the searchhead cluster , indexercluster and clustermanager

Splunk setup on K8S
using helm chart that you got and this two images :
-splunk-operator.image.repository=docker.io/splunk/splunk:9.2
-splunk-operator.splunkOperator.image.repository=docker.io/splunk/splunk-operator:2.5.2

Reproduction/Testing steps
as you can see here pods are running
image
but this is not :
image
and I don't have any pod for indexercluster :
image
image

K8s environment
image
image

@Zeroxcharisma
Copy link
Author

Deploy Splunk Operator chart

Disable if the Splunk Operator is already deployed

splunk-operator:
enabled: false
splunkOperator:
clusterWideAccess: false
annotations:
annotation: "true"

sva:
c3:
enabled: true

  clusterManager:
    name: cm

  indexerClusters:
    - name: idxc
      replicaCount: 4

  searchHeadClusters:
    - name: shc

indexerCluster:
enabled: true
additionalLabels:
label: "true"
additionalAnnotations:
annotation: "true"

extraEnv:
- name: SPLUNK_PASSWORD
value: splunk123*

livenessInitialDelaySeconds: 300
readinessInitialDelaySeconds: 10

etcVolumeStorageConfig:
ephemeralStorage: false
storageCapacity: 25Gi
storageClassName: local-path

varVolumeStorageConfig:
ephemeralStorage: false
storageCapacity: 100Gi
storageClassName: local-path

clusterManager:
enabled: true
additionalLabels:
label: "true"
additionalAnnotations:
annotation: "true"
extraEnv:
- name: SPLUNK_PASSWORD
value: splunk123*

livenessInitialDelaySeconds: 300
readinessInitialDelaySeconds: 10
etcVolumeStorageConfig:
ephemeralStorage: false
storageCapacity: 25Gi
storageClassName: local-path

varVolumeStorageConfig:
ephemeralStorage: false
storageCapacity: 100Gi
storageClassName: local-path

searchHeadCluster:
enabled: true
additionalLabels:
label: "true"
additionalAnnotations:
annotation: "true"

serviceTemplate:
spec:
type: LoadBalancer

extraEnv:
- name: SPLUNK_PASSWORD
value: splunk123*

livenessInitialDelaySeconds: 300
readinessInitialDelaySeconds: 10

etcVolumeStorageConfig:
ephemeralStorage: false
storageCapacity: 25Gi
storageClassName: local-path

varVolumeStorageConfig:
ephemeralStorage: false
storageCapacity: 100Gi
storageClassName: local-path

this is my code

@vivekr-splunk
Copy link
Collaborator

vivekr-splunk commented Oct 22, 2024

@Zeroxcharisma can you try upgrading SOK to 2.6.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants