We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 279e8e4 commit c622c71Copy full SHA for c622c71
web/guestbook-go/guestbook-controller.yaml
@@ -1,13 +1,14 @@
1
-kind: ReplicationController
2
-apiVersion: v1
+kind: Deployment
+apiVersion: apps/v1
3
metadata:
4
name: guestbook
5
labels:
6
app: guestbook
7
spec:
8
replicas: 3
9
selector:
10
- app: guestbook
+ matchLabels:
11
+ app: guestbook
12
template:
13
14
web/guestbook-go/redis-replica-controller.yaml
@@ -1,5 +1,5 @@
name: redis-replica
@@ -8,8 +8,9 @@ metadata:
replicas: 2
- app: redis
- role: replica
+ app: redis
+ role: replica
15
16
0 commit comments