https://github.com/sloppycoder/shell-pod
Pod for running shell commands from within the cluster for various testing
https://github.com/sloppycoder/shell-pod
Last synced: over 1 year ago
JSON representation
Pod for running shell commands from within the cluster for various testing
- Host: GitHub
- URL: https://github.com/sloppycoder/shell-pod
- Owner: sloppycoder
- Created: 2019-07-28T05:10:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-28T06:50:49.000Z (almost 7 years ago)
- Last Synced: 2025-01-11T08:14:01.700Z (over 1 year ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## project to create a pod that allows to run shell inside
This is useful to test various things inside the K8S cluster
### Run the project with skaffold
```
skaffold dev
```
### Access shell inside the pod
```
kubectl exec -it bash -- /bin/bash
```
### shut it down
```
kubectl delete pod bash --grace-period 0 --force
# or use ctrl-C to kill skaffold process
```