Skip to content

Commit b83c2b6

Browse files
committed
rename deployment
1 parent 87a6794 commit b83c2b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guestbook/redis-slave-deployment.yaml guestbook/redis-replica-deployment.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
apiVersion: apps/v1 # for k8s versions before 1.9.0 use apps/v1beta2 and before 1.8.0 use extensions/v1beta1
22
kind: Deployment
33
metadata:
4-
name: redis-slave
4+
name: redis-replica
55
spec:
66
selector:
77
matchLabels:
88
app: redis
9-
role: slave
9+
role: replica
1010
tier: backend
1111
replicas: 2
1212
template:
1313
metadata:
1414
labels:
1515
app: redis
16-
role: slave
16+
role: replica
1717
tier: backend
1818
spec:
1919
containers:

0 commit comments

Comments
 (0)