Skip to content

Conversation

@ashangit
Copy link
Contributor

What changes were proposed in this pull request?

Set default configuration on the helm template in order to support high availability of the operator without requiring specific configuration from the user

Why are the changes needed?

Simplify setup of HA, only need to increase the number of replicas

Does this PR introduce any user-facing change?

No

How was this patch tested?

Run helm template with 1 and more replicas to check that added resources are well displayed
Deployed on a local kubernetes cluster with replicas set to 3

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added the BUILD label Dec 19, 2025
@ashangit ashangit changed the title test Add Helm configuration for spark operator HA Dec 19, 2025
@ashangit ashangit force-pushed the nfraison/high-availability branch from 7024b3a to a7ebc51 Compare December 19, 2025 09:36
@dongjoon-hyun
Copy link
Member

cc @jiangzho ?


{{- if gt (int .Values.operatorDeployment.replicas) 1 }}
---
apiVersion: policy/v1beta1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

policy/v1 instead of policy/v1beta1?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants