Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/viveksinghggits/lister


https://github.com/viveksinghggits/lister

Last synced: about 1 month ago
JSON representation

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
```