Files
test-app/manifests/ingress.yaml
2026-02-04 04:23:06 +08:00

20 lines
382 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: test-app
namespace: default
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web
spec:
rules:
- host: test.jpc.net3w.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: test-app
port:
number: 80