Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
crimsonfaith91 committed Sep 18, 2017
1 parent 88c48bc commit 7543ee1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,17 @@ spec:
requests:
storage: 20Gi
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: wordpress-mysql
labels:
app: wordpress
spec:
selector:
matchLabels:
app: wordpress
tier: mysql
strategy:
type: Recreate
template:
Expand All @@ -58,4 +62,4 @@ spec:
volumes:
- name: mysql-persistent-storage
persistentVolumeClaim:
claimName: mysql-pv-claim
claimName: mysql-pv-claim
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,17 @@ spec:
requests:
storage: 20Gi
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: wordpress
labels:
app: wordpress
spec:
selector:
matchLabels:
app: wordpress
tier: frontend
strategy:
type: Recreate
template:
Expand Down Expand Up @@ -60,4 +64,4 @@ spec:
volumes:
- name: wordpress-persistent-storage
persistentVolumeClaim:
claimName: wp-pv-claim
claimName: wp-pv-claim
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ spec:
volumes:
- name: mysql-persistent-storage
persistentVolumeClaim:
claimName: mysql-pv-claim
claimName: mysql-pv-claim
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ spec:
volumes:
- name: wordpress-persistent-storage
persistentVolumeClaim:
claimName: wp-pv-claim
claimName: wp-pv-claim

0 comments on commit 7543ee1

Please sign in to comment.