File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -46,39 +46,39 @@ spec:
4646apiVersion : v1
4747kind : Service
4848metadata :
49- name : redis-slave
49+ name : redis-replica
5050 labels :
5151 app : redis
5252 tier : backend
53- role : slave
53+ role : replica
5454spec :
5555 ports :
5656 - port : 6379
5757 selector :
5858 app : redis
5959 tier : backend
60- role : slave
60+ role : replica
6161---
6262apiVersion : apps/v1 # for k8s versions before 1.9.0 use apps/v1beta2 and before 1.8.0 use extensions/v1beta1
6363kind : Deployment
6464metadata :
65- name : redis-slave
65+ name : redis-replica
6666spec :
6767 selector :
6868 matchLabels :
6969 app : redis
70- role : slave
70+ role : replica
7171 tier : backend
7272 replicas : 2
7373 template :
7474 metadata :
7575 labels :
7676 app : redis
77- role : slave
77+ role : replica
7878 tier : backend
7979 spec :
8080 containers :
81- - name : slave
81+ - name : replica
8282 image : gcr.io/google_samples/gb-redisslave:v1
8383 resources :
8484 requests :
@@ -104,7 +104,7 @@ metadata:
104104 tier : frontend
105105spec :
106106 # comment or delete the following line if you want to use a LoadBalancer
107- type : NodePort
107+ type : NodePort
108108 # if your cluster supports it, uncomment the following to automatically create
109109 # an external load-balanced IP for the frontend service.
110110 # type: LoadBalancer
You can’t perform that action at this time.
0 commit comments