Skip to content

Splunk Operator: deployerNodeAffinity and deployerResourceSpec not exposed in helm chart #1661

Closed

Description

@gblues

Please select the type of request

Bug

Tell us more

Describe the request
Since release 1.27, the SOK has provided two properties on the SearchHeadCluster custom resource to control affinity and resource consumption of the Deployer:

  • deployerNodeAffinity
  • deployerResourceSpec

However, neither of these are exposed in the Helm chart, which means they cannot be used in a Helm-based deployment without customizing the template.

Expected behavior
Given the following values.yaml

---
# values.yaml
searchHeadCluster:
  # ...
  deployerNodeAffinity:
    requiredDuringSchedulingIgnoredDuringExecution:
      nodeSelectorTerms:
      - matchExpressions:
        - key: app.kubernetes.io/part-of
          operator: In
          values:
          - splunk
        - key: splunk.io/instance-type
          operator: In
          values:
          - shcd
  deployerResourceSpec:
    requests:
      cpu: "256m"
      memory: "4Gi"
    limits:
      cpu: "1000m"
      memory: "8Gi"

the properties above should be rendered into the SearchHeadCluster yaml:

---
# templated chart ouptut
apiVersion: enterprise.splunk.com/v4
kind: SearchHeadCluster
metadata:
  name: sh
  namespace: splunk
spec:
# ...
  deployerNodeAffinity:
    requiredDuringSchedulingIgnoredDuringExecution:
      nodeSelectorTerms:
      - matchExpressions:
        - key: app.kubernetes.io/part-of
          operator: In
          values:
          - splunk
        - key: splunk.io/instance-type
          operator: In
          values:
          - shcd
  deployerResourceSpec:
    limits:
      cpu: 1000m
      memory: 8Gi
    requests:
      cpu: 256m
      memory: 4Gi

Splunk setup on K8S

  • we are deploying Splunk on EKS using the splunk-enterprise chart version 3.0.0

Reproduction/Testing steps

  • rough example given in description above

K8s environment

  • not relevant

Proposed changes(optional)

Activity

  1. self-assigned this
    on Jan 21, 2026
  2. kasiakoziol commented on Jan 22, 2026

    @kasiakoziol
    Collaborator

    Hello
    I just raised a PR (#1668) to address the issue. Once merged, it will probably go to the upcoming release, 3.1.0.
    Best regards,
    Kasia

  3. kasiakoziol commented on Aug 5, 2026

    @kasiakoziol
    Collaborator

    Hello @gblues
    Closing the issue. This is already fixed and released as a part of 3.1.0 (https://github.com/splunk/splunk-operator/blob/3.1.0/helm-chart/splunk-enterprise/templates/enterprise_v4_searchheadcluster.yaml#L31-L36).
    Best regards,
    Kasia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions