Add service

This commit is contained in:
Tyler Perkins 2024-11-16 12:57:46 -05:00
parent 0599c2c51e
commit 0b2830c2ec
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8
2 changed files with 16 additions and 2 deletions

View File

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

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