Skip to content

Instantly share code, notes, and snippets.

@zulhfreelancer
Created October 4, 2023 03:49
Show Gist options
  • Save zulhfreelancer/c9b74570c49e4c7d02fa664d5b1d9770 to your computer and use it in GitHub Desktop.
Save zulhfreelancer/c9b74570c49e4c7d02fa664d5b1d9770 to your computer and use it in GitHub Desktop.
Netshoot Deployment YAML Manifest
apiVersion: apps/v1
kind: Deployment
metadata:
name: netshoot
labels:
app: netshoot
spec:
replicas: 1
selector:
matchLabels:
app: netshoot
template:
metadata:
labels:
app: netshoot
spec:
containers:
- name: netshoot
image: nicolaka/netshoot
command: ["/bin/bash"]
args: ["-c", "while true; do ping localhost; sleep 60;done"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment