Add back static site hosts

This commit is contained in:
Tyler Perkins 2024-11-16 13:02:18 -05:00
parent 584aecb0ee
commit 3bfbc2a2f2
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8
2 changed files with 35 additions and 0 deletions

View File

@ -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

View File

@ -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