diff --git a/charts/vector/Chart.yaml b/charts/vector/Chart.yaml index 272512c..4edd773 100644 --- a/charts/vector/Chart.yaml +++ b/charts/vector/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: vector -version: "0.2.0" +version: "0.2.1" kubeVersion: ">=1.15.0-0" description: A lightweight, ultra-fast tool for building observability pipelines type: application diff --git a/charts/vector/README.md b/charts/vector/README.md index 66ac2e4..bb11675 100644 --- a/charts/vector/README.md +++ b/charts/vector/README.md @@ -1,6 +1,6 @@ # Vector -![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.18.0-distroless-libc](https://img.shields.io/badge/AppVersion-0.18.0--distroless--libc-informational?style=flat-square) +![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.18.0-distroless-libc](https://img.shields.io/badge/AppVersion-0.18.0--distroless--libc-informational?style=flat-square) [Vector](https://vector.dev/) is a high-performance, end-to-end observability data pipeline that puts you in control of your observability data. Collect, transform, and route all your logs, metrics, and traces to any vendors you want today and any other vendors you may want tomorrow. Vector enables dramatic cost reduction, novel data enrichment, and data security where you need it, not where is most convenient for your vendors. diff --git a/charts/vector/templates/hpa.yaml b/charts/vector/templates/hpa.yaml index 44ec0b1..3bed5e3 100644 --- a/charts/vector/templates/hpa.yaml +++ b/charts/vector/templates/hpa.yaml @@ -18,21 +18,21 @@ spec: minReplicas: {{ .Values.autoscaling.minReplicas }} maxReplicas: {{ .Values.autoscaling.maxReplicas }} metrics: - {{- if .Values.autoscaling.targetCPUUtilizationPercentage }} + {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }} - type: Resource resource: - name: cpu + name: memory target: type: Utilization - averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} + averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} {{- end }} - {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }} + {{- if .Values.autoscaling.targetCPUUtilizationPercentage }} - type: Resource resource: - name: memory + name: cpu target: type: Utilization - averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} + averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} {{- end }} {{- with .Values.autoscaling.customMetric -}} {{ toYaml . | nindent 4 }}