7122a4498a
Changes where done with these commands: reprec 'image: busybox(?!:)' 'image: busybox:1.28' */docs */examples reprec -- '--image=busybox(?!:)' '--image=busybox:1.28' */docs */examples Related issues: https://github.com/docker-library/busybox/issues/48 https://github.com/kubernetes/kubernetes/issues/66924
38 lines
933 B
YAML
38 lines
933 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: busybox2
|
|
spec:
|
|
containers:
|
|
- name: busybox-cnt01
|
|
image: busybox:1.28
|
|
command: ["/bin/sh"]
|
|
args: ["-c", "while true; do echo hello from cnt01; sleep 10;done"]
|
|
resources:
|
|
requests:
|
|
memory: "100Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "200Mi"
|
|
cpu: "500m"
|
|
- name: busybox-cnt02
|
|
image: busybox:1.28
|
|
command: ["/bin/sh"]
|
|
args: ["-c", "while true; do echo hello from cnt02; sleep 10;done"]
|
|
resources:
|
|
requests:
|
|
memory: "100Mi"
|
|
cpu: "100m"
|
|
- name: busybox-cnt03
|
|
image: busybox:1.28
|
|
command: ["/bin/sh"]
|
|
args: ["-c", "while true; do echo hello from cnt03; sleep 10;done"]
|
|
resources:
|
|
limits:
|
|
memory: "200Mi"
|
|
cpu: "500m"
|
|
- name: busybox-cnt04
|
|
image: busybox:1.28
|
|
command: ["/bin/sh"]
|
|
args: ["-c", "while true; do echo hello from cnt04; sleep 10;done"]
|