Files
infra-map/.kubernetes/service.yml
KevinMidboe 630ceb2473 compile varnish tmpl from docker-entrypoint script
also updates kubernetes resources to separate app & varnish into two different deployments
2025-09-03 00:23:46 +02:00

38 lines
553 B
YAML

---
apiVersion: v1
kind: Service
metadata:
labels:
app: varnish
name: varnish
namespace: ${NAMESPACE}
spec:
ports:
- port: 80
name: http
protocol: TCP
targetPort: 6081
selector:
app: varnish
sessionAffinity: None
type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
labels:
app: infra-map
name: infra-map
namespace: ${NAMESPACE}
spec:
ports:
- port: 80
name: http
protocol: TCP
targetPort: 3000
selector:
app: infra-map
sessionAffinity: None
type: ClusterIP