From c63cd0b5bdb0b6c0aa159dde07c0dfc3b7b7b6db Mon Sep 17 00:00:00 2001 From: WillardHu Date: Wed, 6 Dec 2023 18:21:49 +0800 Subject: Use the DaemonSet to manage the mqtt broker Signed-off-by: WillardHu --- common/constants/default.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/constants/default.go b/common/constants/default.go index 07b642816..305a38071 100644 --- a/common/constants/default.go +++ b/common/constants/default.go @@ -38,7 +38,9 @@ const ( DefaultDockershimRootDir = "/var/lib/dockershim" DefaultRuntimeType = "remote" DefaultEdgedMemoryCapacity = 7852396000 - DefaultMosquittoImage = "eclipse-mosquitto:1.6.15" + // DefaultMosquittoImage ... + // Deprecated: the mqtt broker is alreay managed by the DaemonSet in the cloud + DefaultMosquittoImage = "eclipse-mosquitto:1.6.15" // update PodSandboxImage version when bumping k8s vendor version, consistent with vendor/k8s.io/kubernetes/cmd/kubelet/app/options/container_runtime.go defaultPodSandboxImageVersion // When this value are updated, also update comments in pkg/apis/componentconfig/edgecore/v1alpha1/types.go DefaultPodSandboxImage = "kubeedge/pause:3.6" @@ -155,8 +157,12 @@ const ( EdgeNodeRoleKey = "node-role.kubernetes.io/edge" EdgeNodeRoleValue = "" + // DefaultMosquittoContainerName ... + // Deprecated: the mqtt broker is alreay managed by the DaemonSet in the cloud DefaultMosquittoContainerName = "mqtt-kubeedge" - DeployMqttContainerEnv = "DEPLOY_MQTT_CONTAINER" + // DeployMqttContainerEnv ... + // Deprecated: the mqtt broker is alreay managed by the DaemonSet in the cloud + DeployMqttContainerEnv = "DEPLOY_MQTT_CONTAINER" // EdgeHub DefaultWebSocketPort = 10000 -- cgit v1.2.3