Browse Source

Merge pull request #291 from JimmyYang20/fixbug-install

Fixbug: cloud node cannot connect k8s apiservice in allinone
tags/v0.5.0
KubeEdge Bot GitHub 3 years ago
parent
commit
62685c245b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      scripts/installation/all-in-one.sh

+ 3
- 0
scripts/installation/all-in-one.sh View File

@@ -394,11 +394,14 @@ function install_edgemesh() {
local server_node_name
if ((NUM_CLOUD_WORKER_NODES>0)); then
server_node_name=${CLUSTER_NAME}-worker
# master node also needs edgemesh agent for apiservice's communication
kubectl taint nodes ${CLUSTER_NAME}-control-plane node-role.kubernetes.io/master=:NoSchedule-
else
server_node_name=${CLUSTER_NAME}-control-plane
fi

echo Installing edgemesh with server on $server_node_name

# enable Local APIServer
reconfigure_cloudcore '.modules.dynamicController.enable=true'



Loading…
Cancel
Save