From 000797d30470fff61cc7bacde036ccab7d3f0eee Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Fri, 10 Apr 2026 11:17:22 +0200 Subject: [PATCH] feat: add listener presets for minikube --- .../src/platform/operator/listener_operator.rs | 11 +++++++++++ rust/stackablectl/CHANGELOG.md | 6 ++++++ 2 files changed, 17 insertions(+) diff --git a/rust/stackable-cockpit/src/platform/operator/listener_operator.rs b/rust/stackable-cockpit/src/platform/operator/listener_operator.rs index 214a128a..ae27e2c4 100644 --- a/rust/stackable-cockpit/src/platform/operator/listener_operator.rs +++ b/rust/stackable-cockpit/src/platform/operator/listener_operator.rs @@ -45,6 +45,9 @@ pub async fn determine_and_store_listener_class_preset(from_cli: Option<&Listene let listener_class_preset = match kubernetes_environment { // Kind does not support LoadBalancers out of the box, so avoid that KubernetesEnvironment::Kind => ListenerClassPreset::StableNodes, + // Minikube does support LoadBalancers via "minikube tunnel", but that requires additional setup + // and we assume that users running Minikube with stackablectl want to keep things simple. + KubernetesEnvironment::Minikube => ListenerClassPreset::StableNodes, // LoadBalancer support in k3s is optional, so let's be better safe than sorry and not use // them KubernetesEnvironment::K3s => ListenerClassPreset::StableNodes, @@ -69,6 +72,7 @@ enum KubernetesEnvironment { Kind, K3s, Ionos, + Minikube, Unknown, } @@ -100,6 +104,13 @@ async fn guess_kubernetes_environment() -> Result