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 +