From 3bfbc2a2f272fee79825ac6944af3812856d57b4 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Sat, 16 Nov 2024 13:02:18 -0500 Subject: [PATCH] Add back static site hosts --- .../documentation-deployment.yaml | 21 +++++++++++++++++++ .../static-site-hosts-services.yaml | 14 +++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 cluster/static-site-hosts/documentation-deployment.yaml create mode 100644 cluster/static-site-hosts/static-site-hosts-services.yaml diff --git a/cluster/static-site-hosts/documentation-deployment.yaml b/cluster/static-site-hosts/documentation-deployment.yaml new file mode 100644 index 0000000..a6138cb --- /dev/null +++ b/cluster/static-site-hosts/documentation-deployment.yaml @@ -0,0 +1,21 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: documentation-site + namespace: default +spec: + selector: + matchLabels: + app: static-site + template: + metadata: + labels: + app: static-site + spec: + containers: + - name: documentation-site + image: git.clortox.com/infrastructure/gluttony-cluster/documentation:0.0.1 + ports: + - name: http + containerPort: 80 + protocol: TCP diff --git a/cluster/static-site-hosts/static-site-hosts-services.yaml b/cluster/static-site-hosts/static-site-hosts-services.yaml new file mode 100644 index 0000000..f0b0664 --- /dev/null +++ b/cluster/static-site-hosts/static-site-hosts-services.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: Service +metadata: + name: static-site-services + namespace: default +spec: + type: LoadBalancer + ports: + - port: 80 + targetPort: 80 + protocol: TCP + selector: + app: static-site +