Skip to content

(feat) Support StatefulSet workload for ValkeyCluster #53

@sandeepkunusoth

Description

@sandeepkunusoth

Today the operator creates a Deployment for ValkeyCluster pods (see internal/controller/deployment.go). Add support to create ValkeyCluster pods via a StatefulSet instead.

Proposed Spec (initial version):

spec:
 workload:
   kind: StatefulSet   # default: Deployment

Acceptance Criteria:

  • If spec.workload.kind: StatefulSet is set, the operator creates and reconciles a StatefulSet and other dependencies accordingly for the ValkeyCluster pods.
  • Default behavior remains unchanged (operator continues creating a Deployment when the field is not set).

Contribution:

  • I’m willing to implement this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions