Kubernetes netshoot Shell Pod Execution
1. Execution Environment
The execution environment is as follows.
- Kubernetes 1.18
2. netshoot Shell Pod Execution
$ kubectl run my-shell --rm -i --tty --image nicolaka/netshoot -- bashCreate a netshoot Pod and enter Bash.
2.1. With Host Network Namespace
| |
Create a netshoot Pod using the Host Network Namespace with [File 1].
$ kubectl exec -it my-shell-hostnet -- bashEnter the netshoot Pod.