Skip to content

Instantly share code, notes, and snippets.

@zryfish
Created December 13, 2018 03:49
Show Gist options
  • Select an option

  • Save zryfish/9976c1a433c23fd22c441d47461cacd1 to your computer and use it in GitHub Desktop.

Select an option

Save zryfish/9976c1a433c23fd22c441d47461cacd1 to your computer and use it in GitHub Desktop.
kubernetes network troubleshooting docker image
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: jeffwithlove/netshoot
command:
- /bin/sh
- -c
- "while true; do echo sleeping; sleep 5; done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment