This commit is contained in:
@@ -34,6 +34,13 @@ steps:
|
||||
--dockerfile Dockerfile
|
||||
--destination ccr.ccs.tencentyun.com/violin/todo-backend:${DRONE_COMMIT_SHA}
|
||||
--verbosity debug
|
||||
resources:
|
||||
requests:
|
||||
memory: 1Gi
|
||||
cpu: 500m
|
||||
limits:
|
||||
memory: 4Gi # <--- 关键:给大一点,防止爆内存
|
||||
cpu: 2000m
|
||||
|
||||
- name: dev-deploy
|
||||
image: ccr.ccs.tencentyun.com/violin/kubectl:latest
|
||||
|
||||
Reference in New Issue
Block a user