diff --git a/cluster/static-site-hosts/documentation-deployment.yaml b/cluster/static-site-hosts/documentation-deployment.yaml index 69e31e6..a6138cb 100644 --- a/cluster/static-site-hosts/documentation-deployment.yaml +++ b/cluster/static-site-hosts/documentation-deployment.yaml @@ -6,11 +6,11 @@ metadata: spec: selector: matchLabels: - app: documentation-site + app: static-site template: metadata: labels: - app: documentation-site + app: static-site spec: containers: - name: documentation-site 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 +