-
-
Notifications
You must be signed in to change notification settings - Fork 524
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
Add --replace flag to intercept command #3469
Add --replace flag to intercept command #3469
Conversation
Hi @petergardfjall . Thanks for providing this. Can you please sign your commit and also please fix the lint complaint? |
4a7fcb3
to
230917a
Compare
Signed-off-by: Peter Gardfjäll <[email protected]>
230917a
to
534d428
Compare
Hi @thallgren, I've addressed your comments. One thing I noted is that in its present shape
That is perhaps a bit more similar in spirit to the Either way I think that should not pollute this PR. |
Agree about not polluting this PR. If mounts doesn't work, then that's a separate issue. Not sure why that doesn't work. It really should, even when the container is replaced. The |
Signed-off-by: Thomas Hallgren <[email protected]>
This option is already present in our enterprise edition, so rather than asking you to provide an integration test, I pushed a commit to your branch with the test that we have already have. |
Description
This PR adds a
--replace
flag to thetelepresence intercept
command which, when specified, will replace application containers in the intercepted workload.This PR builds on the server-side machinery implemented in #3330.
Having the possibility to replace workload containers should provide a solution for tickets like #1646 and #1608.
Checklist
./CHANGELOG.yml
.DEVELOPING.md
with any special dev tricks I had to use to work on this code efficiently.TELEMETRY.md
if I added, changed, or removed a metric name.