diff --git a/gst2/dep.yaml b/gst2/dep.yaml new file mode 100644 index 0000000000..0484eb2040 --- /dev/null +++ b/gst2/dep.yaml @@ -0,0 +1,20 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: guestbook-ui2 +spec: + replicas: 1 + revisionHistoryLimit: 3 + selector: + matchLabels: + app: guestbook-ui + template: + metadata: + labels: + app: guestbook-ui + spec: + containers: + - image: gcr.io/heptio-images/ks-guestbook-demo:0.2 + name: guestbook-ui + ports: + - containerPort: 80 diff --git a/gst2/svc.yaml b/gst2/svc.yaml new file mode 100644 index 0000000000..748307d460 --- /dev/null +++ b/gst2/svc.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: Service +metadata: + name: guestbook-ui2 +spec: + ports: + - port: 80 + targetPort: 80 + selector: + app: guestbook-ui diff --git a/guestbook-with-sub-directories/deployment/deployment.yaml b/guestbook-with-sub-directories/deployment/deployment.yaml index 956af43611..446900062e 100644 --- a/guestbook-with-sub-directories/deployment/deployment.yaml +++ b/guestbook-with-sub-directories/deployment/deployment.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: name: guestbook-ui spec: - replicas: 2 + replicas: 3 revisionHistoryLimit: 3 selector: matchLabels: diff --git a/guestbook-with-sub-directories/service.yaml b/guestbook-with-sub-directories/deployment/service.yaml similarity index 100% rename from guestbook-with-sub-directories/service.yaml rename to guestbook-with-sub-directories/deployment/service.yaml diff --git a/sync-options/selective-sync/deployment.yaml b/sync-options/selective-sync/deployment.yaml index 446900062e..2cac5151a7 100644 --- a/sync-options/selective-sync/deployment.yaml +++ b/sync-options/selective-sync/deployment.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: name: guestbook-ui spec: - replicas: 3 + replicas: 4 revisionHistoryLimit: 3 selector: matchLabels: