Difference between revisions of "Kubernetes Sidecar Containers"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
* https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/ | * https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/ | ||
− | * [[Kubernetes v1.29]] [beta] | + | * [[Kubernetes v1.29]] (Dec 2023) [beta] |
+ | == Example == | ||
{{sidecar-container}} | {{sidecar-container}} | ||
== See also == | == See also == | ||
* {{Sidecar}} | * {{Sidecar}} | ||
+ | |||
+ | [[Category:Kubernetes]] |
Latest revision as of 11:17, 22 October 2024
- https://kubernetes.io/docs/concepts/workloads/pods/sidecar-containers/
- Kubernetes v1.29 (Dec 2023) [beta]
Example[edit]
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"]
See also[edit]
Advertising: