-
Notifications
You must be signed in to change notification settings - Fork 718
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
1 parent
391a415
commit 99c0538
Showing
16 changed files
with
863 additions
and
460 deletions.
There are no files selected for viewing
Binary file modified
BIN
+4.13 KB
(100%)
assets/rancher-monitoring/rancher-monitoring-104.0.0-rc1+up45.31.1.tgz
Binary file not shown.
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 |
---|---|---|
|
@@ -14,10 +14,8 @@ | |
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
26 changes: 14 additions & 12 deletions
26
charts/rancher-monitoring/104.0.0-rc1+up45.31.1/charts/windowsExporter/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 |
---|---|---|
@@ -1,15 +1,17 @@ | ||
annotations: | ||
catalog.cattle.io/hidden: "true" | ||
catalog.cattle.io/os: windows | ||
catalog.rancher.io/certified: rancher | ||
catalog.rancher.io/namespace: cattle-monitoring-system | ||
catalog.rancher.io/release-name: rancher-windows-exporter | ||
apiVersion: v1 | ||
appVersion: 0.0.2 | ||
description: Sets up monitoring metrics from Windows nodes via Prometheus windows-exporter | ||
apiVersion: v2 | ||
appVersion: 0.25.1 | ||
description: A Helm chart for prometheus windows-exporter | ||
home: https://github.com/prometheus-community/windows_exporter/ | ||
keywords: | ||
- windows-exporter | ||
- windows | ||
- prometheus | ||
- exporter | ||
maintainers: | ||
- email: arvind.iyengar@rancher.com | ||
name: aiyengar2 | ||
- email: github@jkroepke.de | ||
name: jkroepke | ||
name: windowsExporter | ||
sources: | ||
- https://github.com/prometheus-community/windows_exporter/ | ||
type: application | ||
version: 0.1.1 | ||
version: 0.3.1 |
43 changes: 34 additions & 9 deletions
43
charts/rancher-monitoring/104.0.0-rc1+up45.31.1/charts/windowsExporter/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 |
---|---|---|
@@ -1,17 +1,42 @@ | ||
# rancher-windows-exporter | ||
# Prometheus `Windows Exporter` | ||
|
||
A Rancher chart based on the [prometheus-community/windows-exporter](https://github.com/prometheus-community/windows_exporter) project (previously called wmi-exporter) that sets up a DaemonSet of clients that can scrape windows-exporter metrics from Windows nodes on a Kubernetes cluster. | ||
Prometheus exporter for hardware and OS metrics exposed by Windows kernels, written in Go with pluggable metric collectors. | ||
|
||
A [Prometheus Operator](https://github.com/coreos/prometheus-operator) ServiceMonitor CR and PrometheusRule CR are also created by this chart to collect metrics and add some recording rules to map `windows_` series with their OS-agnostic counterparts. | ||
This chart bootstraps a prometheus [`Windows Exporter`](http://github.com/prometheus-community/windows_exporter) daemonset on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. | ||
|
||
## Node Requirements | ||
## Get Repository Info | ||
|
||
Since Windows does not support privileged pods, this chart expects a Named Pipe (`\\.\pipe\rancher_wins`) to exist on the Windows host that allows containers to communicate with the host. This is done by deploying a [rancher/wins](https://github.com/rancher/wins) server on the host. | ||
```console | ||
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts | ||
helm repo update | ||
``` | ||
|
||
The image used by the chart, [windows_exporter-package](https://github.com/rancher/windows_exporter-package), is configured to create a wins client that communicates with the wins server, alongside a running copy of a particular version of [windows-exporter](https://github.com/prometheus-community/windows_exporter). Through the wins client and wins server, the windows-exporter is able to communicate directly with the Windows host to collect metrics and expose them. | ||
_See [`helm repo`](https://helm.sh/docs/helm/helm_repo/) for command documentation._ | ||
|
||
If the cluster you are installing this chart on is a custom cluster that was created via RKE1 with Windows Support enabled, your nodes should already have the wins server running; this should have been added as part of [the bootstrapping process for adding the Windows node onto your RKE1 cluster](https://github.com/rancher/rancher/blob/master/package/windows/bootstrap.ps1). | ||
## Install Chart | ||
|
||
## Configuration | ||
```console | ||
helm install [RELEASE_NAME] prometheus-community/prometheus-windows-exporter | ||
``` | ||
|
||
See [rancher-monitoring](https://github.com/rancher/charts/tree/gh-pages/packages/rancher-monitoring) for an example of how this chart can be used. | ||
_See [configuration](#configuring) 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._ | ||
|
||
## Configuring | ||
|
||
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, visit the chart's [values.yaml](./values.yaml), or run these configuration commands: | ||
|
||
```console | ||
helm show values prometheus-community/prometheus-windows-exporter | ||
``` |
20 changes: 0 additions & 20 deletions
20
...er-monitoring/104.0.0-rc1+up45.31.1/charts/windowsExporter/scripts/check-wins-version.ps1
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...s/rancher-monitoring/104.0.0-rc1+up45.31.1/charts/windowsExporter/scripts/proxy-entry.ps1
This file was deleted.
Oops, something went wrong.
78 changes: 0 additions & 78 deletions
78
charts/rancher-monitoring/104.0.0-rc1+up45.31.1/charts/windowsExporter/scripts/run.ps1
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.