Made with Material for MkDocs
stefanprodan / flagger-appmesh-gateway Goto Github PK
View Code? Open in Web Editor NEWA Kubernetes API Gateway for AWS App Mesh powered by Envoy
License: Apache License 2.0
A Kubernetes API Gateway for AWS App Mesh powered by Envoy
License: Apache License 2.0
Hi,
I setup the appmesh gateway on EKS 1.14 ingress NLB.
After publishing a virtual service:
apiVersion: appmesh.k8s.aws/v1beta1
kind: VirtualService
metadata:
name: s1.apps.svc.cluster.local
namespace: apps
annotations:
gateway.appmesh.k8s.aws/expose: "true"
gateway.appmesh.k8s.aws/retries: "5"
gateway.appmesh.k8s.aws/timeout: "25s"
gateway.appmesh.k8s.aws/domain: "example.com,www.example.com"
....
And check that the service has been registered in the controller
:
I0316 09:52:01.373887 1 snapshot.go:119] cache updated for 1 services, version 1, checksum 1014069415403572753
I0316 09:52:01.420517 1 virtualnode.go:114] virtual node flagger-appmesh-gateway updated with 1 backends
I see errors registering in the proxy
, not sure why the -3000
is being added:
[2020-03-16 09:52:01.386][1][warning][config] [source/common/config/grpc_mux_subscription_impl.cc:82] gRPC config for type.googleapis.com/envoy.api.v2.Listener rejected: Error adding/updating listener(s) listener_http: route: unknown cluster 's1.apps.svc.cluster.local-3000'
Some tip?
Hi,
I have and exposed service and I can access it via the NLB -> Gateway:
apiVersion: appmesh.k8s.aws/v1beta1
kind: VirtualService
metadata:
name: s1.apps.svc.cluster.local
namespace: apps
annotations:
gateway.appmesh.k8s.aws/expose: "true"
gateway.appmesh.k8s.aws/retries: "5"
gateway.appmesh.k8s.aws/timeout: "25s"
gateway.appmesh.k8s.aws/domain: "s1.com"
I see in the virtual node flagger-appmesh-gateway-appmesh-gateway
that the backend s1.apps.svc.cluster.local
is added .
But, when I added a second exposed service:
apiVersion: appmesh.k8s.aws/v1beta1
kind: VirtualService
metadata:
name: s2.apps.svc.cluster.local
namespace: apps
annotations:
gateway.appmesh.k8s.aws/expose: "true"
gateway.appmesh.k8s.aws/retries: "5"
gateway.appmesh.k8s.aws/timeout: "25s"
gateway.appmesh.k8s.aws/domain: "s2.com"
This second exposed virtual service is not being added to the gateway virtual node and a 404 response is being returned.
Checking the logs I only see I0317 16:43:43.011647 1 virtualnode.go:114] virtual node flagger-appmesh-gateway updated with 1 backends
How can I debug what's going on?
Thanks
I'd like to use this for an private only NLB.
Wold it be possible to add a config variable that optionally adds the
service.beta.kubernetes.io/aws-load-balancer-internal: "true"
annotation?
Implement end-to-end testing with Kubernetes Kind and GitHub Actions.
Allow setting multiple domains with the gateway.appmesh.k8s.aws/domain
annotation by passing a comma separated list.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.