Skip to content

Instantly share code, notes, and snippets.

@mridulgain
Last active November 22, 2025 04:48
Show Gist options
  • Select an option

  • Save mridulgain/4dd3622db3ed6c2e567cafe4634c7017 to your computer and use it in GitHub Desktop.

Select an option

Save mridulgain/4dd3622db3ed6c2e567cafe4634c7017 to your computer and use it in GitHub Desktop.
Netshoot client to be deployed on pod network
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: netshoot
labels:
app: netshoot
spec:
selector:
matchLabels:
app: netshoot
template:
metadata:
labels:
app: netshoot
spec:
containers:
- name: netshoot
# image: quay.io/platform9/ubuntu:netshoot
image: nicolaka/netshoot
imagePullPolicy: IfNotPresent
tty: true
stdin: true
# keep the container alive so you can kubectl exec into it
command: ["/bin/bash"]
args: ["-c", "sleep infinity"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment