Created
September 11, 2019 20:00
-
-
Save jason-magnetic-io/59196da35ecdea3040eebb9a33f67710 to your computer and use it in GitHub Desktop.
BusyBox httpd spider Pods - https://blog.vamp.io/network-policies-made-easy-on-gke
This file contains 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 characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: pod2 | |
labels: | |
role: frontend | |
spec: | |
containers: | |
- name: busybox | |
image: busybox | |
command: ["/bin/sh","-c"] | |
args: ["wget --spider --timeout=1 httpd-deployment.vamp; sleep 3m"] |
This file contains 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 characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: pod3 | |
labels: | |
role: frontend | |
spec: | |
containers: | |
- name: busybox | |
image: busybox | |
command: ["/bin/sh","-c"] | |
args: ["wget --spider --timeout=1 httpd-deployment.vamp:4222; sleep 3m"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment