Skip to content

Commit 8caebcd

Browse files
committed
sidecar: update TOC
Reviewed-by: Joseph-Irving <[email protected]> Signed-off-by: Rodrigo Campos <[email protected]>
1 parent dad4ac9 commit 8caebcd

File tree

1 file changed

+57
-10
lines changed

1 file changed

+57
-10
lines changed

keps/sig-node/0753-sidecarcontainers.md

Lines changed: 57 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ status: provisional
3131
- [Summary](#summary)
3232
- [Prerequisites](#prerequisites)
3333
- [Motivation](#motivation)
34-
- [Jobs](#jobs)
35-
- [Startup](#startup)
36-
- [Shutdown](#shutdown)
34+
- [Problems: jobs with sidecar containers](#problems-jobs-with-sidecar-containers)
35+
- [Problems: service mesh, metrics and logging sidecars](#problems-service-mesh-metrics-and-logging-sidecars)
36+
- [Logging/Metrics sidecar](#loggingmetrics-sidecar)
37+
- [Service mesh](#service-mesh)
38+
- [Problems: Coupling infrastructure with applications](#problems-coupling-infrastructure-with-applications)
3739
- [Goals](#goals)
3840
- [Non-Goals](#non-goals)
3941
- [Proposal](#proposal)
@@ -44,7 +46,46 @@ status: provisional
4446
- [Sidecars terminated last](#sidecars-terminated-last)
4547
- [Sidecars started first](#sidecars-started-first)
4648
- [PreStop hooks sent to Sidecars first](#prestop-hooks-sent-to-sidecars-first)
47-
- [PoC and Demo](#poc-and-demo)
49+
- [Proposal decisions to discuss](#proposal-decisions-to-discuss)
50+
- [preStop hooks delivery guarantees are changed](#prestop-hooks-delivery-guarantees-are-changed)
51+
- [Alternative 1: add a TerminationHook](#alternative-1-add-a-terminationhook)
52+
- [Alternative 2: Do nothing](#alternative-2-do-nothing)
53+
- [Suggestion](#suggestion)
54+
- [Killing pods take 3x the time](#killing-pods-take-3x-the-time)
55+
- [Why is it important to discuss this?](#why-is-it-important-to-discuss-this)
56+
- [Alternatives to kill the pod in the expected time](#alternatives-to-kill-the-pod-in-the-expected-time)
57+
- [How to split the shutdown time to kill different types of containers?](#how-to-split-the-shutdown-time-to-kill-different-types-of-containers)
58+
- [Alternative 1: Allow any step to consume all and be over <code>GraceTime</code> by 8s](#alternative-1-allow-any-step-to-consume-all-and-be-over--by-8s)
59+
- [Alternative 2: Allow any step to consume all and skip preStop hooks](#alternative-2-allow-any-step-to-consume-all-and-skip-prestop-hooks)
60+
- [Alternative 3: Allow any step to consume all and be over <code>GraceTime</code> by 0s](#alternative-3-allow-any-step-to-consume-all-and-be-over--by-0s)
61+
- [Alternative 4: Allow any step to consume all and use 6s as minimum <code>GraceTime</code>](#alternative-4-allow-any-step-to-consume-all-and-use-6s-as-minimum-)
62+
- [Alternative 5: Use <em>per container</em> terminations](#alternative-5-use-per-container-terminations)
63+
- [Suggestion](#suggestion-1)
64+
- [Currently not handling the case of pod=nil](#currently-not-handling-the-case-of-podnil)
65+
- [Pods with RestartPolicy Never](#pods-with-restartpolicy-never)
66+
- [Alternative 1: Add a per container fatalToPod field](#alternative-1-add-a-per-container-fataltopod-field)
67+
- [Alternative 2: Do nothing](#alternative-2-do-nothing-1)
68+
- [Alternative 2: Always restart sidecar containers](#alternative-2-always-restart-sidecar-containers)
69+
- [Suggestion](#suggestion-2)
70+
- [Enforce the startup/shutdown behavior only on startup/shutdown](#enforce-the-startupshutdown-behavior-only-on-startupshutdown)
71+
- [Sidecar containers won't be available during initContainers phase](#sidecar-containers-wont-be-available-during-initcontainers-phase)
72+
- [Suggestion](#suggestion-3)
73+
- [Revisit if we want to modify the podPhase](#revisit-if-we-want-to-modify-the-podphase)
74+
- [Alternative 1: don't change the pod phase](#alternative-1-dont-change-the-pod-phase)
75+
- [Alternative 2: change the pod phase](#alternative-2-change-the-pod-phase)
76+
- [Suggestion](#suggestion-4)
77+
- [No container type standard](#no-container-type-standard)
78+
- [Is this change really worth doing?](#is-this-change-really-worth-doing)
79+
- [Kubernetes jobs with sidecars](#kubernetes-jobs-with-sidecars)
80+
- [Service mesh](#service-mesh-1)
81+
- [Kubernetes pods that run indefinitely with sidecars](#kubernetes-pods-that-run-indefinitely-with-sidecars)
82+
- [Summary](#summary-1)
83+
- [Why this design seems extensible?](#why-this-design-seems-extensible)
84+
- [What if we add pre-defined phases for container startup/shutdown?](#what-if-we-add-pre-defined-phases-for-container-startupshutdown)
85+
- [What if we add &quot;Depends On&quot; semantics to containers?](#what-if-we-add-depends-on-semantics-to-containers)
86+
- [Proof of concept implementations](#proof-of-concept-implementations)
87+
- [KEP implementation and Demo](#kep-implementation-and-demo)
88+
- [Another implementation using pod annotations](#another-implementation-using-pod-annotations)
4889
- [Risks and Mitigations](#risks-and-mitigations)
4990
- [Design Details](#design-details)
5091
- [Test Plan](#test-plan)
@@ -55,12 +96,18 @@ status: provisional
5596
- [Version Skew Strategy](#version-skew-strategy)
5697
- [Implementation History](#implementation-history)
5798
- [Alternatives](#alternatives)
58-
- [Add a pod.spec.SidecarContainers array](#add-a-podspecsidecarcontainers-array)
59-
- [Mark one container as the Primary Container](#mark-one-container-as-the-primary-container)
60-
- [Boolean flag on container, Sidecar: true](#boolean-flag-on-container-sidecar-true)
61-
- [Mark containers whose termination kills the pod, terminationFatalToPod: true](#mark-containers-whose-termination-kills-the-pod-terminationfataltopod-true)
62-
- [Add &quot;Depends On&quot; semantics to containers](#add-depends-on-semantics-to-containers)
63-
- [Pre-defined phases for container startup/shutdown or arbitrary numbers for ordering](#pre-defined-phases-for-container-startupshutdown-or-arbitrary-numbers-for-ordering)
99+
- [Alternative designs considered](#alternative-designs-considered)
100+
- [Add a pod.spec.SidecarContainers array](#add-a-podspecsidecarcontainers-array)
101+
- [Mark one container as the Primary Container](#mark-one-container-as-the-primary-container)
102+
- [Boolean flag on container, Sidecar: true](#boolean-flag-on-container-sidecar-true)
103+
- [Mark containers whose termination kills the pod, terminationFatalToPod: true](#mark-containers-whose-termination-kills-the-pod-terminationfataltopod-true)
104+
- [Add &quot;Depends On&quot; semantics to containers](#add-depends-on-semantics-to-containers)
105+
- [Pre-defined phases for container startup/shutdown or arbitrary numbers for ordering](#pre-defined-phases-for-container-startupshutdown-or-arbitrary-numbers-for-ordering)
106+
- [Workarounds sidecars need to do today](#workarounds-sidecars-need-to-do-today)
107+
- [Jobs with sidecar containers](#jobs-with-sidecar-containers)
108+
- [Service mesh or metrics sidecars](#service-mesh-or-metrics-sidecars)
109+
- [Istio bug report](#istio-bug-report)
110+
- [Move containers out of the pod](#move-containers-out-of-the-pod)
64111
<!-- /toc -->
65112

66113
## Release Signoff Checklist

0 commit comments

Comments
 (0)