Commit 73a8feb3 authored by 智勇's avatar 智勇

去掉健康检查

parent ad3939e0
......@@ -76,7 +76,7 @@ const imageUpdate = async (data) => {
const image = `ccr.ccs.tencentyun.com/${data.image}`
const updateObj = { spec: { template: { spec: { containers: [{ name: serviceName, image }] } } } }
logger.info('更新服务', namespace, JSON.stringify(updateObj))
logger.info('更新镜像', namespace, JSON.stringify(updateObj))
await client.apis.apps.v1beta1.namespaces(namespace).deployments(serviceName).patch({ body: updateObj })
}
......
......@@ -123,13 +123,6 @@ projectConfig['xyqb-user2'] = projectConfig.xyqb = {
},
}
projectConfig['traffic-webapp'] = _.assign({}, defaultJava, {
memory: {
request: 100,
limit: 200,
},
})
exports.projectConfig = projectConfig
exports.defaultConfig = {
java: defaultJava,
......
......@@ -59,15 +59,15 @@ spec:
limits:
cpu: {{resources.cpu.limit}}m
memory: {{resources.memory.limit}}Mi
readinessProbe:
exec:
command:
- /home/quant_group/readyCheck.sh
initialDelaySeconds: 60
timeoutSeconds: 2
periodSeconds: 5
successThreshold: 1
failureThreshold: 20
# readinessProbe:
# exec:
# command:
# - /home/quant_group/readyCheck.sh
# initialDelaySeconds: 60
# timeoutSeconds: 2
# periodSeconds: 5
# successThreshold: 1
# failureThreshold: 20
restartPolicy: Always
dnsPolicy: ClusterFirst
imagePullSecrets:
......
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