Skip to content

Commit 145f0b5

Browse files
committed
sidecar: Improve goals
Reviewed-by: Joseph-Irving <[email protected]> Signed-off-by: Rodrigo Campos <[email protected]>
1 parent 1e879b4 commit 145f0b5

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

keps/sig-node/0753-sidecarcontainers.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,33 @@ Applications that rely on sidecars may experience a high amount of errors when s
155155

156156
## Goals
157157

158+
This proposal aims to:
159+
* Allow Kubernetes Jobs to have sidecar containers that run continously
160+
(servers) without coupling between containers in the pod.
161+
* Allow pods to start a subset of containers first and, only when those are
162+
ready, start the remaining containers.
163+
* Allow pods to stop a subset of containers first and, only when those have
164+
been stopped, stop the rest.
165+
* Not change the semantics in any way for pods not using this feature.
166+
* Only change the semantics of startup/shutdown behavior for pods using this
167+
feature.
168+
158169
Solve issues so that they don't require application modification:
159170
* [25908](https://github.com/kubernetes/kubernetes/issues/25908) - Job completion
160-
* [65502](https://github.com/kubernetes/kubernetes/issues/65502) - Container startup dependencies
171+
* [65502](https://github.com/kubernetes/kubernetes/issues/65502) - Container startup dependencies. Istio bug report
161172

162173
## Non-Goals
163174

175+
This proposal doesn't aim to:
176+
* Allow a multi-level ordering of containers start/stop sequence. IOW, only two
177+
levels are deinfed: "sidecar" or "standard" containers. It is not a goal to
178+
have more than these two levels.
179+
* Model startup/shutdown dependencies between different sidecar containers
180+
* Change the pod phase in any way, with or without this feature enabled
181+
* Reimplement an init-system alike semantics for pod containers
182+
startup/shutdown
183+
* Allow sidecar containers to run concurrently with initContainers
184+
164185
Allowing multiple containers to run at once during the init phase - this could be solved using the same principal but can be implemented separately. //TODO write up how we could solve the init problem with this proposal
165186

166187
## Proposal

0 commit comments

Comments
 (0)