mirror of
https://github.com/ghndrx/blog-manifest.git
synced 2026-02-10 06:54:59 +00:00
update
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user