Add back static site hosts
This commit is contained in:
parent
584aecb0ee
commit
3bfbc2a2f2
21
cluster/static-site-hosts/documentation-deployment.yaml
Normal file
21
cluster/static-site-hosts/documentation-deployment.yaml
Normal 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
|
14
cluster/static-site-hosts/static-site-hosts-services.yaml
Normal file
14
cluster/static-site-hosts/static-site-hosts-services.yaml
Normal 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user