summaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorwackxu <xushiwei5@huawei.com>2022-11-04 14:39:19 +0800
committerwackxu <xushiwei5@huawei.com>2022-11-04 14:39:19 +0800
commit64e3d78e144f01bf6a9b11f4f9ed65eac3ff9aa8 (patch)
treeb1ecc0dd0c07086ff5b05fdfa089c10a75cdd9ad /hack
parentMerge pull request #4363 from donghui12/fix/fix_edge_edged_word (diff)
downloadkubeedge-64e3d78e144f01bf6a9b11f4f9ed65eac3ff9aa8.tar.gz
local up cluster support edge list-watch
Signed-off-by: wackxu <xushiwei5@huawei.com>
Diffstat (limited to 'hack')
-rwxr-xr-xhack/local-up-kubeedge.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/hack/local-up-kubeedge.sh b/hack/local-up-kubeedge.sh
index 9686a6c8a..c3d19b783 100755
--- a/hack/local-up-kubeedge.sh
+++ b/hack/local-up-kubeedge.sh
@@ -108,6 +108,10 @@ function start_cloudcore {
if [[ "${PROTOCOL}" = "QUIC" ]]; then
sed -i '/quic:/{n;N;s/false/true/;}' ${CLOUD_CONFIGFILE}
fi
+
+ # enable dynamic controller
+ sed -i '/dynamicController:/{n;s/false/true/;}' ${CLOUD_CONFIGFILE}
+
sed -i -e "s|kubeConfig: .*|kubeConfig: ${KUBECONFIG}|g" \
-e "s|/var/lib/kubeedge/|/tmp&|g" \
-e "s|/etc/|/tmp/etc/|g" \
@@ -130,6 +134,7 @@ function start_edgecore {
${EDGE_BIN} --defaultconfig > ${EDGE_CONFIGFILE}
sed -i '/edgeStream:/{n;s/false/true/;}' ${EDGE_CONFIGFILE}
+ sed -i '/metaServer:/{n;s/false/true/;}' ${EDGE_CONFIGFILE}
if [[ "${PROTOCOL}" = "QUIC" ]]; then
sed -i '/quic:/{n;s/false/true/;}' ${EDGE_CONFIGFILE}