Add resource requests & limits for mysql test

pull/10235/head
BLasan 2021-01-25 02:49:11 +05:30
parent 2f81d4874f
commit ba32668192
1 changed files with 8 additions and 1 deletions

View File

@ -24,8 +24,15 @@ spec:
app: mysql app: mysql
spec: spec:
containers: containers:
- image: mysql:5.6 - image: mysql:5.7
name: mysql name: mysql
resources:
requests:
memory: "512Mi"
cpu: "600m"
limits:
memory: "700Mi"
cpu: "700m"
env: env:
# Use secret in real usage # Use secret in real usage
- name: MYSQL_ROOT_PASSWORD - name: MYSQL_ROOT_PASSWORD