Skip to content

[Design] How to handle modules in operator #122

@utdrmac

Description

@utdrmac

This issue is an open discussion on how to handle modules within the operator. There were proposals, and discussions (#118) on the implementation for valkey configuration parameters, along with modules. It was then realized that modules are not currently part of the valkey/valkey:9.0.0 image that the operator uses. Thus, any attempt to specify a module config would fail to start the cluster. It was decided to move module support out of #44, and into a separate PR, and open this discussion.

There are currently two proposals:

  • Create an operator-specific image that combines the base valkey binary, and all the modules in github.com/valkey-io/valkey-bundle
  • Use the valkey-bundle image as an init-container, and copy/mount the modules into the pod

If you have a solution proposal, or comment, feel free to put below. For extra credit, consider if and how other 3rd party modules could also be supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions