From d305fe3c548f9e2262a65e9b064e47d054bfa724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=9B=D0=B0=D0=BB?= =?UTF-8?q?=D0=B0=D0=B5=D0=B2?= Date: Fri, 19 Jan 2024 17:44:05 +0200 Subject: [PATCH] rebuild with new README.md --- index.yaml | 6 +- qryn-helm-0.1.0.tgz | Bin 3933 -> 5292 bytes qryn-helm/.helmignore | 23 ----- qryn-helm/Chart.yaml | 21 ----- qryn-helm/README.md | 21 ----- qryn-helm/templates/_helpers.tpl | 79 ----------------- qryn-helm/templates/qryn-deployment.yaml | 49 ----------- qryn-helm/templates/qryn-hpa.yaml | 32 ------- qryn-helm/templates/qryn-ingress.yaml | 61 ------------- qryn-helm/templates/qryn-service.yaml | 15 ---- qryn-helm/values.yaml | 107 ----------------------- 11 files changed, 3 insertions(+), 411 deletions(-) delete mode 100644 qryn-helm/.helmignore delete mode 100644 qryn-helm/Chart.yaml delete mode 100644 qryn-helm/README.md delete mode 100644 qryn-helm/templates/_helpers.tpl delete mode 100644 qryn-helm/templates/qryn-deployment.yaml delete mode 100644 qryn-helm/templates/qryn-hpa.yaml delete mode 100644 qryn-helm/templates/qryn-ingress.yaml delete mode 100644 qryn-helm/templates/qryn-service.yaml delete mode 100644 qryn-helm/values.yaml 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 b6cddc127b4de19095c9a5ab933b0f6fec8432dd..d1406368b7af4387ee04c9e56b28cf5b7ef81f80 100644 GIT binary patch delta 5281 zcmV;S6khAy9;_*lJAZtAbK5r3c>ewIQ|wRfP2-$JQ}XL+E;o;2tBI$w<&)&}a&5x_%dwH(GPY{=7dXoNdo`b z7fz1jIEVZD`hUl9s{cE!qy1;C{ey${L2JL&YCm&YdoAba8GkrmT9CRF3rYAh=MVF$ zR_;%dNJQTv7nFq^ShOt?McL0i+p*h@<)Lsnjik=&!W;Aha8+M{DdX^CJV73!L}7&_ zzz$>`%96_nJ3ykyr!GbC*e%hN*s%aOModu2__6~Z?r5~DdXNPm z$;_CHJ*PQ|!vy0p_WcpM9Hmgm%0vtn$T{_}1C55Yk}-{aekQ;*~Sb!`k~1r zPbQeuFaKo$G__&1LgwKJeRL(`8px8&N1jso`B%##(k zxKZ4JwtwRU`d5H~ZqoL_;W^dK{2@kBf^Ah{TkYd>YFQ+fOt{3S;Y>keNG3jd9gsXm z3m~B3u%IGdd6+0;KeW)5%S9SI^IlaT>BMMTaMV1uACIjnzDOD&7jr9RT_>f5;X(nO^v_Oy zd^5Nj^{z*~;oIJ@0}TzK$TZ3TmxJNB1C8TWd#_S*`l zD!t)gJm^4UE@f0H8lRo_emLv(Pdm`y=zlWqU3)~Lq=9aVEja04jmEv<^+or*m$d(@ ztNxGI=iPsGU#pz9<2c3K(b>OM_CY24q=a>Cn zIq%J2q;%of`k%^4w4+Ru5%HhHcNf?F!Rxb&M8G8LvO606G#H*Hxx-%fba2ss*MEVA z?%67DaDFzvJ{k79Nj?6-$5Uj>cy{yt{riIDOYYJ3muw58C_f<71~-Jna4R zsy7-dRSvGSu*K5z?!OX%(MnNoJUlxovFx6{?OvSpPF0(o_r`B}S0hE?I#ErkKvVUT z!Ekil?e_;iT@Qw5y8i#K@j{i1dw=JbgX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revu2Febs9Z^PRsFm`R+x zvY)o7pl;JaFT%N-$G=zZXv_$|bboUGPU9&k8NT{kft)IoHG7J$%!-_)V*?2V*U0TR zbM?kvbN68Xu-qY{0)f&e%+{TQkXDXbO`(PfBU2mYL~&72i!qdFVBHKMDLwCgz^Lyz+MP96FDx%XFyR*&tmJ+{a8 V*uGZ#zW@LL|Nk!`{yP9j0075O!-@a^ 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