Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/viveksinghggits/lister
https://github.com/viveksinghggits/lister
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/viveksinghggits/lister
- Owner: viveksinghggits
- Created: 2021-05-02T11:31:54.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-05-02T11:34:44.000Z (over 3 years ago)
- Last Synced: 2024-06-21T17:02:41.549Z (5 months ago)
- Language: Go
- Size: 20.5 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Lister
A very simple application that uses client-go to list `pods` and `deployments` from default namespace.
### Build the binary
```
go build
```### Build the Docker image
```
» docker build -t lister:0.1.1 .
```If you want to get this deployed on your Kubernetes cluster, push this image to a continer registry
```
docker tag lister:0.1.1 /lister:0.1.1
docker push /lister:0.1.1
```Once the image is pushed, change the lister.yaml to have this new image for value `.spec.template.spec.containers[0].image`.
### Create deployment
```
kubectl create -f lister.yaml
```