Skip to content

Daggerize Envoy #1

Description

@peterj

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions