splunk / splunk-operator

Splunk Operator for Kubernetes
Other
210 stars 115 forks source link

Splunk Operator: Error SearchHeadcluster and IndexerCluster #1331

Open Zeroxcharisma opened 6 months ago

Zeroxcharisma commented 6 months ago

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 commented 6 months ago

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:

clusterManager: enabled: true additionalLabels: label: "true" additionalAnnotations: annotation: "true" extraEnv:

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

serviceTemplate: spec: type: LoadBalancer

extraEnv:

this is my code

vivekr-splunk commented 1 month ago

@Zeroxcharisma can you try upgrading SOK to 2.6.1.