Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maorfr/helm-logs
Helm plugin to view logs of changed Helm releases
https://github.com/maorfr/helm-logs
go golang helm helm-plugin kubernetes
Last synced: 3 months ago
JSON representation
Helm plugin to view logs of changed Helm releases
- Host: GitHub
- URL: https://github.com/maorfr/helm-logs
- Owner: maorfr
- License: other
- Created: 2018-09-22T22:52:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-05T07:11:29.000Z (over 5 years ago)
- Last Synced: 2024-06-20T15:48:00.439Z (8 months ago)
- Topics: go, golang, helm, helm-plugin, kubernetes
- Language: Go
- Size: 17.6 KB
- Stars: 12
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Helm Logs Plugin
This is a Helm plugin which provides a view of changed Helm releases over time. It works like
`helm history`, but for all releases, sorted by date and has a `--since` option.## Usage
Print logs of changed Helm releases
```
$ helm logs [flags]
```### Flags:
```
-l, --label string label to select tiller resources by (default "OWNER=TILLER")
--namespace string show releases within a specific namespace
--since duration Only return logs newer than a relative duration like 5s, 2m, or 3h. Defaults to all logs. (default 1000000h0m0s)
--tiller-namespace string namespace of Tiller (default "kube-system")
```## Install
```
$ helm plugin install https://github.com/maorfr/helm-logs
```The above will fetch the latest binary release of `helm logs` and install it.
### Developer (From Source) Install
If you would like to handle the build yourself, instead of fetching a binary,
this is how recommend doing it.First, set up your environment:
- You need to have [Go](http://golang.org) >= 1.11 installed (we use `go modules`)
Clone the repo (not necessarily into your `$GOPATH`). You can use `go get -d github.com/maorfr/helm-logs` if you plan to work inside `$GOPATH`.
for that.```
$ cd /github.com/maorfr/helm-logs
$ make bootstrap build
$ SKIP_BIN_INSTALL=1 helm plugin install /github.com/maorfr/helm-logs
```That last command will skip fetching the binary install and use the one you
built.