页次: 1
apollo部署到k8s上,k8s重启后apollo无法启动
检查步骤:
1,apollo mysql密码是否有特殊字符,configmap中检查
2,检查apolloconfigdb中的serverconfig eureka是否丢失为null
检查当前eureka地址
[root@daxin-2prod-k8s-21 ~]# kubectl get endpoints -n ops
NAME ENDPOINTS AGE
apollo-dev-env-config-server 10.244.165.252:8080,10.244.190.159:8080,10.244.65.235:8080 636d
修myslq表
mysql> update serverconfig set value='http://10.244.165.252:8080/eureka/,http://10.244.190.159:8080/eureka/,http://10.244.65.235:8080/eureka/' where id=1;
3,重启port server pod
最近编辑记录 小天天 (2022-04-25 19:49:35)
离线
页次: 1