You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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)?
Enable syncing as above
Use 'kubectl debug' with the '--target' option
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
ephemeral container missing from host
resource version data suggesting that syncer things the objects are in sync when they are not
Corruption would look like
Possibly an ephemeral container missing from the pod on the host
On host ephemeralContainerStatuses show that the ephemeral containers all using same image when they should have been using different ones
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: