https://github.com/ejunjsh/kadd
a cli to add a container into a running pod on k8s
https://github.com/ejunjsh/kadd
cli k8s
Last synced: about 2 months ago
JSON representation
a cli to add a container into a running pod on k8s
- Host: GitHub
- URL: https://github.com/ejunjsh/kadd
- Owner: ejunjsh
- Created: 2020-07-20T05:01:12.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T14:35:59.000Z (over 4 years ago)
- Last Synced: 2025-01-29T17:44:36.152Z (3 months ago)
- Topics: cli, k8s
- Language: Go
- Homepage:
- Size: 72.3 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# kadd
a command to add container into a running pod on k8s
## precondition
install a docker desktop and enable the k8s
## getting started
### build image
docker build -t ejunjsh/kadd-controller:1.0 .
### build commandcd cmd/kadd
go install
### run commandkadd vpnkit-controller bash -n kube-system --image nginx
# above command means you add a container whose image is nginx and that container run in the vpnkit-controller pod whose namespace is kube-system