Browse Source

部署nacos修改

dev-lhz
chenzhihang 1 year ago
parent
commit
e2e359ee9c
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      k8s/deploy.sh
  2. +1
    -1
      k8s/template-yaml/k8s-3nacos.yaml

+ 1
- 1
k8s/deploy.sh View File

@@ -115,7 +115,7 @@ deploy_service() {

deploy_nacos() {
local yaml_file=$1
scp ${baseDir}/k8s/${yaml_file} root@$remote_ip:${remote_deploy_dir}/${yaml_file}
scp ${baseDir}/k8s/template-yaml/${yaml_file} root@$remote_ip:${remote_deploy_dir}/${yaml_file}
deploy_service ${yaml_file}
}



+ 1
- 1
k8s/template-yaml/k8s-3nacos.yaml View File

@@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: nacos-ci4s
image: ${k8s-3nacos-image}
image: nacos/nacos-server:v2.2.0
env:
- name: SPRING_DATASOURCE_PLATFORM
value: mysql


Loading…
Cancel
Save