net tools pod - Almax84/consulting-wiki GitHub Wiki
To create a Pod with net-tools
apiVersion: v1
kind: Pod
metadata:
name: net-tools
namespace: rai-pod-session-affinity
spec:
containers:
- name: net-tools
image: praqma/network-multitool
#command: [ "/bin/sh", "-c", "while true ;do curl http://myspringboot:8080/greeting 2>/dev/null && echo ''; sleep 1; done;" ]
restartPolicy: Never
NOTE you can provide a command to run when executing the pod. If you omit it nothing will happen, don't worry