Closed InGramViking closed 1 year ago
在ConfigMap中添加mysql.host配置,并在StatefulSet中添加此环境变量;
添加SPRING_DATASOURCE_PLATFORM环境变量配置;
修改使用peer时的podManagementPolicy;
将Wiki中的k8s低版本的service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" 注解升级到新版publishNotReadyAddresses: true 配置
添加SPRING_DATASOURCE_PLATFORM参数说明
Thx
在ConfigMap中添加mysql.host配置,并在StatefulSet中添加此环境变量;
添加SPRING_DATASOURCE_PLATFORM环境变量配置;
修改使用peer时的podManagementPolicy;
将Wiki中的k8s低版本的service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" 注解升级到新版publishNotReadyAddresses: true 配置
添加SPRING_DATASOURCE_PLATFORM参数说明