Skip to content

Commit 40dd832

Browse files
committed
remove initContainers stanza from an example
1 parent d7a2f9e commit 40dd832

File tree

1 file changed

+5
-8
lines changed
  • vertical-pod-autoscaler/enhancements/7571-support-pod-level-resources

1 file changed

+5
-8
lines changed

vertical-pod-autoscaler/enhancements/7571-support-pod-level-resources/README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,6 @@ spec:
5353
limits:
5454
memory: "1024Mi"
5555
cpu: "4"
56-
initContainers:
57-
- image: tool1:latest
58-
name: tool1
59-
restartPolicy: Always
60-
- image: tool2:latest
61-
name: tool2
62-
restartPolicy: Always
6356
containers:
6457
- name: ide
6558
image: theia:latest
@@ -69,7 +62,11 @@ spec:
6962
cpu: "0.5"
7063
limits:
7164
memory: "256Mi"
72-
cpu: "1"
65+
cpu: "1"
66+
- name: tool1
67+
image: tool1:latest
68+
- name: tool2
69+
image: tool2:latest
7370
```
7471

7572
The benefits and implementation details of pod-level `resources` are described in [KEP-2837](https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/2837-pod-level-resource-spec/README.md). A related article is also available in the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/assign-pod-level-resources/).

0 commit comments

Comments
 (0)