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

Swap deployment preserves original command for container #226

Closed
jwickens opened this issue Jul 17, 2017 · 4 comments
Closed

Swap deployment preserves original command for container #226

jwickens opened this issue Jul 17, 2017 · 4 comments
Labels
t:bug Something isn't working

Comments

@jwickens
Copy link

when using --swap-deployment the original command (and I assume args) spec for the container is preserved. This causes the telepresence container to never start when the original spec specifies a command that does not exist in the telepresence container.

@itamarst
Copy link

Sorry you encountered a bug, and many thanks for reporting it. I'll go fix it (and I guess audit the Pod spec to see if there's anything else I should be modifying when swapping.)

@itamarst itamarst added the t:bug Something isn't working label Jul 17, 2017
@itamarst itamarst added this to In progress in Telepresence Jul 17, 2017
@itamarst
Copy link

itamarst commented Jul 17, 2017

Looks like the following container options should be reset in swapped-out version:

  • workingDir
  • command
  • terminationMessagePolicy (set this to stderr probably?)
  • livenessProbe
  • readinessProbe
  • args

itamarst added a commit that referenced this issue Jul 18, 2017
Swap more parameters out in --swap-deployment.

Fixes #226.
@itamarst
Copy link

OK, v0.59 should be available in about 30 minutes with a fix - let me know if it solves your problem!

By the way, what is your use case for Telepresence?

@itamarst
Copy link

OK, v0.59 is finally out (had to re-run build).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants