Difference between revisions of "Spec.containers"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
== See also == | == See also == | ||
* {{containers:}} | * {{containers:}} | ||
− | * {{spec}} | + | * {{spec.containers}} |
* {{kind: Pod}} | * {{kind: Pod}} | ||
[[Category:Docker]] | [[Category:Docker]] |
Revision as of 18:55, 27 October 2024
spec.containers[].image spec.containers[].command spec.containers[].tty spec.containers[].stdy spec.containers[].resources.limits.cpu spec.containers[].resources.limits.memory spec.containers[].resources.limits.hugepages-<size> spec.containers[].resources.requests.cpu spec.containers[].resources.requests.memory spec.containers[].resources.requests.hugepages-<size> spec.containers[*].volumeMounts
Sidecar containers
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
See also
Advertising: