feat: add VerneMQ 2.x support and restore vmq_k8s Kubernetes plugin#54
Open
fcraviolatti wants to merge 3 commits intovernemq:masterfrom
Open
feat: add VerneMQ 2.x support and restore vmq_k8s Kubernetes plugin#54fcraviolatti wants to merge 3 commits intovernemq:masterfrom
fcraviolatti wants to merge 3 commits intovernemq:masterfrom
Conversation
- Allow major version 2 in statefulset version check - Update defaultVerneMQVersion to 2.1.2-alpine
- Recover erlang/src/ files from old commit 44adcef (plugin was removed) - Migrate lager -> OTP logger throughout vmq_k8s_reloader.erl - Fix missing comma bug in cluster leave command args - Add rebar.config with yamerl dep (no lager) - Update bundler rebar dep to reference this fork instead of upstream - Update Dockerfile: golang:1.18 -> golang:1.23 - Add Dockerfile.prebuilt for pre-built binary workflow
…ream reference
- Move Erlang sources from erlang/src/ to src/ at repo root for rebar3
compatibility (rebar3 fetches deps from root by default)
- Move rebar.config to repo root accordingly
- Update vmq_k8s dep reference to vernemq/vmq-operator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
defaultVerneMQVersionto2.1.2-alpinevmq_k8sErlang plugin that was removed in a previous refactorvmq_k8s plugin
The
vmq_k8splugin handles cluster join/leave by querying the Kubernetes API, which is essential for VerneMQ to form and maintain a cluster in Kubernetes. Without it, nodes cannot discover each other via pod listing.Changes vs the original plugin:
lager(deprecated) to OTP logger (built-in since OTP 21)rebar.configto useyamerlwithoutlagersrc/) for rebar3 compatibilityTest plan
vmq_k8splugin is loaded and cluster membership works across pod restarts🤖 Generated with Claude Code