https://github.com/subscan-explorer/kubectl-d
This tool allows you to create an ephemeral container with just one command and provides configuration for securityContext.
https://github.com/subscan-explorer/kubectl-d
kubectl-plugins
Last synced: 11 months ago
JSON representation
This tool allows you to create an ephemeral container with just one command and provides configuration for securityContext.
- Host: GitHub
- URL: https://github.com/subscan-explorer/kubectl-d
- Owner: subscan-explorer
- Created: 2023-09-13T08:54:34.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-28T05:54:32.000Z (about 2 years ago)
- Last Synced: 2025-01-10T18:42:30.564Z (over 1 year ago)
- Topics: kubectl-plugins
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
`kubectl-d` is a tool that simplifies the use of `kubectl debug`. With just one command, you can enter the container without having to look up information such as the name of the Pod, the name of the container, and the namespace. In addition, it provides configuration for `securityContext`.
## Installation
- Use the following command to install:
```
go install github.com/subscan-explorer/kubectl-d@latest
```
- Download the binary file from the [release](https://github.com/subscan-explorer/kubectl-d/releases) page and add it to the `PATH` environment variable.
## Usage
- Run `kubectl-d` in the terminal to enter interactive command line mode. Follow the prompts to operate.
[](https://asciinema.org/a/607671)
- Use the following command directly to create a temporary container and enter it:
```
kubectl-d -n -c -capabilities -capabilities -image
```
[](https://asciinema.org/a/607672)