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

Add helm charts about kube-state-metrics #152

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions contents/kube-state-metrics/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# README

## Prerequisites

- Kubernetes 1.12+
- Helm 3.1.0

## How to use

### Method 01

1. Download kube-prometheus-stack and kube-state-metrics by [exporterhub.io](http://exporterhub.io/)

2. Execute helm charts

```bash
cd ./helm-chart/kube-prometheus-stack
helm install [release_name] .
```

```bash
cd ./helm-chart/kube-state-metrics
helm install [release_name] .
```

### Method 02

1. Download kube-prometheus-stack and kube-state-metrics
by [artifacthub.io](https://artifacthub.io/)

- [kube-prometheus-stack](https://artifacthub.io/packages/helm/prometheus-community/kube-prometheus-stack)
- [kube-state-metrics](https://artifacthub.io/packages/helm/bitnami/kube-state-metrics)

2. Execute helm charts

## How to see

1. Download dashboard about kube-state-metrics by [exporterhub.io](http://exporterhub.io/)
2. Check grafana dashboard
![image](https://user-images.githubusercontent.com/52230415/136691956-3fe755a5-fd8a-4d6f-ab83-a359ac1b7581.png)
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
# helm/charts
OWNERS
hack/
ci/
kube-prometheus-*.tgz

unittests/
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Contributing Guidelines

## How to contribute to this chart

1. Fork this repository, develop and test your Chart.
1. Bump the chart version for every change.
1. Ensure PR title has the prefix `[kube-prometheus-stack]`
1. When making changes to rules or dashboards, see the README.md section on how to sync data from upstream repositories
1. Check the `hack/minikube` folder has scripts to set up minikube and components of this chart that will allow all components to be scraped. You can use this configuration when validating your changes.
1. Check for changes of RBAC rules.
1. Check for changes in CRD specs.
1. PR must pass the linter (`helm lint`)
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
dependencies:
- name: kube-state-metrics
repository: https://prometheus-community.github.io/helm-charts
version: 3.4.2
- name: prometheus-node-exporter
repository: https://prometheus-community.github.io/helm-charts
version: 2.0.4
- name: grafana
repository: https://grafana.github.io/helm-charts
version: 6.15.0
digest: sha256:0cc8367cf63d044beb103cc3b8c6cf7504ba47fb19eb8956710548eb9d9c3b96
generated: "2021-08-19T19:36:26.830041372Z"
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
annotations:
artifacthub.io/links: |
- name: Chart Source
url: https://github.com/prometheus-community/helm-charts
- name: Upstream Project
url: https://github.com/prometheus-operator/kube-prometheus
artifacthub.io/operator: "true"
apiVersion: v2
appVersion: 0.50.0
dependencies:
- condition: kubeStateMetrics.enabled
name: kube-state-metrics
repository: https://prometheus-community.github.io/helm-charts
version: 3.4.*
- condition: nodeExporter.enabled
name: prometheus-node-exporter
repository: https://prometheus-community.github.io/helm-charts
version: 2.0.*
- condition: grafana.enabled
name: grafana
repository: https://grafana.github.io/helm-charts
version: 6.15.*
description: kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards,
and Prometheus rules combined with documentation and scripts to provide easy to
operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus
Operator.
home: https://github.com/prometheus-operator/kube-prometheus
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png
keywords:
- operator
- prometheus
- kube-prometheus
kubeVersion: '>=1.16.0-0'
maintainers:
- name: vsliouniaev
- name: bismarck
- email: [email protected]
name: gianrubio
- email: [email protected]
name: gkarthiks
- email: [email protected]
name: scottrigby
- email: [email protected]
name: Xtigyro
name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
type: application
version: 18.0.1
472 changes: 472 additions & 0 deletions contents/kube-state-metrics/helm-chart/kube-prometheus-stack/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.vscode
.project
.idea/
*.tmproj
OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: v2
appVersion: 8.1.0
description: The leading tool for querying and visualizing time series and metrics.
home: https://grafana.net
icon: https://raw.githubusercontent.com/grafana/grafana/master/public/img/logo_transparent_400x.png
kubeVersion: ^1.8.0-0
maintainers:
- email: [email protected]
name: zanhsieh
- email: [email protected]
name: rtluckie
- email: [email protected]
name: maorfr
- email: [email protected]
name: Xtigyro
- email: [email protected]
name: torstenwalter
name: grafana
sources:
- https://github.com/grafana/grafana
type: application
version: 6.15.0
Loading