Files
capsule/hack/pentest.sh
Oliver Bähler 0abc77b56a feat: diverse performance improvements (#1861)
Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
2026-02-03 22:05:00 +01:00

43 lines
686 B
Bash

#!/usr/bin/env sh
OUT=busybox-test.yml
: > "$OUT" # truncate file
for i in $(seq 0 99); do
cat >> "$OUT" <<EOF
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: busybox-$i
name: busybox-$i
namespace: solar-test
spec:
replicas: 1
selector:
matchLabels:
app: busybox-$i
strategy: {}
template:
metadata:
labels:
app: busybox-$i
spec:
containers:
- image: busybox:latest
name: busybox-$i
command:
- "sleep"
- "100"
resources:
requests:
cpu: 1m
memory: 16Mi
limits:
cpu: 10m
memory: 32Mi
EOF
done