-
Notifications
You must be signed in to change notification settings - Fork 717
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Arvind Iyengar
committed
Jun 15, 2021
1 parent
4ca52f5
commit 00a3814
Showing
544 changed files
with
97,935 additions
and
6 deletions.
There are no files selected for viewing
Binary file added
BIN
+7.76 KB
assets/rancher-kube-state-metrics/rancher-kube-state-metrics-100.0.0+up3.2.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.58 KB
assets/rancher-node-exporter/rancher-node-exporter-100.0.0+up1.18.1.tgz
Binary file not shown.
Binary file added
BIN
+8.29 KB
assets/rancher-prometheus-adapter/rancher-prometheus-adapter-100.0.0+up2.14.0.tgz
Binary file not shown.
Binary file modified
BIN
+526 Bytes
(110%)
assets/rancher-windows-exporter/rancher-windows-exporter-100.0.0.tgz
Binary file not shown.
21 changes: 21 additions & 0 deletions
21
charts/rancher-kube-state-metrics/rancher-kube-state-metrics/100.0.0+up3.2.0/.helmignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# 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 |
25 changes: 25 additions & 0 deletions
25
charts/rancher-kube-state-metrics/rancher-kube-state-metrics/100.0.0+up3.2.0/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
annotations: | ||
catalog.cattle.io/hidden: "true" | ||
catalog.cattle.io/os: linux | ||
catalog.rancher.io/certified: rancher | ||
catalog.rancher.io/namespace: cattle-monitoring-system | ||
catalog.rancher.io/release-name: rancher-kube-state-metrics | ||
apiVersion: v2 | ||
appVersion: 2.0.0 | ||
description: Install kube-state-metrics to generate and expose cluster-level metrics | ||
home: https://github.com/kubernetes/kube-state-metrics/ | ||
keywords: | ||
- metric | ||
- monitoring | ||
- prometheus | ||
- kubernetes | ||
maintainers: | ||
- email: [email protected] | ||
name: tariq1890 | ||
- email: [email protected] | ||
name: mrueg | ||
name: rancher-kube-state-metrics | ||
sources: | ||
- https://github.com/kubernetes/kube-state-metrics/ | ||
type: application | ||
version: 100.0.0+up3.2.0 |
6 changes: 6 additions & 0 deletions
6
charts/rancher-kube-state-metrics/rancher-kube-state-metrics/100.0.0+up3.2.0/OWNERS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
approvers: | ||
- tariq1890 | ||
- mrueg | ||
reviewers: | ||
- tariq1890 | ||
- mrueg |
68 changes: 68 additions & 0 deletions
68
...rancher-kube-state-metrics/rancher-kube-state-metrics/100.0.0+up3.2.0/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# kube-state-metrics Helm Chart | ||
|
||
Installs the [kube-state-metrics agent](https://github.com/kubernetes/kube-state-metrics). | ||
|
||
## Get Repo Info | ||
|
||
```console | ||
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts | ||
helm repo update | ||
``` | ||
|
||
_See [helm repo](https://helm.sh/docs/helm/helm_repo/) for command documentation._ | ||
|
||
## Install Chart | ||
|
||
```console | ||
helm install [RELEASE_NAME] prometheus-community/kube-state-metrics [flags] | ||
``` | ||
|
||
_See [configuration](#configuration) below._ | ||
|
||
_See [helm install](https://helm.sh/docs/helm/helm_install/) for command documentation._ | ||
|
||
## Uninstall Chart | ||
|
||
```console | ||
helm uninstall [RELEASE_NAME] | ||
``` | ||
|
||
This removes all the Kubernetes components associated with the chart and deletes the release. | ||
|
||
_See [helm uninstall](https://helm.sh/docs/helm/helm_uninstall/) for command documentation._ | ||
|
||
## Upgrading Chart | ||
|
||
```console | ||
helm upgrade [RELEASE_NAME] prometheus-community/kube-state-metrics [flags] | ||
``` | ||
|
||
_See [helm upgrade](https://helm.sh/docs/helm/helm_upgrade/) for command documentation._ | ||
|
||
### Migrating from stable/kube-state-metrics and kubernetes/kube-state-metrics | ||
|
||
You can upgrade in-place: | ||
|
||
1. [get repo info](#get-repo-info) | ||
1. [upgrade](#upgrading-chart) your existing release name using the new chart repo | ||
|
||
|
||
## Upgrading to v3.0.0 | ||
|
||
v3.0.0 includes kube-state-metrics v2.0, see the [changelog](https://github.com/kubernetes/kube-state-metrics/blob/release-2.0/CHANGELOG.md) for major changes on the application-side. | ||
|
||
The upgraded chart now the following changes: | ||
* Dropped support for helm v2 (helm v3 or later is required) | ||
* collectors key was renamed to resources | ||
* namespace key was renamed to namespaces | ||
|
||
|
||
## Configuration | ||
|
||
See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing). To see all configurable options with detailed comments: | ||
|
||
```console | ||
helm show values prometheus-community/kube-state-metrics | ||
``` | ||
|
||
You may also run `helm show values` on this chart's [dependencies](#dependencies) for additional options. |
10 changes: 10 additions & 0 deletions
10
...rancher-kube-state-metrics/rancher-kube-state-metrics/100.0.0+up3.2.0/templates/NOTES.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
kube-state-metrics is a simple service that listens to the Kubernetes API server and generates metrics about the state of the objects. | ||
The exposed metrics can be found here: | ||
https://github.com/kubernetes/kube-state-metrics/blob/master/docs/README.md#exposed-metrics | ||
|
||
The metrics are exported on the HTTP endpoint /metrics on the listening port. | ||
In your case, {{ template "kube-state-metrics.fullname" . }}.{{ template "kube-state-metrics.namespace" . }}.svc.cluster.local:{{ .Values.service.port }}/metrics | ||
|
||
They are served either as plaintext or protobuf depending on the Accept header. | ||
They are designed to be consumed either by Prometheus itself or by a scraper that is compatible with scraping a Prometheus client endpoint. | ||
|
76 changes: 76 additions & 0 deletions
76
...cher-kube-state-metrics/rancher-kube-state-metrics/100.0.0+up3.2.0/templates/_helpers.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# Rancher | ||
{{- define "system_default_registry" -}} | ||
{{- if .Values.global.cattle.systemDefaultRegistry -}} | ||
{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
# Windows Support | ||
|
||
{{/* | ||
Windows cluster will add default taint for linux nodes, | ||
add below linux tolerations to workloads could be scheduled to those linux nodes | ||
*/}} | ||
|
||
{{- define "linux-node-tolerations" -}} | ||
- key: "cattle.io/os" | ||
value: "linux" | ||
effect: "NoSchedule" | ||
operator: "Equal" | ||
{{- end -}} | ||
|
||
{{- define "linux-node-selector" -}} | ||
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}} | ||
beta.kubernetes.io/os: linux | ||
{{- else -}} | ||
kubernetes.io/os: linux | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* vim: set filetype=mustache: */}} | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "kube-state-metrics.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "kube-state-metrics.fullname" -}} | ||
{{- if .Values.fullnameOverride -}} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- $name := default .Chart.Name .Values.nameOverride -}} | ||
{{- if contains $name .Release.Name -}} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create the name of the service account to use | ||
*/}} | ||
{{- define "kube-state-metrics.serviceAccountName" -}} | ||
{{- if .Values.serviceAccount.create -}} | ||
{{ default (include "kube-state-metrics.fullname" .) .Values.serviceAccount.name }} | ||
{{- else -}} | ||
{{ default "default" .Values.serviceAccount.name }} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Allow the release namespace to be overridden for multi-namespace deployments in combined charts | ||
*/}} | ||
{{- define "kube-state-metrics.namespace" -}} | ||
{{- if .Values.namespaceOverride -}} | ||
{{- .Values.namespaceOverride -}} | ||
{{- else -}} | ||
{{- .Release.Namespace -}} | ||
{{- end -}} | ||
{{- end -}} |
23 changes: 23 additions & 0 deletions
23
...tate-metrics/rancher-kube-state-metrics/100.0.0+up3.2.0/templates/clusterrolebinding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{{- if and .Values.rbac.create .Values.rbac.useClusterRole -}} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: {{ template "kube-state-metrics.name" . }} | ||
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
name: {{ template "kube-state-metrics.fullname" . }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
{{- if .Values.rbac.useExistingRole }} | ||
name: {{ .Values.rbac.useExistingRole }} | ||
{{- else }} | ||
name: {{ template "kube-state-metrics.fullname" . }} | ||
{{- end }} | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ template "kube-state-metrics.fullname" . }} | ||
namespace: {{ template "kube-state-metrics.namespace" . }} | ||
{{- end -}} |
Oops, something went wrong.