Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prometheus on emptyDir volumes #798

Merged
merged 2 commits into from Dec 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions CONTRIBUTING.md
Expand Up @@ -147,8 +147,11 @@ The deployed Prometheus scrapes metrics from the dedicated k8gb operator endpoin
- http://127.0.0.1:9080
- http://127.0.0.1:9081

All the metric data is ephemeral and will be lost with pod restarts.
To uninstall Prometheus, run `make uninstall-prometheus`

Optionally, you can also install Grafana that will have the datasources configured and example dashboard ready using `make deploy-grafana`

## Code style

k8gb project is using the coding style suggested by the Golang community. See the [golang-style-doc](https://github.com/golang/go/wiki/CodeReviewComments) for details.
Expand Down
2 changes: 2 additions & 0 deletions deploy/prometheus/values.yaml
@@ -1,5 +1,7 @@
server:
enabled: true
persistentVolume:
enabled: false # emptyDir, all data is lost when pod restarts
service:
nodePort: 30090 # allowed port range between 30000 and 32768
servicePort: 9090
Expand Down