From dd0b70e779b4c44bac74bbf34165159db54cf56c Mon Sep 17 00:00:00 2001 From: Jimmy Date: Wed, 9 Feb 2022 13:43:17 +1300 Subject: [PATCH] Add service config --- ingress/web-service.yaml | 12 ++++++++++++ ingress/web2-service.yaml | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 ingress/web-service.yaml create mode 100644 ingress/web2-service.yaml diff --git a/ingress/web-service.yaml b/ingress/web-service.yaml new file mode 100644 index 0000000..b161943 --- /dev/null +++ b/ingress/web-service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: web + labels: + run: web +spec: + ports: + - port: 8080 + protocol: TCP + selector: + run: web \ No newline at end of file diff --git a/ingress/web2-service.yaml b/ingress/web2-service.yaml new file mode 100644 index 0000000..5ba2a89 --- /dev/null +++ b/ingress/web2-service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: web2 + labels: + run: web2 +spec: + ports: + - port: 8080 + protocol: TCP + selector: + run: web2 \ No newline at end of file