diff --git a/charts/incubator/victoriametrics/.helmignore b/charts/incubator/victoriametrics/.helmignore new file mode 100644 index 00000000000..77ca5567b26 --- /dev/null +++ b/charts/incubator/victoriametrics/.helmignore @@ -0,0 +1,30 @@ +# 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 +.vscode/ +# OWNERS file for Kubernetes +OWNERS +# helm-docs templates +*.gotmpl +# docs folder +/docs +# icon +icon.png diff --git a/charts/incubator/victoriametrics/Chart.yaml b/charts/incubator/victoriametrics/Chart.yaml new file mode 100644 index 00000000000..6061f6e3328 --- /dev/null +++ b/charts/incubator/victoriametrics/Chart.yaml @@ -0,0 +1,38 @@ +annotations: + max_scale_version: 24.04.0 + min_scale_version: 23.10.0 + truecharts.org/SCALE-support: "true" + truecharts.org/category: database + truecharts.org/max_helm_version: "3.14" + truecharts.org/min_helm_version: "3.11" + truecharts.org/train: incubator +apiVersion: v2 +appVersion: 1.99.0 +dependencies: + - name: common + version: 20.2.10 + repository: oci://tccr.io/truecharts + condition: "" + alias: "" + tags: [] + import-values: [] +deprecated: false +description: Fast, cost-effective monitoring solution and time series database +home: https://truecharts.org/charts/incubator/victoriametrics +icon: https://truecharts.org/img/hotlink-ok/chart-icons/victoriametrics.png +keywords: + - victoriametrics + - database + - metrics +kubeVersion: '>=1.24.0-0' +maintainers: + - name: TrueCharts + email: info@truecharts.org + url: https://truecharts.org +name: victoriametrics +sources: + - https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master + - https://github.com/truecharts/charts/tree/master/charts/incubator/victoriametrics + - https://hub.docker.com/r/victoriametrics/victoria-metrics +type: application +version: 0.0.1 diff --git a/charts/incubator/victoriametrics/README.md b/charts/incubator/victoriametrics/README.md new file mode 100644 index 00000000000..9d1f129a49f --- /dev/null +++ b/charts/incubator/victoriametrics/README.md @@ -0,0 +1,28 @@ +--- +title: README +--- + +## General Info + +TrueCharts can be installed as both _normal_ Helm Charts or as Apps on TrueNAS SCALE. +However only installations using the TrueNAS SCALE Apps system are supported. + +For more information about this App, please check the docs on the TrueCharts [website](https://truecharts.org/charts/incubator/victoriametrics) + +**This chart is not maintained by the upstream project and any issues with the chart should be raised [here](https://github.com/truecharts/charts/issues/new/choose)** + +## Support + +- Please check our [quick-start guides for TrueNAS SCALE](https://truecharts.org/manual/SCALE/guides/scale-intro). +- See the [Website](https://truecharts.org) +- Check our [Discord](https://discord.gg/tVsPTHWTtr) +- Open a [issue](https://github.com/truecharts/charts/issues/new/choose) + +--- + +## Sponsor TrueCharts + +TrueCharts can only exist due to the incredible effort of our staff. +Please consider making a [donation](https://truecharts.org/sponsor) or contributing back to the project any way you can! + +_All Rights Reserved - The TrueCharts Project_ diff --git a/charts/incubator/victoriametrics/icon.png b/charts/incubator/victoriametrics/icon.png new file mode 100644 index 00000000000..c7e18344b2c Binary files /dev/null and b/charts/incubator/victoriametrics/icon.png differ diff --git a/charts/incubator/victoriametrics/questions.yaml b/charts/incubator/victoriametrics/questions.yaml new file mode 100644 index 00000000000..f97568b0ae4 --- /dev/null +++ b/charts/incubator/victoriametrics/questions.yaml @@ -0,0 +1,90 @@ +# Include{groups} +portals: + open: +# Include{portalLink} +questions: +# Include{global} +# Include{workload} +# Include{workloadDeployment} +# Include{replicas1} +# Include{podSpec} +# Include{containerMain} +# Include{containerBasic} +# Include{containerAdvanced} +# Include{containerConfig} +# Include{podOptions} +# Include{serviceRoot} + - variable: main + label: Main Service + description: The Primary service on which the healthcheck runs, often the webUI + schema: + additional_attrs: true + type: dict + attrs: +# Include{serviceSelectorLoadBalancer} +# Include{serviceSelectorExtras} + - variable: main + label: "Main Service Port Configuration" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: "Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 8428 + required: true +# Include{serviceExpertRoot} +# Include{serviceExpert} +# Include{serviceList} +# Include{persistenceRoot} + - variable: data + label: "App Data Storage" + description: "Stores the Application Data." + schema: + additional_attrs: true + type: dict + attrs: +# Include{persistenceBasic} +# Include{persistenceList} +# Include{ingressRoot} + - variable: main + label: "Main Ingress" + schema: + additional_attrs: true + type: dict + attrs: +# Include{ingressDefault} +# Include{ingressAdvanced} +# Include{ingressList} +# Include{securityContextRoot} + - variable: runAsUser + label: "runAsUser" + description: "The UserID of the user running the application" + schema: + type: int + default: 568 + - variable: runAsGroup + label: "runAsGroup" + description: "The groupID of the user running the application" + schema: + type: int + default: 568 +# Include{securityContextContainer} +# Include{securityContextAdvanced} +# Include{securityContextPod} + - variable: fsGroup + label: "fsGroup" + description: "The group that should own ALL storage." + schema: + type: int + default: 568 +# Include{resources} +# Include{advanced} +# Include{addons} +# Include{codeserver} +# Include{netshoot} +# Include{vpn} +# Include{documentation} diff --git a/charts/incubator/victoriametrics/templates/NOTES.txt b/charts/incubator/victoriametrics/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/victoriametrics/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/victoriametrics/templates/common.yaml b/charts/incubator/victoriametrics/templates/common.yaml new file mode 100644 index 00000000000..78d963fb168 --- /dev/null +++ b/charts/incubator/victoriametrics/templates/common.yaml @@ -0,0 +1,2 @@ +{{/* Render the templates */}} +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/victoriametrics/values.yaml b/charts/incubator/victoriametrics/values.yaml new file mode 100644 index 00000000000..1bbecb87bfe --- /dev/null +++ b/charts/incubator/victoriametrics/values.yaml @@ -0,0 +1,32 @@ +image: + repository: victoriametrics/victoria-metrics + tag: v1.99.0@sha256:e3e18b05a2c056ac2daa0215b284f0583dcb47c8a0db2965a8eaf9f219535734 + pullPolicy: IfNotPresent +service: + main: + ports: + main: + port: 8428 + targetPort: 8428 +persistence: + data: + enabled: true + mountPath: /victoria-metrics-data + targetSelectAll: true +portal: + open: + enabled: true +workload: + main: + podSpec: + containers: + main: + probes: + liveness: + type: http + path: /health + readiness: + type: http + path: /health + startup: + enabled: false