aws / aws-app-mesh-roadmap

AWS App Mesh is a service mesh that you can use with your microservices to manage service to service communication
Apache License 2.0
347 stars 25 forks source link

Bug: virtual gateway pod is not working when I set disable 'sidecarInjectorWebhook' at namespace #473

Open austn18 opened 1 year ago

austn18 commented 1 year ago

I tried to configure virtual gateway with disable namespace sidecarInjectorWebhook config and deployment with enable sidecarInjectorWebhook config but, i saw virtual gateway pod warning message below

[2023-07-07 10:53:02.241][16][warning][main] [source/server/server.cc:794] there is no configured limit to the number of allowed active connections. Set a limit via the runtime key overload.global_downstream_max_connections
10
[2023-07-07 10:53:02.242][16][info][main] [source/server/server.cc:915] starting main dispatch loop
9
[2023-07-07 10:53:02.259][16][warning][config] [./source/common/config/grpc_stream.h:163] StreamAggregatedResources gRPC config stream to appmesh-envoy-management.ap-northeast-2.amazonaws.com:443 closed: 13,
8

if i change namespace config, it's work!! is that a bug?

and i attach my code

apiVersion: appmesh.k8s.aws/v1beta2
kind: VirtualGateway
metadata:
  name: test-vgw
spec:
  namespaceSelector:
    matchLabels:
      mesh: app-mesh
  gatewayRouteSelector:
    matchLabels:
      gateway: test-vgw-route
  podSelector:
    matchLabels:
      app: test-vgw
  listeners:
    - portMapping:
        port: 8088
        protocol: http

---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: test-vgw
spec:
  revisionHistoryLimit: 0
  replicas: 1
  selector:
    matchLabels:
      app: test-vgw
  template:
    metadata:
      annotations:
        appmesh.k8s.aws/sidecarInjectorWebhook: enabled
      labels:
        app: test-vgw
    spec:
      containers:
        - name: envoy
          image: 840364872350.dkr.ecr.us-west-2.amazonaws.com/aws-appmesh-envoy:v1.25.4.0-prod
          ports:
            - containerPort: 8088