Commit 3c7df3cb authored by 智勇's avatar 智勇

修改为tke的更新服务

parent 3865679b
......@@ -77,16 +77,15 @@ def project_attr(systemName) {
}
def update_microservice(namespace, name, image, tier) {
dest_url = "http://eos.quantgroups.com/api/qahome/update_microservice"
dest_url = "http://172.30.220.22:3003/k8s/service/modifyImage"
response = httpRequest httpMode:"PUT",
response = httpRequest httpMode:"POST",
consoleLogResponseBody:true,
contentType:"APPLICATION_JSON",
requestBody:"""{
"namespace":"${namespace}",
"name":"${name}",
"image":"${image}",
"tier":"${tier}"
"serviceName":"${name}",
"image":"${image}"
}""",
url:dest_url
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment