add service and ingress for stage-maker

This commit is contained in:
2025-10-26 18:56:59 -05:00
parent 748f1e1ebe
commit 99da4b4965
3 changed files with 35 additions and 0 deletions

18
stage-maker/ingress.yaml Normal file
View File

@@ -0,0 +1,18 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: stage-maker-ingress
namespace: stage-maker
spec:
ingressClassName: nginx
rules:
- host: ontime.jwetzell.com
http:
paths:
- path: /api/v1/stage
pathType: Prefix
backend:
service:
name: stage-maker-service
port:
number: 3000

View File

@@ -1,5 +1,7 @@
resources: resources:
- namespace.yaml - namespace.yaml
- deployment.yaml - deployment.yaml
- ingress.yaml
- cluster-role.yaml - cluster-role.yaml
- service-account.yaml - service-account.yaml
- service.yaml

15
stage-maker/service.yaml Normal file
View File

@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: stage-maker-service
namespace: stage-maker
spec:
selector:
app: stage-maker
ports:
- protocol: "TCP"
port: 3000
targetPort: 3000
name: web