From 463f3d77d8c093f1d8bee8934192e1518f275b2a Mon Sep 17 00:00:00 2001 From: sambijitdev <56430079+sambijitdev@users.noreply.github.com> Date: Tue, 19 Nov 2019 23:17:25 +0530 Subject: [PATCH] Update rc.yml --- rc.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/rc.yml b/rc.yml index d2219e2..d56801f 100644 --- a/rc.yml +++ b/rc.yml @@ -1,19 +1,21 @@ + + # Replication Controller apiVersion: v1 kind: ReplicationController metadata: name: nginx-rc spec: - replicas: 1 + replicas: 2 selector: app: nginx template: metadata: - name: nginx + name: nginx-pod labels: app: nginx spec: containers: - - name: nginx + - name: nginxcontainer image: nginx ports: - - containerPort: 80 + - containerPort: 80