-
Notifications
You must be signed in to change notification settings - Fork 406
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
Value of ephemeral container property targetContainerName not present on host #2073
Labels
Comments
We've made some refactoring in the code around syncing in our v0.21.0 release version, but it's still in alpha. |
Hey @deniseschannon Sure. Btw, I might not be able to test it until next week though. |
Hey @deniseschannon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
We have enabled ephemeral container syncing
Within our vcluster we have set values for
.spec.ephemeralContainers[].targetContainerName
however when we examine the pods that syncing created on the host targetContainerName is unset.See example yaml in attached zip.
pod-target-has-multiple-mounts0-redacted.zip
What did you expect to happen?
I expect the pod on the host to have the same targetContainerName value as the pod in the vcluster.
How can we reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
Not sure if it is related, but will mention for completeness' sake.
kubectl debug creates ephemeral containers via PATCH. I have code that is doing this programmatically and I found that rapidly PATCHing in effort to add a pair of ephemeral containers causes the pods on the host and the vcluster to get out of sync and/or corrupted. Generally 'out of sync' would look like
Corruption would look like
Host cluster Kubernetes version
vcluster version
VCluster Config
Above is the config. Note that I redacted a few things.
The text was updated successfully, but these errors were encountered: