27 lines
644 B
YAML
27 lines
644 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: myorg-assistant-ingress
|
|
namespace: default
|
|
annotations:
|
|
kubernetes.io/ingress.class: "traefik"
|
|
# Add SSL/TLS annotations if needed
|
|
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
spec:
|
|
rules:
|
|
- host: myorg.yourdomain.com # Replace with your domain
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: myorg-assistant-service
|
|
port:
|
|
number: 8000
|
|
# Optional: TLS configuration
|
|
# tls:
|
|
# - hosts:
|
|
# - myorg.yourdomain.com
|
|
# secretName: myorg-tls-secret
|