summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWillardHu <wei.hu@daocloud.io>2023-12-06 18:21:49 +0800
committerWillardHu <wei.hu@daocloud.io>2024-01-16 13:44:46 +0800
commitc63cd0b5bdb0b6c0aa159dde07c0dfc3b7b7b6db (patch)
treeeba88783ac9df3dec6e26cedb277678fd382db5e /common
parentMerge pull request #5290 from cl2017/device_admission (diff)
downloadkubeedge-c63cd0b5bdb0b6c0aa159dde07c0dfc3b7b7b6db.tar.gz
Use the DaemonSet to manage the mqtt broker
Signed-off-by: WillardHu <wei.hu@daocloud.io>
Diffstat (limited to 'common')
-rw-r--r--common/constants/default.go10
1 files changed, 8 insertions, 2 deletions
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