Skip to content

examples: Add dynamic configuration (filesystem) sandbox#13783

Merged
mattklein123 merged 21 commits intoenvoyproxy:masterfrom
phlax:examples-fs-dynamic-configuration
Oct 29, 2020
Merged

examples: Add dynamic configuration (filesystem) sandbox#13783
mattklein123 merged 21 commits intoenvoyproxy:masterfrom
phlax:examples-fs-dynamic-configuration

Conversation

@phlax
Copy link
Copy Markdown
Member

@phlax phlax commented Oct 27, 2020

Signed-off-by: Ryan Northey [email protected]

Commit Message: examples: Add dynamic configuration (filesystem) sandbox
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

@phlax phlax marked this pull request as draft October 27, 2020 18:31
@mattklein123 mattklein123 self-assigned this Oct 27, 2020
@phlax phlax changed the title [WIP] examples: Add filesystem dynamic configuration sandbox example [WIP] examples: Add dynamic configuration (filesystem) sandbox Oct 28, 2020
@phlax phlax force-pushed the examples-fs-dynamic-configuration branch from da85a34 to 447ba10 Compare October 28, 2020 13:49
Signed-off-by: Ryan Northey <[email protected]>
@phlax phlax force-pushed the examples-fs-dynamic-configuration branch from 447ba10 to d54bdc7 Compare October 28, 2020 15:06
phlax added 3 commits October 29, 2020 09:59
Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>

.. note::

If you are running on a system with strict ``umask`` you will need to ``chmod`` the dynamic config
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im not over-happy with this, but after thinking about it quite a bit, it seems like the least bad option to handle the umask issue

phlax added 2 commits October 29, 2020 11:14
Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
$ curl -s http://localhost:10000
Request served by service1

HTTP/2.0 GET /
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im confused as to why this is getting HTTP/2.0 but the control plane sandbox, didnt

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm no clue.

phlax added 3 commits October 29, 2020 11:39
Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
],
exclude = [
"cache/responses.yaml",
"dynamic-config-fs/**/*",
Copy link
Copy Markdown
Member Author

@phlax phlax Oct 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this isnt ideal, but theres not an obvious way to include the dynamic yaml without it being treated as a standalone envoy config

at least this config gets tested in the sandbox

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm yeah. I think we could probably config check these separately somehow but not a huge deal for now.

@phlax phlax changed the title [WIP] examples: Add dynamic configuration (filesystem) sandbox examples: Add dynamic configuration (filesystem) sandbox Oct 29, 2020
@phlax phlax marked this pull request as ready for review October 29, 2020 12:44
Signed-off-by: Ryan Northey <[email protected]>
@phlax
Copy link
Copy Markdown
Member Author

phlax commented Oct 29, 2020

/retest

@repokitteh-read-only
Copy link
Copy Markdown

Retrying Azure Pipelines:
Retried failed jobs in: envoy-presubmit

🐱

Caused by: a #13783 (comment) was created by @phlax.

see: more, trace.

phlax added 7 commits October 29, 2020 15:26
Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
@phlax
Copy link
Copy Markdown
Member Author

phlax commented Oct 29, 2020

this one should be ready for final review

Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

$ curl -s http://localhost:10000
Request served by service1

HTTP/2.0 GET /
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm no clue.

],
exclude = [
"cache/responses.yaml",
"dynamic-config-fs/**/*",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm yeah. I think we could probably config check these separately somehow but not a huge deal for now.

@mattklein123 mattklein123 merged commit 0bcd984 into envoyproxy:master Oct 29, 2020
mpuncel added a commit to mpuncel/envoy that referenced this pull request Oct 30, 2020
* master:
  dns: preserve custom resolver after channel destruction (envoyproxy#13820)
  docs: Further updates to quick-start (envoyproxy#13793)
  wasm: update V8 to v8.7.220.10. (envoyproxy#13568)
  test: adding a test for CONNECT to an IP address (envoyproxy#13818)
  [fuzz] Scaled Load balancer fuzz to 60k hosts (envoyproxy#13771)
  Removed Circle-CI reference. (envoyproxy#13824)
  wasm: strip only Custom Sections with precompiled Wasm modules. (envoyproxy#13775)
  examples: Add dynamic configuration (filesystem) sandbox (envoyproxy#13783)
  apple dns: resolve IP addresses without calling Apple APIs (envoyproxy#13698)

Signed-off-by: Michael Puncel <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants