# Install Gateway API CRDs kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.4.1/standard-install.yaml kubectl get crd | grep gateway kubectl create namespace nginx-gateway kubectl apply --server-side -f https://raw.githubusercontent.com/nginx/nginx-gateway-fabric/v2.4.1/deploy/crds.yaml kubectl apply -f https://raw.githubusercontent.com/nginx/nginx-gateway-fabric/v2.4.1/deploy/nodeport/deploy.yaml ---- Gatway configuration ---- apiVersion: gateway.networking.k8s.io/v1 kind: Gateway metadata: name: main-gateway namespace: nginx-gateway annotations: cert-manager.io/cluster-issuer: letsencrypt-prod spec: gatewayClassName: nginx listeners: - allowedRoutes: namespaces: from: All hostname: poc1.italiadatacenter.com name: https port: 443 protocol: HTTPS tls: certificateRefs: - group: "" kind: Secret name: poc1-secret mode: Terminate - allowedRoutes: namespaces: from: All hostname: poc1.italiadatacenter.com name: http port: 80 protocol: HTTP ----- Nodeport service --- kubectl apply -f - <