之前使用的emqx 4.3.15开源版本,K8S创建rbac、service、API server方式安装正常,目前希望使用新版本emqx 5.3.1开源版本,在原有的安装方式上只更新了镜像文件为emqx5.3.1版本,部署多个pod后发现无法实现集群,进入pod查询cluster status发现各节点没有集群成功,且负载的dashbroad也无法登录。请专家老师帮忙指导,感谢!
以下是节点日志
WARNING: Default (insecure) Erlang cookie is in use.
WARNING: Configure node.cookie in /opt/emqx/etc/emqx.conf or override from environment variable EMQX_NODE__COOKIE
WARNING: NOTE: Use the same cookie for all nodes in the cluster.
[warning] unknown_env_vars: [“EMQX_CLUSTER__DISCOVERY”,“EMQX_CLUSTER__K8S__APP_NAME”]
EMQX_RPC__PORT_DISCOVERY [rpc.port_discovery]: manual
EMQX_CLUSTER__K8S__NAMESPACE [cluster.k8s.namespace]: default
EMQX_CLUSTER__K8S__ADDRESS_TYPE [cluster.k8s.address_type]: ip
EMQX_CLUSTER__K8S__SERVICE_NAME [cluster.k8s.service_name]: emqx-service
EMQX_CLUSTER__K8S__APISERVER [cluster.k8s.apiserver]: https://11.254.0.1:443
EMQX_NODE__NAME [node.name]: emqx@172.62.135.37
2023-11-29T10:46:49.329498+08:00 [warning] unknown_env_vars: [“EMQX_CLUSTER__DISCOVERY”,“EMQX_CLUSTER__K8S__APP_NAME”] mfa: undefined
Listener ssl:default on 0.0.0.0:8883 started.
Listener tcp:default on 0.0.0.0:1883 started.
Listener ws:default on 0.0.0.0:8083 started.
Listener wss:default on 0.0.0.0:8084 started.
Listener http:dashboard on :18083 started.
EMQX 5.3.1 is running now!