24 lines
660 B
YAML
24 lines
660 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: schemas-ingress
|
|
annotations:
|
|
kubernetes.io/ingress.class: "alb"
|
|
alb.ingress.kubernetes.io/scheme: internet-facing
|
|
alb.ingress.kubernetes.io/target-type: instance
|
|
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80},{"HTTPS": 443}]'
|
|
alb.ingress.kubernetes.io/ssl-redirect: "443"
|
|
alb.ingress.kubernetes.io/healthcheck-path: '/health'
|
|
spec:
|
|
rules:
|
|
- host: "schemas.unbound.se"
|
|
http:
|
|
paths:
|
|
- path: /query
|
|
pathType: ImplementationSpecific
|
|
backend:
|
|
service:
|
|
name: schemas
|
|
port:
|
|
name: api
|