1 apiVersion: v1
2 kind: Pod
3 metadata:
4 name: frontend
5 spec:
6 containers:
7 - name: db
8 image: mysql
9 env:
10 - name: MYSQL_ROOT_PASSWORD
11 value: "password"
12 resources:
13 requests:
14 memory: "64Mi"
15 cpu: "250m"
16 limits:
17 memory: "128Mi"
18 cpu: "500m"
19 - name: wp
20 image: wordpress
21 resources:
22 requests:
23 memory: "64Mi"
24 cpu: "250m"
25 limits:
26 memory: "128Mi"
27 cpu: "500m"