This commit is contained in:
gregory hendrickson
2023-01-26 10:21:20 -08:00
parent 1f680d6fd1
commit d86f186dc1
2 changed files with 14 additions and 9 deletions

View File

@@ -18,9 +18,6 @@ spec:
image: ghost:latest image: ghost:latest
ports: ports:
- containerPort: 2368 - containerPort: 2368
volumeMounts:
- name: ghost-blog-content
mountPath: /var/lib/ghost/content
env: env:
- name: url - name: url
valueFrom: valueFrom:
@@ -59,5 +56,10 @@ spec:
requests: requests:
cpu: "100m" cpu: "100m"
memory: "256Mi" memory: "256Mi"
volumeMounts:
- name: ghost-blog-content
mountPath: /var/lib/ghost/content
volumes:
- name: ghost-blog-content
persistentVolumeClaim:
claimName: ghost-blog-pvc

View File

@@ -18,9 +18,6 @@ spec:
image: mysql:8.0 image: mysql:8.0
ports: ports:
- containerPort: 3306 - containerPort: 3306
volumeMounts:
- name: mysql-storage
mountPath: /var/lib/mysql
env: env:
- name: MYSQL_ROOT_PASSWORD - name: MYSQL_ROOT_PASSWORD
valueFrom: valueFrom:
@@ -49,4 +46,10 @@ spec:
limits: limits:
memory: "512Mi" memory: "512Mi"
cpu: "500m" cpu: "500m"
volumeMounts:
- name: mysql-persistent-storage
mountPath: /var/lib/mysql
volumes:
- name: mysql-persistent-storage
persistentVolumeClaim:
claimName: mysql-pvc