-
Notifications
You must be signed in to change notification settings - Fork 38.9k
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 SidecarContainers feature #116429
Add SidecarContainers feature #116429
Conversation
/cc @jpbetz |
/triage accepted |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's some API review related feedback, I'll do a pass on the implementation shortly
I updated the state of this PR in this issue description: #115934 There are still some things to be done, but those are tracked and close to be implemented |
Quick one, just to be more explicit, would the sidecar init container start before other non-sidecar init containers? or would it start in parallel to non-sidecar init containers? TIA Apologies if this is the wrong place to ask the question, I'm new here :) |
It depends on which order you put them inside |
The sidecar init containers follow the standard startup order logic (i.e. in the order specified). |
I need to finish the docs PR and make it clear there before we release... |
There is a but in sidecar lifecycle that might keep the sidecar running even when its Pod has terminated, leaving the Pod dangling with "NotReady" state. This is being tracked in: kubernetes/kubernetes#116429 This bug shows itself in KubeVirt on migration. After the first migration job, the VM can't be migrated again as previous migration does not finish. In the hooks' v1alpha3 we introduce the Shutdown() method to allow notify the sidecar that it should exit(). Follow up patches will implement this method in the cmd/example-hook-sidecar. Fixes: kubevirt#8395 Signed-off-by: Victor Toso <victortoso@redhat.com>
There is a but in sidecar lifecycle that might keep the sidecar running even when its Pod has terminated, leaving the Pod dangling with "NotReady" state. This is being tracked in: kubernetes/kubernetes#116429 This bug shows itself in KubeVirt on migration. After the first migration job, the VM can't be migrated again as previous migration does not finish. In the hooks' v1alpha3 we introduce the Shutdown() method to allow notify the sidecar that it should exit(). Follow up patches will implement this method in the cmd/example-hook-sidecar. Fixes: kubevirt#8395 Signed-off-by: Victor Toso <victortoso@redhat.com>
There is a but in sidecar lifecycle that might keep the sidecar running even when its Pod has terminated, leaving the Pod dangling with "NotReady" state. This is being tracked in: kubernetes/kubernetes#116429 This bug shows itself in KubeVirt on migration. After the first migration job, the VM can't be migrated again as previous migration does not finish. In the hooks' v1alpha3 we introduce the Shutdown() method to allow notify the sidecar that it should exit(). Follow up patches will implement this method in the cmd/example-hook-sidecar. Fixes: kubevirt#8395 Signed-off-by: Victor Toso <victortoso@redhat.com>
There is a but in sidecar lifecycle that might keep the sidecar running even when its Pod has terminated, leaving the Pod dangling with "NotReady" state. This is being tracked in: kubernetes/kubernetes#116429 This bug shows itself in KubeVirt on migration. After the first migration job, the VM can't be migrated again as previous migration does not finish. In the hooks' v1alpha3 we introduce the Shutdown() method to allow notify the sidecar that it should exit(). Follow up patches will implement this method in the cmd/example-hook-sidecar. Fixes: kubevirt#8395 Signed-off-by: Victor Toso <victortoso@redhat.com>
There is a but in sidecar lifecycle that might keep the sidecar running even when its Pod has terminated, leaving the Pod dangling with "NotReady" state. This is being tracked in: kubernetes/kubernetes#116429 This bug shows itself in KubeVirt on migration. After the first migration job, the VM can't be migrated again as previous migration does not finish. In the hooks' v1alpha3 we introduce the Shutdown() method to allow notify the sidecar that it should exit(). Follow up patches will implement this method in the cmd/example-hook-sidecar. Fixes: kubevirt#8395 Signed-off-by: Victor Toso <victortoso@redhat.com>
There is a but in sidecar lifecycle that might keep the sidecar running even when its Pod has terminated, leaving the Pod dangling with "NotReady" state. This is being tracked in: kubernetes/kubernetes#116429 This bug shows itself in KubeVirt on migration. After the first migration job, the VM can't be migrated again as previous migration does not finish. In the hooks' v1alpha3 we introduce the Shutdown() method to allow notify the sidecar that it should exit(). Follow up patches will implement this method in the cmd/example-hook-sidecar. Fixes: kubevirt#8395 Signed-off-by: Victor Toso <victortoso@redhat.com>
There is a but in sidecar lifecycle that might keep the sidecar running even when its Pod has terminated, leaving the Pod dangling with "NotReady" state. This is being tracked in: kubernetes/kubernetes#116429 This bug shows itself in KubeVirt on migration. After the first migration job, the VM can't be migrated again as previous migration does not finish. In the hooks' v1alpha3 we introduce the Shutdown() method to allow notify the sidecar that it should exit(). Follow up patches will implement this method in the cmd/example-hook-sidecar. Fixes: kubevirt#8395 Signed-off-by: Victor Toso <victortoso@redhat.com>
There is a but in sidecar lifecycle that might keep the sidecar running even when its Pod has terminated, leaving the Pod dangling with "NotReady" state. This is being tracked in: kubernetes/kubernetes#116429 This bug shows itself in KubeVirt on migration. After the first migration job, the VM can't be migrated again as previous migration does not finish. In the hooks' v1alpha3 we introduce the Shutdown() method to allow notify the sidecar that it should exit(). Follow up patches will implement this method in the cmd/example-hook-sidecar. Fixes: kubevirt#8395 Signed-off-by: Victor Toso <victortoso@redhat.com>
There is a but in sidecar lifecycle that might keep the sidecar running even when its Pod has terminated, leaving the Pod dangling with "NotReady" state. This is being tracked in: kubernetes/kubernetes#116429 This bug shows itself in KubeVirt on migration. After the first migration job, the VM can't be migrated again as previous migration does not finish. In the hooks' v1alpha3 we introduce the Shutdown() method to allow notify the sidecar that it should exit(). Follow up patches will implement this method in the cmd/example-hook-sidecar. Fixes: kubevirt#8395 Signed-off-by: Victor Toso <victortoso@redhat.com>
What type of PR is this?
/kind feature
/kind api-change
What this PR does / why we need it:
This adds the Sidecar Containers feature to kubernetes.
Topology/CPU managers updateWhich issue(s) this PR fixes:
Fixes #
ref: #115934
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/cc @SergeyKanzhelev @matthyx