Created
February 6, 2022 22:54
-
-
Save brianpursley/3e303b6859a7c06693ff61923997d4c7 to your computer and use it in GitHub Desktop.
Start a TCP echo pod in Kubernetes
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
kubectl run tcpecho --image=alpine --restart=Never -- /bin/sh -c "apk add socat && socat -v tcp-listen:8080,fork EXEC:cat" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment