https://github.com/davydany/sidecar
David's Personal Sidecar Application
https://github.com/davydany/sidecar
Last synced: 4 months ago
JSON representation
David's Personal Sidecar Application
- Host: GitHub
- URL: https://github.com/davydany/sidecar
- Owner: davydany
- Created: 2024-11-11T02:55:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-11T05:23:46.000Z (over 1 year ago)
- Last Synced: 2025-01-28T03:16:01.942Z (over 1 year ago)
- Language: Dockerfile
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# davydany/sidecar
A sidecar container for debugging and troubleshooting in Kubernetes.
**Website:** https://github.com/davydany/sidecar
## Usage
**Docker:**
```bash
docker run -it --rm davydany/sidecar bash
```
**Kubernetes:**
```bash
kubectl run -it --rm --image=davydany/sidecar sidecar -- bash
```
## What's in the sidecar?
### Supported Clients:
* Official PostgreSQL Client (`psql`)
* PostgreSQL CLI (`pgcli`)
- Pgcli is a command line interface for Postgres with auto-completion and syntax highlighting. (https://www.pgcli.com/)
* Official Redis Client (`redis-cli`)
* Official Elasticsearch Client (`curl` - 😬)
* Kafkacat (`kafkacat`)
### Supported Languages:
* Python 3 (`python3` - Python 3.12.7)
* OpenJDK 11 JRE (`javac` and `jre` openjdk 11.0.25 2024-10-15)
* Go (`go` - go version go1.22.8 linux/arm64)
### Supported Text Editors
* Vim (`vim`)
* Nano (`nano`)
### Supported Shells
* Bash (`/bin/bash`)
* Zsh (`/bin/zsh`)
### Supported Tools
* curl (`curl` - https://curl.se/)
* jq (`jq` - https://stedolan.github.io/jq/)
* kubectl (`kubectl` - https://kubernetes.io/docs/tasks/tools/install-kubectl/)
* awscli (`aws` - https://aws.amazon.com/cli/)
* httpie (`http` or `https` - https://httpie.io/docs/cli/examples)
* kaf (`kaf` - https://github.com/birdayz/kaf)
* openssl (`openssl` - https://www.openssl.org/)
* openssh (`ssh` - https://www.openssh.com/)
* bind (`bind` - https://www.isc.org/bind/)
- `arpaname`
- `ddns-confgen`
- `delv`
- `dig`
- `dnstap-read`
- `host`
- `mdig`
- `named-checkzone`
- `named-compilezone`
- `named-journalprint`
- `named-rrchecker`
- `nslookup`
- `nsupdate`
- `rndc-confgen`
- `tsig-keygen`
* `kubectl-plugins` (https://github.com/luksa/kubectl-plugins/tree/master)
- `kubectl-force-delete`
- `kubectl-really-delete-all`
- `kubectl-really-get-all`
- `kubectl-ssh`
## Build Locally
**Build the image**
```bash
make build
```
**Build and Run the container**
```bash
make build-and-run
```
**Test Locally**
```bash
make up
```
**Stop the container**
```bash
make down
```
**Access the container**
```bash
make exec
```
# Support and Contribution
* If you need help, please reach out to me at `davydany@gmail.com`
* If you have a feature request, please open an issue.
* If you want to contribute, please submit a pull request.
* If you found a bug, please open an issue.
**More Details:** https://github.com/davydany/sidecar