2025-09-13 21:08:45 -04:00
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
name: netshoot
|
2025-09-13 22:31:18 -04:00
|
|
|
namespace: argocd
|
2025-09-13 21:08:45 -04:00
|
|
|
spec:
|
|
|
|
|
replicas: 1
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
app: netshoot
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
labels:
|
|
|
|
|
app: netshoot
|
|
|
|
|
spec:
|
|
|
|
|
containers:
|
|
|
|
|
- name: netshoot
|
|
|
|
|
image: nicolaka/netshoot:latest
|
|
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
|
command: ["/bin/sh", "-c", "sleep infinity"]
|
|
|
|
|
securityContext:
|
|
|
|
|
capabilities:
|
|
|
|
|
add: ["NET_ADMIN", "NET_RAW"]
|
|
|
|
|
resources:
|
|
|
|
|
requests: { cpu: "50m", memory: "64Mi" }
|
|
|
|
|
limits: { cpu: "200m", memory: "256Mi" }
|