diff options
| author | wackxu <xushiwei5@huawei.com> | 2022-11-04 14:39:19 +0800 |
|---|---|---|
| committer | wackxu <xushiwei5@huawei.com> | 2022-11-04 14:39:19 +0800 |
| commit | 64e3d78e144f01bf6a9b11f4f9ed65eac3ff9aa8 (patch) | |
| tree | b1ecc0dd0c07086ff5b05fdfa089c10a75cdd9ad /hack | |
| parent | Merge pull request #4363 from donghui12/fix/fix_edge_edged_word (diff) | |
| download | kubeedge-64e3d78e144f01bf6a9b11f4f9ed65eac3ff9aa8.tar.gz | |
local up cluster support edge list-watch
Signed-off-by: wackxu <xushiwei5@huawei.com>
Diffstat (limited to 'hack')
| -rwxr-xr-x | hack/local-up-kubeedge.sh | 5 |
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} |
