Files
k8s/apps/naviya/80-gateway.yaml

42 lines
864 B
YAML

apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: application-metier
namespace: application-metier
spec:
gatewayClassName: cilium
addresses:
- type: IPAddress
value: 172.16.40.100
infrastructure:
labels:
naviya.io/ingress-lb: "true"
listeners:
- name: http
protocol: HTTP
port: 80
hostname: naviya.guillin.ovh
allowedRoutes:
namespaces:
from: Same
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: application-metier
namespace: application-metier
spec:
parentRefs:
- name: application-metier
sectionName: http
hostnames:
- naviya.guillin.ovh
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: application-metier-frontend
port: 8080