diff --git a/default/netshoot.yaml b/default/netshoot.yaml new file mode 100644 index 0000000..c5e9d45 --- /dev/null +++ b/default/netshoot.yaml @@ -0,0 +1,44 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: netshoot +spec: + replicas: 1 + selector: + matchLabels: + app: netshoot + template: + metadata: + creationTimestamp: null + labels: + app: netshoot + spec: + containers: + - name: netshoot + image: nicolaka/netshoot + command: + - /bin/bash + args: + - '-c' + - while true; do ping localhost; sleep 60;done + resources: {} + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + imagePullPolicy: Always + securityContext: + capabilities: + add: + - NET_ADMIN + - NET_RAW + restartPolicy: Always + terminationGracePeriodSeconds: 30 + dnsPolicy: ClusterFirst + securityContext: {} + schedulerName: default-scheduler + strategy: + type: RollingUpdate + rollingUpdate: + maxUnavailable: 25% + maxSurge: 25% + revisionHistoryLimit: 10 + progressDeadlineSeconds: 600