Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daggerize Envoy #1

Open
peterj opened this issue May 16, 2024 · 0 comments
Open

Daggerize Envoy #1

peterj opened this issue May 16, 2024 · 0 comments

Comments

@peterj
Copy link
Owner

peterj commented May 16, 2024

Here's the initial idea I had (but wanted to start small) that would allow you to craft Envoy configuration using code; something like this:

listener := EnvoyListener(5000, "listener1") 
cluster := EnvoyCluster("my-cluster", { ...}).WithEndpoints("httpbin.org", "443", { ... })
route := EnvoyRoute("hello.com", { path: "/hello", match: {...}}).WithCluster(cluster)

dag.EnvoyProxy(version, platform).
    WithListener(5000, "listener1", {...}).
    WithRoutes(route)
...

There are only a couple of basic building blocks (listeners, routes, clusters, endpoints) that would need to be expressed (+ bunch of other options that could be passed in later).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant