Browse Source

Fixbug: cloud node cannot connect k8s apiservice

master node also needs edgemesh agent for communication of apiservice

Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
tags/v0.5.0
JimmyYang20 3 years ago
parent
commit
7bda1fda0c
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