Skip to content

Commit

Permalink
Fix deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
foxish committed Sep 12, 2017
1 parent 7751e73 commit 2f5d1ba
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: frontend
spec:
selector:
matchLabels:
app: guestbook
tier: frontend
replicas: 3
template:
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: redis-master
spec:
selector:
matchLabels:
app: redis
role: master
tier: backend
replicas: 1
template:
metadata:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: redis-slave
spec:
selector:
matchLabels:
app: redis
role: slave
tier: backend
replicas: 2
template:
metadata:
Expand Down

0 comments on commit 2f5d1ba

Please sign in to comment.