diff --git a/index.yaml b/index.yaml index 76f7902..f4e6afc 100644 --- a/index.yaml +++ b/index.yaml @@ -3,12 +3,12 @@ entries: qryn-helm: - apiVersion: v2 appVersion: 3.0.20 - created: "2024-01-19T13:58:29.590936467+02:00" + created: "2024-01-19T17:42:18.747476874+02:00" description: A Helm chart for Kubernetes - digest: 976656c64571841f6ea2903f17d11bfc1b8a290dcae1e5875405ed97a21aeab9 + digest: 3cfcd29c85ebbeaf36c30ef4ac3b2625b5dd7bdf968de440760392da54071b64 name: qryn-helm type: application urls: - qryn-helm-0.1.0.tgz version: 0.1.0 -generated: "2024-01-19T13:58:29.590208069+02:00" +generated: "2024-01-19T17:42:18.746476674+02:00" diff --git a/qryn-helm-0.1.0.tgz b/qryn-helm-0.1.0.tgz index b6cddc1..d140636 100644 Binary files a/qryn-helm-0.1.0.tgz and b/qryn-helm-0.1.0.tgz differ diff --git a/qryn-helm/.helmignore b/qryn-helm/.helmignore deleted file mode 100644 index 0e8a0eb..0000000 --- a/qryn-helm/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# 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 -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ diff --git a/qryn-helm/Chart.yaml b/qryn-helm/Chart.yaml deleted file mode 100644 index 4df77b1..0000000 --- a/qryn-helm/Chart.yaml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: v2 -name: qryn-helm -description: A Helm chart for Kubernetes -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "3.0.20" diff --git a/qryn-helm/README.md b/qryn-helm/README.md deleted file mode 100644 index c1c5826..0000000 --- a/qryn-helm/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# Helm Chart for qryn - - - -## Overview -This Helm chart provides Kubernetes deployment configurations for [qryn](https://github.com/metrico/qryn) is a polyglot, lighweight, multi-standard observability framework for Logs, Metrics and Traces, designed to be drop-in compatible with Loki, Prometheus, Tempo and Opentelemetry. - -## Usage -To deploy [qryn](https://github.com/metrico/qryn) using this Helm chart, use the following command: - -```bash -helm install qryn-release qryn-helm -``` - -For customization, you can provide a `values.yaml` file or use `--set` flags to override specific configurations during installation. - - -Feel free to modify the configurations based on your requirements and environment. - -## ENV Settings -For more information about qryn environment variables, visit [qryn Environments](https://qryn.metrico.in/#/env). diff --git a/qryn-helm/templates/_helpers.tpl b/qryn-helm/templates/_helpers.tpl deleted file mode 100644 index e2772e8..0000000 --- a/qryn-helm/templates/_helpers.tpl +++ /dev/null @@ -1,79 +0,0 @@ -{{/* -Expand the name of the chart. -*/}} -{{- define "qryn-helm.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 "qryn-helm.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 chart name and version as used by the chart label. -*/}} -{{- define "qryn-helm.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Common labels -*/}} -{{- define "qryn-helm.labels" -}} -helm.sh/chart: {{ include "qryn-helm.chart" . }} -{{ include "qryn-helm.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end }} - -{{/* -Selector labels -*/}} -{{- define "qryn-helm.selectorLabels" -}} -app.kubernetes.io/name: {{ include "qryn-helm.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end }} - -{{/* -Create the name of the service account to use -*/}} -{{- define "qryn-helm.serviceAccountName" -}} -{{- if .Values.serviceAccount.create }} -{{- default (include "qryn-helm.fullname" .) .Values.serviceAccount.name }} -{{- else }} -{{- default "default" .Values.serviceAccount.name }} -{{- end }} -{{- end }} - -{{/* -Creating Image Pull Secrets -*/}} -{{- define "imagePullSecret" }} -{{- with .Values.imageCredentials }} -{{- printf "{\"auths\":{\"%s\":{\"username\":\"%s\",\"password\":\"%s\",\"email\":\"%s\",\"auth\":\"%s\"}}}" .registry .username .password .email (printf "%s:%s" .username .password | b64enc) | b64enc }} -{{- end }} -{{- end }} - -{{- define "helm.secretName" -}} -{{- if .Values.imagePullSecrets.nameOverride }} -{{- .Values.imagePullSecrets.nameOverride }} -{{- else }} -{{- printf "%s-regcred" .Release.Name | trunc 63 | trimSuffix "-" }} -{{- end }} -{{- end }} \ No newline at end of file diff --git a/qryn-helm/templates/qryn-deployment.yaml b/qryn-helm/templates/qryn-deployment.yaml deleted file mode 100644 index 2e3a86c..0000000 --- a/qryn-helm/templates/qryn-deployment.yaml +++ /dev/null @@ -1,49 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ include "qryn-helm.fullname" . }} - labels: - {{- include "qryn-helm.labels" . | nindent 4 }} -spec: - replicas: {{ .Values.replicas }} - selector: - matchLabels: - {{- include "qryn-helm.selectorLabels" . | nindent 6 }} - template: - metadata: - labels: - {{- include "qryn-helm.selectorLabels" . | nindent 8 }} - spec: - securityContext: - {{- toYaml .Values.podSecurityContext | nindent 8 }} - containers: - - image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" - name: {{ include "qryn-helm.fullname" . }} - imagePullSecrets: - - name: {{ include "helm.secretName" . }} - env: - {{- range $key, $val := .Values.env }} - - name: {{ $key }} - value: "{{ $val }}" - {{- end }} - - ports: - - name: http - containerPort: {{ .Values.service.port }} - protocol: TCP - - livenessProbe: - httpGet: - path: /ready - port: http - initialDelaySeconds: 10 #Default 0 - periodSeconds: 10 #Default 10 - timeoutSeconds: 1 #Default 1 - successThreshold: 1 #Default 1 - failureThreshold: 3 #Default 3 - - resources: - {{- toYaml .Values.resources | nindent 12 }} - - - restartPolicy: Always \ No newline at end of file diff --git a/qryn-helm/templates/qryn-hpa.yaml b/qryn-helm/templates/qryn-hpa.yaml deleted file mode 100644 index 8b6fead..0000000 --- a/qryn-helm/templates/qryn-hpa.yaml +++ /dev/null @@ -1,32 +0,0 @@ -{{- if .Values.autoscaling.enabled }} -apiVersion: autoscaling/v2 -kind: HorizontalPodAutoscaler -metadata: - name: {{ include "qryn-helm.fullname" . }} - labels: - {{- include "qryn-helm.labels" . | nindent 4 }} -spec: - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: {{ include "qryn-helm.fullname" . }} - minReplicas: {{ .Values.autoscaling.minReplicas }} - maxReplicas: {{ .Values.autoscaling.maxReplicas }} - metrics: - {{- if .Values.autoscaling.targetCPUUtilizationPercentage }} - - type: Resource - resource: - name: cpu - target: - type: Utilization - averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} - {{- end }} - {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }} - - type: Resource - resource: - name: memory - target: - type: Utilization - averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} - {{- end }} -{{- end }} diff --git a/qryn-helm/templates/qryn-ingress.yaml b/qryn-helm/templates/qryn-ingress.yaml deleted file mode 100644 index 802c694..0000000 --- a/qryn-helm/templates/qryn-ingress.yaml +++ /dev/null @@ -1,61 +0,0 @@ -{{- if .Values.ingress.enabled -}} -{{- $fullName := include "qryn-helm.fullname" . -}} -{{- $svcPort := .Values.service.port -}} -{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} - {{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }} - {{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}} - {{- end }} -{{- end }} -{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} -apiVersion: networking.k8s.io/v1 -{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} -apiVersion: networking.k8s.io/v1beta1 -{{- else -}} -apiVersion: extensions/v1beta1 -{{- end }} -kind: Ingress -metadata: - name: {{ $fullName }} - labels: - {{- include "qryn-helm.labels" . | nindent 4 }} - {{- with .Values.ingress.annotations }} - annotations: - {{- toYaml . | nindent 4 }} - {{- end }} -spec: - {{- if and .Values.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }} - ingressClassName: {{ .Values.ingress.className }} - {{- end }} - {{- if .Values.ingress.tls }} - tls: - {{- range .Values.ingress.tls }} - - hosts: - {{- range .hosts }} - - {{ . | quote }} - {{- end }} - secretName: {{ .secretName }} - {{- end }} - {{- end }} - rules: - {{- range .Values.ingress.hosts }} - - host: {{ .host | quote }} - http: - paths: - {{- range .paths }} - - path: {{ .path }} - {{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }} - pathType: {{ .pathType }} - {{- end }} - backend: - {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} - service: - name: {{ $fullName }} - port: - number: {{ $svcPort }} - {{- else }} - serviceName: {{ $fullName }} - servicePort: {{ $svcPort }} - {{- end }} - {{- end }} - {{- end }} -{{- end }} diff --git a/qryn-helm/templates/qryn-service.yaml b/qryn-helm/templates/qryn-service.yaml deleted file mode 100644 index 9156505..0000000 --- a/qryn-helm/templates/qryn-service.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: {{ include "qryn-helm.fullname" . }} - labels: - {{- include "qryn-helm.labels" . | nindent 4 }} -spec: - type: {{ .Values.type }} - selector: - {{- include "qryn-helm.selectorLabels" . | nindent 4 }} - ports: - - port: {{ .Values.service.port }} - targetPort: http - protocol: TCP - name: http \ No newline at end of file diff --git a/qryn-helm/values.yaml b/qryn-helm/values.yaml deleted file mode 100644 index 43e8f3a..0000000 --- a/qryn-helm/values.yaml +++ /dev/null @@ -1,107 +0,0 @@ -kubernetesClusterDomain: cluster.local - -image: - repository: qxip/qryn - tag: 3.0.30-bun - -imagePullSecrets: - nameOverride: "" -nameOverride: "" -fullnameOverride: "" - -imageCredentials: {} -# imageCredentials: -# registry: registry.cluster.local -# username: someone -# password: sillyness -# email: someone@host.com - - -replicas: 1 - -service: - type: ClusterIP - port: 3100 - -podAnnotations: {} -# podLabels: {} -podLabels: - - qryn -nodeSelector: {} - -tolerations: [] - -affinity: {} - - -resources: - limits: - cpu: 200m - memory: 256Mi - requests: - cpu: 100m - memory: 128Mi - -autoscaling: - enabled: true - minReplicas: 1 - maxReplicas: 5 - targetCPUUtilizationPercentage: 80 - targetMemoryUtilizationPercentage: 80 - -securityContext: {} - # capabilities: - # drop: - # - ALL - # readOnlyRootFilesystem: true - # runAsNonRoot: true - # runAsUser: 1000 - -ingress: - enabled: false - className: "" - annotations: {} - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - hosts: - - host: chart-example.local - paths: - - path: / - pathType: ImplementationSpecific - tls: [] - # - secretName: chart-example-tls - # hosts: - # - chart-example.local - -env: - CLICKHOUSE_SERVER: "localhost" - CLICKHOUSE_PORT: "8123" - CLICKHOUSE_DB: "qryn" - CLICKHOUSE_AUTH: "default:" - CLICKHOUSE_PROTO: "http" - CLICKHOUSE_TIMEFIELD: "record_datetime" - # CLUSTER_NAME: "" - BULK_MAXAGE: "2000" - BULK_MAXSIZE: "5000" - BULK_MAXCACHE: "50000" - LABELS_DAYS: "7" - SAMPLES_DAYS: "7" - HOST: "0.0.0.0" - PORT: "3100" - # QRYN_LOGIN: "" - # QRYN_PASSWORD: "" - READONLY: "false" - OMIT_CREATE_TABLES: "false" - FASTIFY_BODYLIMIT: "5242880" - FASTIFY_REQUESTTIMEOUT: "0" - FASTIFY_MAXREQUESTS: "0" - FASTIFY_METRICS: "false" - ADVANCED_PROMETHEUS_MAX_SAMPLES: "5000000" - CORS_ALLOW_ORIGIN: "*" - TEMPO_SPAN: "24" - TEMPO_TAGTRACE: "false" - DEBUG: "false" - LOG_LEVEL: "info" - HASH: "xxhash64" - ALERTMAN_URL: "false" - ADVANCED_SAMPLES_ORDERING: "timestamp_ns" \ No newline at end of file