Difference between revisions of "Sidecar container"

From wikieduonline
Jump to navigation Jump to search
 
Line 10: Line 10:
 
* [[K8s v1.28]] (Aug 2023) [[API awareness of sidecar containers (alpha)]]
 
* [[K8s v1.28]] (Aug 2023) [[API awareness of sidecar containers (alpha)]]
 
* [[Sidecar]]
 
* [[Sidecar]]
 +
* [[Liveness-exec with sidecar container]]
  
 
== See also ==
 
== See also ==

Latest revision as of 11:06, 22 October 2024

 apiVersion: v1
kind: Pod
metadata:
  name: my-pod
spec:
  containers:
  - name: main-container
    image: busybox
    command: ["sh", "-c", "echo 'Main process running'; sleep 30"]
  - name: sidecar-container
    image: busybox
    command: ["sh", "-c", "while true; do sleep 3600; done"]

Related[edit]

See also[edit]

Advertising: