Files
joel/k8s/ingress.example.yaml
2026-03-22 02:35:10 +01:00

24 lines
478 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: joel-bot
namespace: joel-bot
annotations:
kubernetes.io/ingress.class: traefik
spec:
rules:
- host: joel.example.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: joel-bot
port:
number: 3000
tls:
- hosts:
- joel.example.com
secretName: joel-bot-tls