본문으로 건너뛰기

Gateway API로 라우팅 관리하기

Gateway

apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
spec:
gatewayClassName: <gatewayClassName>
listeners:
- name: http
protocol: HTTP
port: 80
allowedRoutes:
namespaces:
from: Same
- name: https
protocol: HTTPS
port: 443
tls:
name: Terminate
certificateRefs:
- name: <secretName>
allowedRoutes:
namespaces:
from: Same

HTTPRoute

TCPRoute

ReferenceGrant