summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKubeEdge Bot <48982446+kubeedge-bot@users.noreply.github.com>2024-01-17 14:41:27 +0800
committerGitHub <noreply@github.com>2024-01-17 14:41:27 +0800
commit8cc173f611a20a7e716ce74ddc08886f29960e47 (patch)
treecb55afa380cf2ef57a675df91a87d6257aaaae9c /common
parentMerge pull request #5329 from wbc6080/fix-device-namespace-incloud (diff)
parentUse the DaemonSet to manage the mqtt broker (diff)
downloadkubeedge-8cc173f611a20a7e716ce74ddc08886f29960e47.tar.gz
Merge pull request #5235 from WillardHu/mqtt-daemonset
Use the DaemonSet to manage the mqtt broker
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 0f03d62b9..fab460eee 100644
--- a/common/constants/default.go
+++ b/common/constants/default.go
@@ -35,7 +35,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"
@@ -152,8 +154,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