Skip to content

Commit

Permalink
[guestbook]update guestbook apps apigroupversion (kubernetes#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
zouyee authored and ahmetb committed Oct 30, 2017
1 parent 6804111 commit 523627d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
6 changes: 5 additions & 1 deletion guestbook/frontend-deployment.yaml
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
7 changes: 6 additions & 1 deletion guestbook/redis-master-deployment.yaml
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
7 changes: 6 additions & 1 deletion guestbook/redis-slave-deployment.yaml
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 523627d

Please sign in to comment.