-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
-
False
-
None
-
False
-
-
Steps:
1. Deployed the Gateway-controller profile in the SMCP:
Â
apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: Â Â name: basic spec: Â Â version: v2.4 Â Â profiles: Â Â - gateway-controller
2. updated the SMMR :
spec: members: - foo
3. Deploy the httpbin APP in the foo Namespace:
4. Deploy the gatewayAndRouteYAML:Â
Â
Â
apiVersion: gateway.networking.k8s.io/v1beta1 kind: Gateway metadata:   name: gateway spec:   gatewayClassName: istio   listeners:   - name: default     hostname: "*.example.com"     port: 8080     protocol: HTTP     allowedRoutes:       namespaces:         from: All --- apiVersion: gateway.networking.k8s.io/v1beta1 kind: HTTPRoute metadata:   name: http spec:   parentRefs:   - name: gateway     namespace: foo   hostnames: ["httpbin.example.com"]   rules:   - matches:     - path:         type: PathPrefix         value: /get     backendRefs:     - name: httpbin       port: 8000
Â
5. Wait for Gateway to be ready
kubectl wait -n foo --for=condition=ready gateways.gateway.networking.k8s.io gateway
Â
Error: Waiting for controller state
Expected: gateway should be ready
----------------------------------------------------------------------------------------------------------------------------------
Explanation about the issue:
When I deploy the gateway controller profile in SMCP. It has theÂ
Â
techPreview: gatewayAPI: controllerMode: true enabled: true
Â
When I try in the gateway API with these settings, it is failing to connect
techPreview: gatewayAPI: controllerMode: true enabled: true
When I try without the controllerMode: true, it connected successfully in the gateway API.
techPreview:
gatewayAPI:
enabled: true