-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
helm: add victoria-metrics-operator chart
Signed-off-by: Viktor Login <batazor111@gmail.com>
- Loading branch information
Showing
10 changed files
with
301 additions
and
0 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
ops/Helm/addons/observability/victoria-metrics-operator/Chart.lock
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 @@ | ||
dependencies: | ||
- name: victoria-metrics-operator | ||
repository: https://victoriametrics.github.io/helm-charts/ | ||
version: 0.36.0 | ||
digest: sha256:f57a612c56a1f6a859a720c77aa3302984a9f84c194df9947f1e8b05992ad75e | ||
generated: "2024-10-25T00:59:21.145588+03:00" |
23 changes: 23 additions & 0 deletions
23
ops/Helm/addons/observability/victoria-metrics-operator/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,23 @@ | ||
apiVersion: v2 | ||
appVersion: "1.0.0" | ||
name: victoria-metrics-operator | ||
version: 0.1.0 | ||
kubeVersion: ">= 1.30.0 || >= v1.30.0-0" | ||
keywords: | ||
- victoria | ||
- operator | ||
- monitoring | ||
maintainers: | ||
- email: batazor111@gmail.com | ||
name: batazor | ||
url: batazor.ru | ||
engine: gotpl | ||
type: application | ||
deprecated: false | ||
dependencies: | ||
- name: victoria-metrics-operator | ||
version: 0.36.0 | ||
repository: https://victoriametrics.github.io/helm-charts/ | ||
condition: victoria-metrics-operator.enabled | ||
tags: | ||
- monitoring |
187 changes: 187 additions & 0 deletions
187
ops/Helm/addons/observability/victoria-metrics-operator/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,187 @@ | ||
# prometheus-operator | ||
|
||
![Version: 0.7.5](https://img.shields.io/badge/Version-0.7.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square) | ||
|
||
## Maintainers | ||
|
||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| batazor | <batazor111@gmail.com> | <batazor.ru> | | ||
|
||
## Requirements | ||
|
||
Kubernetes: `>= 1.30.0 || >= v1.30.0-0` | ||
|
||
| Repository | Name | Version | | ||
|------------|------|---------| | ||
| https://prometheus-community.github.io/helm-charts | kube-prometheus-stack | 65.3.1 | | ||
|
||
## Values | ||
|
||
<table height="400px" > | ||
<thead> | ||
<th>Key</th> | ||
<th>Type</th> | ||
<th>Default</th> | ||
<th>Description</th> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td id="kube-prometheus-stack--coreDns--enabled"><a href="./values.yaml#L22">kube-prometheus-stack.coreDns.enabled</a></td> | ||
<td> | ||
bool | ||
</td> | ||
<td> | ||
<div style="max-width: 300px;"> | ||
<pre lang="json"> | ||
true | ||
</pre> | ||
</div> | ||
</td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td id="kube-prometheus-stack--enabled"><a href="./values.yaml#L6">kube-prometheus-stack.enabled</a></td> | ||
<td> | ||
bool | ||
</td> | ||
<td> | ||
<div style="max-width: 300px;"> | ||
<pre lang="json"> | ||
true | ||
</pre> | ||
</div> | ||
</td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td id="kube-prometheus-stack--fullnameOverride"><a href="./values.yaml#L8">kube-prometheus-stack.fullnameOverride</a></td> | ||
<td> | ||
string | ||
</td> | ||
<td> | ||
<div style="max-width: 300px;"> | ||
<pre lang="json"> | ||
"prometheus" | ||
</pre> | ||
</div> | ||
</td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td id="kube-prometheus-stack--grafana--enabled"><a href="./values.yaml#L11">kube-prometheus-stack.grafana.enabled</a></td> | ||
<td> | ||
bool | ||
</td> | ||
<td> | ||
<div style="max-width: 300px;"> | ||
<pre lang="json"> | ||
false | ||
</pre> | ||
</div> | ||
</td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td id="kube-prometheus-stack--grafana--sidecar--dashboards--enableNewTablePanelSyntax"><a href="./values.yaml#L15">kube-prometheus-stack.grafana.sidecar.dashboards.enableNewTablePanelSyntax</a></td> | ||
<td> | ||
bool | ||
</td> | ||
<td> | ||
<div style="max-width: 300px;"> | ||
<pre lang="json"> | ||
true | ||
</pre> | ||
</div> | ||
</td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td id="kube-prometheus-stack--kubeDns--enabled"><a href="./values.yaml#L18">kube-prometheus-stack.kubeDns.enabled</a></td> | ||
<td> | ||
bool | ||
</td> | ||
<td> | ||
<div style="max-width: 300px;"> | ||
<pre lang="json"> | ||
false | ||
</pre> | ||
</div> | ||
</td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td id="kube-prometheus-stack--prometheusOperator--resources--limits--cpu"><a href="./values.yaml#L29">kube-prometheus-stack.prometheusOperator.resources.limits.cpu</a></td> | ||
<td> | ||
int | ||
</td> | ||
<td> | ||
<div style="max-width: 300px;"> | ||
<pre lang="json"> | ||
1 | ||
</pre> | ||
</div> | ||
</td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td id="kube-prometheus-stack--prometheusOperator--resources--limits--memory"><a href="./values.yaml#L30">kube-prometheus-stack.prometheusOperator.resources.limits.memory</a></td> | ||
<td> | ||
string | ||
</td> | ||
<td> | ||
<div style="max-width: 300px;"> | ||
<pre lang="json"> | ||
"512Mi" | ||
</pre> | ||
</div> | ||
</td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td id="kube-prometheus-stack--prometheusOperator--resources--requests--cpu"><a href="./values.yaml#L32">kube-prometheus-stack.prometheusOperator.resources.requests.cpu</a></td> | ||
<td> | ||
string | ||
</td> | ||
<td> | ||
<div style="max-width: 300px;"> | ||
<pre lang="json"> | ||
"30m" | ||
</pre> | ||
</div> | ||
</td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td id="kube-prometheus-stack--prometheusOperator--resources--requests--memory"><a href="./values.yaml#L33">kube-prometheus-stack.prometheusOperator.resources.requests.memory</a></td> | ||
<td> | ||
string | ||
</td> | ||
<td> | ||
<div style="max-width: 300px;"> | ||
<pre lang="json"> | ||
"50Mi" | ||
</pre> | ||
</div> | ||
</td> | ||
<td></td> | ||
</tr> | ||
<tr> | ||
<td id="kube-prometheus-stack--prometheusOperator--secretFieldSelector"><a href="./values.yaml#L25">kube-prometheus-stack.prometheusOperator.secretFieldSelector</a></td> | ||
<td> | ||
string | ||
</td> | ||
<td> | ||
<div style="max-width: 300px;"> | ||
<pre lang="json"> | ||
"type!=kubernetes.io/dockercfg,type!=kubernetes.io/service-account-token,type!=helm.sh/release.v1" | ||
</pre> | ||
</div> | ||
</td> | ||
<td></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
---------------------------------------------- | ||
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) |
Binary file added
BIN
+416 KB
...ddons/observability/victoria-metrics-operator/charts/victoria-metrics-operator-0.36.0.tgz
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
ops/Helm/addons/observability/victoria-metrics-operator/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,5 @@ | ||
CHART NAME: {{ .Chart.Name }} | ||
CHART VERSION: {{ .Chart.Version }} | ||
APP VERSION: {{ .Chart.AppVersion }} | ||
|
||
** Please be patient while the chart is being deployed ** |
13 changes: 13 additions & 0 deletions
13
ops/Helm/addons/observability/victoria-metrics-operator/templates/limit_range.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,13 @@ | ||
apiVersion: v1 | ||
kind: LimitRange | ||
metadata: | ||
name: mem-limit-range | ||
spec: | ||
limits: | ||
- default: | ||
memory: 2Gi | ||
cpu: 1500m | ||
defaultRequest: | ||
memory: 64Mi | ||
cpu: 100m | ||
type: Container |
28 changes: 28 additions & 0 deletions
28
ops/Helm/addons/observability/victoria-metrics-operator/templates/vm_auth.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,28 @@ | ||
apiVersion: operator.victoriametrics.com/v1beta1 | ||
kind: VMAuth | ||
metadata: | ||
name: router-main | ||
spec: | ||
podMetadata: | ||
labels: | ||
component: vmauth | ||
userSelector: {} | ||
userNamespaceSelector: {} | ||
replicaCount: 2 | ||
resources: | ||
requests: | ||
cpu: "250m" | ||
memory: "350Mi" | ||
limits: | ||
cpu: "500m" | ||
memory: "850Mi" | ||
ingress: | ||
tlsSecretName: vmauth-tls | ||
annotations: | ||
cert-manager.io/cluster-issuer: cert-manager-production | ||
nginx.ingress.kubernetes.io/backend-protocol: HTTP | ||
nginx.ingress.kubernetes.io/enable-owasp-core-rules: "true" | ||
nginx.ingress.kubernetes.io/enable-opentelemetry: "true" | ||
class_name: nginx | ||
tlsHosts: | ||
- vm.shortlink.best |
14 changes: 14 additions & 0 deletions
14
ops/Helm/addons/observability/victoria-metrics-operator/templates/vm_service_scrape.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,14 @@ | ||
apiVersion: operator.victoriametrics.com/v1beta1 | ||
kind: VMServiceScrape | ||
metadata: | ||
name: vmoperator | ||
spec: | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/instance: vm-operator | ||
app.kubernetes.io/name: victoria-metrics-operator | ||
endpoints: | ||
- port: metrics | ||
{{/* namespaceSelector:*/}} | ||
{{/* matchNames:*/}} | ||
{{/* - vm*/}} |
12 changes: 12 additions & 0 deletions
12
ops/Helm/addons/observability/victoria-metrics-operator/templates/vm_user.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,12 @@ | ||
apiVersion: operator.victoriametrics.com/v1beta1 | ||
kind: VMUser | ||
metadata: | ||
name: user-1 | ||
spec: | ||
bearerToken: Asafs124142 | ||
targetRefs: | ||
- crd: | ||
kind: VMAgent | ||
name: base | ||
namespace: vm | ||
paths: ["/targets/api/v1","/targets","/metrics"] |
13 changes: 13 additions & 0 deletions
13
ops/Helm/addons/observability/victoria-metrics-operator/values.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,13 @@ | ||
# Common default values for prometheus-operator. | ||
# This is a YAML-formatted file. | ||
# Declare variables to be passed into your templates. | ||
|
||
victoria-metrics-operator: | ||
enabled: true | ||
|
||
env: | ||
- name: VM_PROMETHEUSCONVERTERADDARGOCDIGNOREANNOTATIONS | ||
value: true | ||
|
||
serviceMonitor: | ||
enabled: true |