From 1fb2dcf040a92690a666016dc9dcaf8b29803697 Mon Sep 17 00:00:00 2001
From: Jimmy <me@jimmy.nz>
Date: Wed, 9 Feb 2022 13:42:55 +1300
Subject: [PATCH] Add deploment config

---
 ingress/web-deplyment.yaml  | 19 +++++++++++++++++++
 ingress/web2-deplyment.yaml | 19 +++++++++++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 ingress/web-deplyment.yaml
 create mode 100644 ingress/web2-deplyment.yaml

diff --git a/ingress/web-deplyment.yaml b/ingress/web-deplyment.yaml
new file mode 100644
index 0000000..e7c247c
--- /dev/null
+++ b/ingress/web-deplyment.yaml
@@ -0,0 +1,19 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: web
+spec:
+  selector:
+    matchLabels:
+      run: web
+  replicas: 1
+  template:
+    metadata:
+      labels:
+        run: web
+    spec:
+      containers:
+      - name: web
+        image: gcr.io/google-samples/hello-app:1.0
+        ports:
+        - containerPort: 80
\ No newline at end of file
diff --git a/ingress/web2-deplyment.yaml b/ingress/web2-deplyment.yaml
new file mode 100644
index 0000000..ad963c7
--- /dev/null
+++ b/ingress/web2-deplyment.yaml
@@ -0,0 +1,19 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: web2
+spec:
+  selector:
+    matchLabels:
+      run: web2
+  replicas: 3
+  template:
+    metadata:
+      labels:
+        run: web2
+    spec:
+      containers:
+      - name: web2
+        image: gcr.io/google-samples/hello-app:2.0
+        ports:
+        - containerPort: 80
\ No newline at end of file