infra4talos/apps-kustomized/newleaf/service.yaml

17 lines
305 B
YAML

apiVersion: v1
kind: Service
metadata:
labels:
app: newleaf
app.kubernetes.io/instance: newleaf
name: newleaf
annotations:
external-dns.alpha.kubernetes.io/hostname: newleaf.martyn.berlin
spec:
ports:
- port: 80
targetPort: 3000
selector:
app: newleaf
type: LoadBalancer