From 375a029360fb0aa53d214cdde088ebc287a07e97 Mon Sep 17 00:00:00 2001 From: Chris Mooney Date: Tue, 17 Aug 2021 14:12:16 -0400 Subject: [PATCH 01/26] Adding namespace to all resources Signed-off-by: chrism417 <57097380+chrism417@users.noreply.github.com> --- .../templates/compactor/deployment-compactor.yaml | 1 + .../compactor/persistentvolumeclaim-compactor.yaml | 1 + .../templates/compactor/service-compactor.yaml | 1 + .../templates/compactor/serviceaccount-compactor.yaml | 1 + charts/loki-distributed/templates/configmap.yaml | 1 + .../templates/distributor/deployment-distributor.yaml | 1 + .../distributor/poddisruptionbudget-distributor.yaml | 1 + .../templates/distributor/service-distributor.yaml | 1 + .../templates/gateway/configmap-gateway.yaml | 1 + .../templates/gateway/deployment-gateway.yaml | 1 + .../loki-distributed/templates/gateway/ingress-gateway.yaml | 1 + .../templates/gateway/poddisruptionbudget-gateway.yaml | 1 + .../loki-distributed/templates/gateway/secret-gateway.yaml | 1 + .../loki-distributed/templates/gateway/service-gateway.yaml | 1 + .../templates/ingester/poddisruptionbudget-ingester.yaml | 1 + .../templates/ingester/service-ingester-headless.yaml | 1 + .../templates/ingester/service-ingester.yaml | 1 + .../templates/ingester/statefulset-ingester.yaml | 1 + .../poddisruptionbudget-memcached-chunks.yaml | 1 + .../memcached-chunks/service-memcached-chunks.yaml | 1 + .../memcached-chunks/statefulset-memcached-chunks.yaml | 1 + .../poddisruptionbudget-memcached-frontend.yaml | 1 + .../memcached-frontend/service-memcached-frontend.yaml | 1 + .../memcached-frontend/statefulset-memcached-frontend.yaml | 1 + .../poddisruptionbudget-memcached-index-queries.yaml | 1 + .../service-memcached-index-queries.yaml | 1 + .../statefulset-memcached-index-queries.yaml | 1 + .../poddisruptionbudget-memcached-index-writes.yaml | 1 + .../service-memcached-index-writes.yaml | 1 + .../statefulset-memcached-index-writes.yaml | 1 + charts/loki-distributed/templates/networkpolicy.yaml | 6 ++++++ charts/loki-distributed/templates/podsecuritypolicy.yaml | 1 + .../templates/querier/poddisruptionbudget-querier.yaml | 1 + .../templates/querier/service-querier-headless.yaml | 1 + .../loki-distributed/templates/querier/service-querier.yaml | 1 + .../templates/querier/statefulset-querier.yaml | 1 + .../templates/query-frontend/deployment-query-frontend.yaml | 1 + .../query-frontend/poddisruptionbudget-query-frontent.yaml | 1 + .../templates/query-frontend/service-query-frontend.yaml | 1 + charts/loki-distributed/templates/role.yaml | 1 + charts/loki-distributed/templates/rolebinding.yaml | 2 ++ .../loki-distributed/templates/ruler/configmap-ruler.yaml | 1 + .../loki-distributed/templates/ruler/deployment-ruler.yaml | 1 + .../templates/ruler/persistentvolumeclaim-ruler.yaml | 1 + .../templates/ruler/poddisruptionbudget-ruler.yaml | 1 + charts/loki-distributed/templates/ruler/service-ruler.yaml | 1 + charts/loki-distributed/templates/service-memberlist.yaml | 1 + charts/loki-distributed/templates/serviceaccount.yaml | 1 + .../templates/table-manager/deployment-table-manager.yaml | 1 + .../templates/table-manager/service-table-manager.yaml | 1 + 50 files changed, 56 insertions(+) diff --git a/charts/loki-distributed/templates/compactor/deployment-compactor.yaml b/charts/loki-distributed/templates/compactor/deployment-compactor.yaml index a57817c9d6..532535f4ff 100644 --- a/charts/loki-distributed/templates/compactor/deployment-compactor.yaml +++ b/charts/loki-distributed/templates/compactor/deployment-compactor.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "loki.compactorFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.compactorLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/compactor/persistentvolumeclaim-compactor.yaml b/charts/loki-distributed/templates/compactor/persistentvolumeclaim-compactor.yaml index 3170fe6dc9..8c32f20115 100644 --- a/charts/loki-distributed/templates/compactor/persistentvolumeclaim-compactor.yaml +++ b/charts/loki-distributed/templates/compactor/persistentvolumeclaim-compactor.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: data-{{ include "loki.compactorFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.compactorLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/compactor/service-compactor.yaml b/charts/loki-distributed/templates/compactor/service-compactor.yaml index 05c79f057f..0ee9a762bc 100644 --- a/charts/loki-distributed/templates/compactor/service-compactor.yaml +++ b/charts/loki-distributed/templates/compactor/service-compactor.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.compactorFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} {{- with .Values.compactor.serviceLabels }} diff --git a/charts/loki-distributed/templates/compactor/serviceaccount-compactor.yaml b/charts/loki-distributed/templates/compactor/serviceaccount-compactor.yaml index 7b961c0770..9c949bd492 100644 --- a/charts/loki-distributed/templates/compactor/serviceaccount-compactor.yaml +++ b/charts/loki-distributed/templates/compactor/serviceaccount-compactor.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: ServiceAccount metadata: name: {{ include "loki.compactorServiceAccountName" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} {{- with .Values.compactor.serviceAccount.annotations }} diff --git a/charts/loki-distributed/templates/configmap.yaml b/charts/loki-distributed/templates/configmap.yaml index 2d895cea51..1cf1a806d8 100644 --- a/charts/loki-distributed/templates/configmap.yaml +++ b/charts/loki-distributed/templates/configmap.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ include "loki.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} data: diff --git a/charts/loki-distributed/templates/distributor/deployment-distributor.yaml b/charts/loki-distributed/templates/distributor/deployment-distributor.yaml index 17aa0104ad..5b8a254f1b 100644 --- a/charts/loki-distributed/templates/distributor/deployment-distributor.yaml +++ b/charts/loki-distributed/templates/distributor/deployment-distributor.yaml @@ -2,6 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "loki.distributorFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.distributorLabels" . | nindent 4 }} app.kubernetes.io/part-of: memberlist diff --git a/charts/loki-distributed/templates/distributor/poddisruptionbudget-distributor.yaml b/charts/loki-distributed/templates/distributor/poddisruptionbudget-distributor.yaml index 029d3359de..0fb45ba814 100644 --- a/charts/loki-distributed/templates/distributor/poddisruptionbudget-distributor.yaml +++ b/charts/loki-distributed/templates/distributor/poddisruptionbudget-distributor.yaml @@ -3,6 +3,7 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.distributorFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.distributorLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/distributor/service-distributor.yaml b/charts/loki-distributed/templates/distributor/service-distributor.yaml index 963c2f4bbd..37626107c3 100644 --- a/charts/loki-distributed/templates/distributor/service-distributor.yaml +++ b/charts/loki-distributed/templates/distributor/service-distributor.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.distributorFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.distributorLabels" . | nindent 4 }} {{- with .Values.distributor.serviceLabels }} diff --git a/charts/loki-distributed/templates/gateway/configmap-gateway.yaml b/charts/loki-distributed/templates/gateway/configmap-gateway.yaml index 9d99b3ed00..1eb3e2e4f4 100644 --- a/charts/loki-distributed/templates/gateway/configmap-gateway.yaml +++ b/charts/loki-distributed/templates/gateway/configmap-gateway.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ include "loki.gatewayFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.gatewayLabels" . | nindent 4 }} data: diff --git a/charts/loki-distributed/templates/gateway/deployment-gateway.yaml b/charts/loki-distributed/templates/gateway/deployment-gateway.yaml index ae8e4c480a..4943b114c5 100644 --- a/charts/loki-distributed/templates/gateway/deployment-gateway.yaml +++ b/charts/loki-distributed/templates/gateway/deployment-gateway.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "loki.gatewayFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.gatewayLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/gateway/ingress-gateway.yaml b/charts/loki-distributed/templates/gateway/ingress-gateway.yaml index 9242a3e7bb..e45e7d05ea 100644 --- a/charts/loki-distributed/templates/gateway/ingress-gateway.yaml +++ b/charts/loki-distributed/templates/gateway/ingress-gateway.yaml @@ -7,6 +7,7 @@ apiVersion: {{ include "loki.ingress.apiVersion" . }} kind: Ingress metadata: name: {{ include "loki.gatewayFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.gatewayLabels" . | nindent 4 }} {{- with .Values.gateway.ingress.annotations }} diff --git a/charts/loki-distributed/templates/gateway/poddisruptionbudget-gateway.yaml b/charts/loki-distributed/templates/gateway/poddisruptionbudget-gateway.yaml index 98cd7aaee2..58fb131875 100644 --- a/charts/loki-distributed/templates/gateway/poddisruptionbudget-gateway.yaml +++ b/charts/loki-distributed/templates/gateway/poddisruptionbudget-gateway.yaml @@ -4,6 +4,7 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.gatewayFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.gatewayLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/gateway/secret-gateway.yaml b/charts/loki-distributed/templates/gateway/secret-gateway.yaml index f7cc8a6765..95bd717a09 100644 --- a/charts/loki-distributed/templates/gateway/secret-gateway.yaml +++ b/charts/loki-distributed/templates/gateway/secret-gateway.yaml @@ -4,6 +4,7 @@ apiVersion: v1 kind: Secret metadata: name: {{ include "loki.gatewayFullname" $ }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.gatewayLabels" $ | nindent 4 }} stringData: diff --git a/charts/loki-distributed/templates/gateway/service-gateway.yaml b/charts/loki-distributed/templates/gateway/service-gateway.yaml index 8e7b6c0111..0a1fa81d48 100644 --- a/charts/loki-distributed/templates/gateway/service-gateway.yaml +++ b/charts/loki-distributed/templates/gateway/service-gateway.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.gatewayFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.gatewayLabels" . | nindent 4 }} {{- with .Values.gateway.service.labels }} diff --git a/charts/loki-distributed/templates/ingester/poddisruptionbudget-ingester.yaml b/charts/loki-distributed/templates/ingester/poddisruptionbudget-ingester.yaml index 5dee04e60c..3ff507a15d 100644 --- a/charts/loki-distributed/templates/ingester/poddisruptionbudget-ingester.yaml +++ b/charts/loki-distributed/templates/ingester/poddisruptionbudget-ingester.yaml @@ -3,6 +3,7 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.ingesterFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.ingesterLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/ingester/service-ingester-headless.yaml b/charts/loki-distributed/templates/ingester/service-ingester-headless.yaml index 9576b56526..d5cf4c172b 100644 --- a/charts/loki-distributed/templates/ingester/service-ingester-headless.yaml +++ b/charts/loki-distributed/templates/ingester/service-ingester-headless.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.ingesterFullname" . }}-headless + namespace: {{ .Release.Namespace }} labels: {{- include "loki.ingesterSelectorLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/ingester/service-ingester.yaml b/charts/loki-distributed/templates/ingester/service-ingester.yaml index 8a5ef5339e..58a0f03c3e 100644 --- a/charts/loki-distributed/templates/ingester/service-ingester.yaml +++ b/charts/loki-distributed/templates/ingester/service-ingester.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.ingesterFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.ingesterLabels" . | nindent 4 }} {{- with .Values.ingester.serviceLabels }} diff --git a/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml b/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml index 163bc9d268..d242aaa1b1 100644 --- a/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml +++ b/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml @@ -2,6 +2,7 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "loki.ingesterFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.ingesterLabels" . | nindent 4 }} app.kubernetes.io/part-of: memberlist diff --git a/charts/loki-distributed/templates/memcached-chunks/poddisruptionbudget-memcached-chunks.yaml b/charts/loki-distributed/templates/memcached-chunks/poddisruptionbudget-memcached-chunks.yaml index 1fb656beda..6f871a1d98 100644 --- a/charts/loki-distributed/templates/memcached-chunks/poddisruptionbudget-memcached-chunks.yaml +++ b/charts/loki-distributed/templates/memcached-chunks/poddisruptionbudget-memcached-chunks.yaml @@ -3,6 +3,7 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.memcachedChunksFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedChunksLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/memcached-chunks/service-memcached-chunks.yaml b/charts/loki-distributed/templates/memcached-chunks/service-memcached-chunks.yaml index 82654eeb48..8038f52755 100644 --- a/charts/loki-distributed/templates/memcached-chunks/service-memcached-chunks.yaml +++ b/charts/loki-distributed/templates/memcached-chunks/service-memcached-chunks.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.memcachedChunksFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedChunksSelectorLabels" . | nindent 4 }} {{- with .Values.memcachedChunks.serviceLabels }} diff --git a/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml b/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml index 7d8e30aafc..a499e0fdf3 100644 --- a/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml +++ b/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "loki.memcachedChunksFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedChunksLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/memcached-frontend/poddisruptionbudget-memcached-frontend.yaml b/charts/loki-distributed/templates/memcached-frontend/poddisruptionbudget-memcached-frontend.yaml index 0cb5854e15..e241234bc0 100644 --- a/charts/loki-distributed/templates/memcached-frontend/poddisruptionbudget-memcached-frontend.yaml +++ b/charts/loki-distributed/templates/memcached-frontend/poddisruptionbudget-memcached-frontend.yaml @@ -3,6 +3,7 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.memcachedFrontendFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedFrontendLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/memcached-frontend/service-memcached-frontend.yaml b/charts/loki-distributed/templates/memcached-frontend/service-memcached-frontend.yaml index 4a2f5f283e..ed7c988498 100644 --- a/charts/loki-distributed/templates/memcached-frontend/service-memcached-frontend.yaml +++ b/charts/loki-distributed/templates/memcached-frontend/service-memcached-frontend.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.memcachedFrontendFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedFrontendSelectorLabels" . | nindent 4 }} {{- with .Values.memcachedFrontend.serviceLabels }} diff --git a/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml b/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml index a3a172d9f6..a22d9edadd 100644 --- a/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml +++ b/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "loki.memcachedFrontendFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedFrontendLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/memcached-index-queries/poddisruptionbudget-memcached-index-queries.yaml b/charts/loki-distributed/templates/memcached-index-queries/poddisruptionbudget-memcached-index-queries.yaml index 433945de2f..03325a37b4 100644 --- a/charts/loki-distributed/templates/memcached-index-queries/poddisruptionbudget-memcached-index-queries.yaml +++ b/charts/loki-distributed/templates/memcached-index-queries/poddisruptionbudget-memcached-index-queries.yaml @@ -3,6 +3,7 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.memcachedIndexQueriesFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedIndexQueriesLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/memcached-index-queries/service-memcached-index-queries.yaml b/charts/loki-distributed/templates/memcached-index-queries/service-memcached-index-queries.yaml index 571dab3db9..abbcf049c0 100644 --- a/charts/loki-distributed/templates/memcached-index-queries/service-memcached-index-queries.yaml +++ b/charts/loki-distributed/templates/memcached-index-queries/service-memcached-index-queries.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.memcachedIndexQueriesFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedIndexQueriesSelectorLabels" . | nindent 4 }} {{- with .Values.memcachedIndexQueries.serviceLabels }} diff --git a/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml b/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml index 1802c81095..28b2f6c9b5 100644 --- a/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml +++ b/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "loki.memcachedIndexQueriesFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedIndexQueriesLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/memcached-index-writes/poddisruptionbudget-memcached-index-writes.yaml b/charts/loki-distributed/templates/memcached-index-writes/poddisruptionbudget-memcached-index-writes.yaml index 71d0d48795..c96a30f33b 100644 --- a/charts/loki-distributed/templates/memcached-index-writes/poddisruptionbudget-memcached-index-writes.yaml +++ b/charts/loki-distributed/templates/memcached-index-writes/poddisruptionbudget-memcached-index-writes.yaml @@ -3,6 +3,7 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.memcachedIndexWritesFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedIndexWritesLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/memcached-index-writes/service-memcached-index-writes.yaml b/charts/loki-distributed/templates/memcached-index-writes/service-memcached-index-writes.yaml index fbf2f442c2..4a42d73fd8 100644 --- a/charts/loki-distributed/templates/memcached-index-writes/service-memcached-index-writes.yaml +++ b/charts/loki-distributed/templates/memcached-index-writes/service-memcached-index-writes.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.memcachedIndexWritesFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedIndexWritesSelectorLabels" . | nindent 4 }} {{- with .Values.memcachedIndexWrites.serviceLabels }} diff --git a/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml b/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml index c93befa764..0087ff3ecd 100644 --- a/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml +++ b/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "loki.memcachedIndexWritesFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedIndexWritesLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/networkpolicy.yaml b/charts/loki-distributed/templates/networkpolicy.yaml index 42abc01a02..952f26ea29 100644 --- a/charts/loki-distributed/templates/networkpolicy.yaml +++ b/charts/loki-distributed/templates/networkpolicy.yaml @@ -4,6 +4,7 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: {{ include "loki.name" . }}-namespace-only + namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: @@ -23,6 +24,7 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: {{ include "loki.name" . }}-egress-dns + namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: @@ -43,6 +45,7 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: {{ include "loki.name" . }}-ingress + namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: @@ -116,6 +119,7 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: {{ include "loki.name" . }}-egress-alertmanager + namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: @@ -145,6 +149,7 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: {{ include "loki.name" . }}-egress-external-storage + namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: @@ -176,6 +181,7 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: {{ include "loki.name" . }}-egress-discovery + namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/podsecuritypolicy.yaml b/charts/loki-distributed/templates/podsecuritypolicy.yaml index cf8a2e6ab7..60b11e3753 100644 --- a/charts/loki-distributed/templates/podsecuritypolicy.yaml +++ b/charts/loki-distributed/templates/podsecuritypolicy.yaml @@ -3,6 +3,7 @@ apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: name: {{ include "loki.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/querier/poddisruptionbudget-querier.yaml b/charts/loki-distributed/templates/querier/poddisruptionbudget-querier.yaml index dda35fc4da..62af1adbfd 100644 --- a/charts/loki-distributed/templates/querier/poddisruptionbudget-querier.yaml +++ b/charts/loki-distributed/templates/querier/poddisruptionbudget-querier.yaml @@ -3,6 +3,7 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.querierFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.querierLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/querier/service-querier-headless.yaml b/charts/loki-distributed/templates/querier/service-querier-headless.yaml index 9ed5b61aaa..e2044bd097 100644 --- a/charts/loki-distributed/templates/querier/service-querier-headless.yaml +++ b/charts/loki-distributed/templates/querier/service-querier-headless.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.querierFullname" . }}-headless + namespace: {{ .Release.Namespace }} labels: {{- include "loki.querierSelectorLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/querier/service-querier.yaml b/charts/loki-distributed/templates/querier/service-querier.yaml index 07fe64c64f..1e1cbc0b10 100644 --- a/charts/loki-distributed/templates/querier/service-querier.yaml +++ b/charts/loki-distributed/templates/querier/service-querier.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.querierFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.querierLabels" . | nindent 4 }} {{- with .Values.querier.serviceLabels }} diff --git a/charts/loki-distributed/templates/querier/statefulset-querier.yaml b/charts/loki-distributed/templates/querier/statefulset-querier.yaml index 4b2d5f7dc6..df4b3d4b08 100644 --- a/charts/loki-distributed/templates/querier/statefulset-querier.yaml +++ b/charts/loki-distributed/templates/querier/statefulset-querier.yaml @@ -2,6 +2,7 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "loki.querierFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.querierLabels" . | nindent 4 }} app.kubernetes.io/part-of: memberlist diff --git a/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml b/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml index fb18a6d59f..fc56bf58ce 100644 --- a/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml +++ b/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml @@ -2,6 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "loki.queryFrontendFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.queryFrontendLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/query-frontend/poddisruptionbudget-query-frontent.yaml b/charts/loki-distributed/templates/query-frontend/poddisruptionbudget-query-frontent.yaml index 61cd56e110..5ff6a0106f 100644 --- a/charts/loki-distributed/templates/query-frontend/poddisruptionbudget-query-frontent.yaml +++ b/charts/loki-distributed/templates/query-frontend/poddisruptionbudget-query-frontent.yaml @@ -3,6 +3,7 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.queryFrontendFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.queryFrontendLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/query-frontend/service-query-frontend.yaml b/charts/loki-distributed/templates/query-frontend/service-query-frontend.yaml index a701a10269..986b0455e4 100644 --- a/charts/loki-distributed/templates/query-frontend/service-query-frontend.yaml +++ b/charts/loki-distributed/templates/query-frontend/service-query-frontend.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.queryFrontendFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.queryFrontendLabels" . | nindent 4 }} {{- with .Values.queryFrontend.serviceLabels }} diff --git a/charts/loki-distributed/templates/role.yaml b/charts/loki-distributed/templates/role.yaml index 9ea22abd08..dbdba77944 100644 --- a/charts/loki-distributed/templates/role.yaml +++ b/charts/loki-distributed/templates/role.yaml @@ -3,6 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: {{ include "loki.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} rules: diff --git a/charts/loki-distributed/templates/rolebinding.yaml b/charts/loki-distributed/templates/rolebinding.yaml index cb881b315e..90401915a0 100644 --- a/charts/loki-distributed/templates/rolebinding.yaml +++ b/charts/loki-distributed/templates/rolebinding.yaml @@ -3,6 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: {{ include "loki.fullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} roleRef: @@ -12,4 +13,5 @@ roleRef: subjects: - kind: ServiceAccount name: {{ include "loki.serviceAccountName" . }} + namespace: {{ .Release.Namespace }} {{- end }} diff --git a/charts/loki-distributed/templates/ruler/configmap-ruler.yaml b/charts/loki-distributed/templates/ruler/configmap-ruler.yaml index c0599d5431..d54672135d 100644 --- a/charts/loki-distributed/templates/ruler/configmap-ruler.yaml +++ b/charts/loki-distributed/templates/ruler/configmap-ruler.yaml @@ -5,6 +5,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ include "loki.rulerFullname" $ }}-{{ include "loki.rulerRulesDirName" $dir }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.rulerLabels" $ | nindent 4 }} data: diff --git a/charts/loki-distributed/templates/ruler/deployment-ruler.yaml b/charts/loki-distributed/templates/ruler/deployment-ruler.yaml index a7fc700461..a5d6ad724d 100644 --- a/charts/loki-distributed/templates/ruler/deployment-ruler.yaml +++ b/charts/loki-distributed/templates/ruler/deployment-ruler.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "loki.rulerFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.rulerLabels" . | nindent 4 }} app.kubernetes.io/part-of: memberlist diff --git a/charts/loki-distributed/templates/ruler/persistentvolumeclaim-ruler.yaml b/charts/loki-distributed/templates/ruler/persistentvolumeclaim-ruler.yaml index e51e76efe5..ff323eb33d 100644 --- a/charts/loki-distributed/templates/ruler/persistentvolumeclaim-ruler.yaml +++ b/charts/loki-distributed/templates/ruler/persistentvolumeclaim-ruler.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: data-{{ include "loki.rulerFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.rulerLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/ruler/poddisruptionbudget-ruler.yaml b/charts/loki-distributed/templates/ruler/poddisruptionbudget-ruler.yaml index e1df528961..d9d906c9ed 100644 --- a/charts/loki-distributed/templates/ruler/poddisruptionbudget-ruler.yaml +++ b/charts/loki-distributed/templates/ruler/poddisruptionbudget-ruler.yaml @@ -4,6 +4,7 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.rulerFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.rulerLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/ruler/service-ruler.yaml b/charts/loki-distributed/templates/ruler/service-ruler.yaml index 329a71d762..9887e83809 100644 --- a/charts/loki-distributed/templates/ruler/service-ruler.yaml +++ b/charts/loki-distributed/templates/ruler/service-ruler.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.rulerFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.rulerSelectorLabels" . | nindent 4 }} {{- with .Values.ruler.serviceLabels }} diff --git a/charts/loki-distributed/templates/service-memberlist.yaml b/charts/loki-distributed/templates/service-memberlist.yaml index d370810096..14a97933c2 100644 --- a/charts/loki-distributed/templates/service-memberlist.yaml +++ b/charts/loki-distributed/templates/service-memberlist.yaml @@ -2,6 +2,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.fullname" . }}-memberlist + namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/serviceaccount.yaml b/charts/loki-distributed/templates/serviceaccount.yaml index 676adad207..f2f17ae4bb 100644 --- a/charts/loki-distributed/templates/serviceaccount.yaml +++ b/charts/loki-distributed/templates/serviceaccount.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: ServiceAccount metadata: name: {{ include "loki.serviceAccountName" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} {{- with .Values.serviceAccount.annotations }} diff --git a/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml b/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml index f754d4752e..a85fbcba62 100644 --- a/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml +++ b/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "loki.tableManagerFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.tableManagerLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/table-manager/service-table-manager.yaml b/charts/loki-distributed/templates/table-manager/service-table-manager.yaml index af626e57b8..1df8ba21da 100644 --- a/charts/loki-distributed/templates/table-manager/service-table-manager.yaml +++ b/charts/loki-distributed/templates/table-manager/service-table-manager.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.fullname" . }}-table-manager + namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} {{- with .Values.tableManager.serviceLabels }} From 13d609f373638628cef3dcf3e88f40dd5c9c813a Mon Sep 17 00:00:00 2001 From: cmooney Date: Thu, 19 Aug 2021 14:24:04 -0400 Subject: [PATCH 02/26] Version bump Signed-off-by: cmooney --- charts/loki-distributed/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/loki-distributed/Chart.yaml b/charts/loki-distributed/Chart.yaml index d669cfa734..43b1ef78c6 100644 --- a/charts/loki-distributed/Chart.yaml +++ b/charts/loki-distributed/Chart.yaml @@ -3,7 +3,7 @@ name: loki-distributed description: Helm chart for Grafana Loki in microservices mode type: application appVersion: 2.3.0 -version: 0.36.0 +version: 0.37.0 home: https://grafana.github.io/helm-charts sources: - https://github.com/grafana/loki From 326d67e2188e487eb39ac02b543dc7b952e241df Mon Sep 17 00:00:00 2001 From: cmooney Date: Thu, 19 Aug 2021 15:17:29 -0400 Subject: [PATCH 03/26] Removed namespace from secret-gateway Signed-off-by: cmooney --- charts/loki-distributed/templates/gateway/secret-gateway.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/charts/loki-distributed/templates/gateway/secret-gateway.yaml b/charts/loki-distributed/templates/gateway/secret-gateway.yaml index 95bd717a09..f7cc8a6765 100644 --- a/charts/loki-distributed/templates/gateway/secret-gateway.yaml +++ b/charts/loki-distributed/templates/gateway/secret-gateway.yaml @@ -4,7 +4,6 @@ apiVersion: v1 kind: Secret metadata: name: {{ include "loki.gatewayFullname" $ }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.gatewayLabels" $ | nindent 4 }} stringData: From 0cbb78faa8e92d9ee538773a84bdeeff65b1be66 Mon Sep 17 00:00:00 2001 From: cmooney Date: Fri, 20 Aug 2021 20:09:09 -0400 Subject: [PATCH 04/26] Updated helm-docs Signed-off-by: cmooney --- charts/loki-distributed/helm.md | 96 ++++++++++++ charts/loki-distributed/helm_completion.md | 49 ++++++ .../loki-distributed/helm_completion_bash.md | 60 ++++++++ .../loki-distributed/helm_completion_zsh.md | 57 +++++++ charts/loki-distributed/helm_create.md | 69 +++++++++ charts/loki-distributed/helm_dependency.md | 94 ++++++++++++ .../loki-distributed/helm_dependency_build.md | 60 ++++++++ .../loki-distributed/helm_dependency_list.md | 56 +++++++ .../helm_dependency_update.md | 65 ++++++++ charts/loki-distributed/helm_env.md | 51 ++++++ charts/loki-distributed/helm_get.md | 58 +++++++ charts/loki-distributed/helm_get_all.md | 54 +++++++ charts/loki-distributed/helm_get_hooks.md | 54 +++++++ charts/loki-distributed/helm_get_manifest.md | 56 +++++++ charts/loki-distributed/helm_get_notes.md | 52 +++++++ charts/loki-distributed/helm_get_values.md | 54 +++++++ charts/loki-distributed/helm_history.md | 65 ++++++++ charts/loki-distributed/helm_install.md | 145 ++++++++++++++++++ charts/loki-distributed/helm_lint.md | 62 ++++++++ charts/loki-distributed/helm_list.md | 89 +++++++++++ charts/loki-distributed/helm_package.md | 70 +++++++++ charts/loki-distributed/helm_plugin.md | 51 ++++++ .../loki-distributed/helm_plugin_install.md | 52 +++++++ charts/loki-distributed/helm_plugin_list.md | 49 ++++++ .../loki-distributed/helm_plugin_uninstall.md | 49 ++++++ charts/loki-distributed/helm_plugin_update.md | 49 ++++++ charts/loki-distributed/helm_pull.md | 77 ++++++++++ charts/loki-distributed/helm_repo.md | 54 +++++++ charts/loki-distributed/helm_repo_add.md | 56 +++++++ charts/loki-distributed/helm_repo_index.md | 60 ++++++++ charts/loki-distributed/helm_repo_list.md | 50 ++++++ charts/loki-distributed/helm_repo_remove.md | 49 ++++++ charts/loki-distributed/helm_repo_update.md | 52 +++++++ charts/loki-distributed/helm_rollback.md | 64 ++++++++ charts/loki-distributed/helm_search.md | 51 ++++++ charts/loki-distributed/helm_search_hub.md | 62 ++++++++ charts/loki-distributed/helm_search_repo.md | 76 +++++++++ charts/loki-distributed/helm_show.md | 51 ++++++ charts/loki-distributed/helm_show_all.md | 63 ++++++++ charts/loki-distributed/helm_show_chart.md | 63 ++++++++ charts/loki-distributed/helm_show_readme.md | 63 ++++++++ charts/loki-distributed/helm_show_values.md | 63 ++++++++ charts/loki-distributed/helm_status.md | 60 ++++++++ charts/loki-distributed/helm_template.md | 92 +++++++++++ charts/loki-distributed/helm_test.md | 56 +++++++ charts/loki-distributed/helm_uninstall.md | 62 ++++++++ charts/loki-distributed/helm_upgrade.md | 107 +++++++++++++ charts/loki-distributed/helm_verify.md | 59 +++++++ charts/loki-distributed/helm_version.md | 72 +++++++++ 49 files changed, 3128 insertions(+) create mode 100644 charts/loki-distributed/helm.md create mode 100644 charts/loki-distributed/helm_completion.md create mode 100644 charts/loki-distributed/helm_completion_bash.md create mode 100644 charts/loki-distributed/helm_completion_zsh.md create mode 100644 charts/loki-distributed/helm_create.md create mode 100644 charts/loki-distributed/helm_dependency.md create mode 100644 charts/loki-distributed/helm_dependency_build.md create mode 100644 charts/loki-distributed/helm_dependency_list.md create mode 100644 charts/loki-distributed/helm_dependency_update.md create mode 100644 charts/loki-distributed/helm_env.md create mode 100644 charts/loki-distributed/helm_get.md create mode 100644 charts/loki-distributed/helm_get_all.md create mode 100644 charts/loki-distributed/helm_get_hooks.md create mode 100644 charts/loki-distributed/helm_get_manifest.md create mode 100644 charts/loki-distributed/helm_get_notes.md create mode 100644 charts/loki-distributed/helm_get_values.md create mode 100644 charts/loki-distributed/helm_history.md create mode 100644 charts/loki-distributed/helm_install.md create mode 100644 charts/loki-distributed/helm_lint.md create mode 100644 charts/loki-distributed/helm_list.md create mode 100644 charts/loki-distributed/helm_package.md create mode 100644 charts/loki-distributed/helm_plugin.md create mode 100644 charts/loki-distributed/helm_plugin_install.md create mode 100644 charts/loki-distributed/helm_plugin_list.md create mode 100644 charts/loki-distributed/helm_plugin_uninstall.md create mode 100644 charts/loki-distributed/helm_plugin_update.md create mode 100644 charts/loki-distributed/helm_pull.md create mode 100644 charts/loki-distributed/helm_repo.md create mode 100644 charts/loki-distributed/helm_repo_add.md create mode 100644 charts/loki-distributed/helm_repo_index.md create mode 100644 charts/loki-distributed/helm_repo_list.md create mode 100644 charts/loki-distributed/helm_repo_remove.md create mode 100644 charts/loki-distributed/helm_repo_update.md create mode 100644 charts/loki-distributed/helm_rollback.md create mode 100644 charts/loki-distributed/helm_search.md create mode 100644 charts/loki-distributed/helm_search_hub.md create mode 100644 charts/loki-distributed/helm_search_repo.md create mode 100644 charts/loki-distributed/helm_show.md create mode 100644 charts/loki-distributed/helm_show_all.md create mode 100644 charts/loki-distributed/helm_show_chart.md create mode 100644 charts/loki-distributed/helm_show_readme.md create mode 100644 charts/loki-distributed/helm_show_values.md create mode 100644 charts/loki-distributed/helm_status.md create mode 100644 charts/loki-distributed/helm_template.md create mode 100644 charts/loki-distributed/helm_test.md create mode 100644 charts/loki-distributed/helm_uninstall.md create mode 100644 charts/loki-distributed/helm_upgrade.md create mode 100644 charts/loki-distributed/helm_verify.md create mode 100644 charts/loki-distributed/helm_version.md diff --git a/charts/loki-distributed/helm.md b/charts/loki-distributed/helm.md new file mode 100644 index 0000000000..9bbca57341 --- /dev/null +++ b/charts/loki-distributed/helm.md @@ -0,0 +1,96 @@ +## helm + +The Helm package manager for Kubernetes. + +### Synopsis + +The Kubernetes package manager + +Common actions for Helm: + +- helm search: search for charts +- helm pull: download a chart to your local directory to view +- helm install: upload the chart to Kubernetes +- helm list: list releases of charts + +Environment variables: + +| Name | Description | +|------------------------------------|-----------------------------------------------------------------------------------| +| $HELM_CACHE_HOME | set an alternative location for storing cached files. | +| $HELM_CONFIG_HOME | set an alternative location for storing Helm configuration. | +| $HELM_DATA_HOME | set an alternative location for storing Helm data. | +| $HELM_DRIVER | set the backend storage driver. Values are: configmap, secret, memory, postgres | +| $HELM_DRIVER_SQL_CONNECTION_STRING | set the connection string the SQL storage driver should use. | +| $HELM_NO_PLUGINS | disable plugins. Set HELM_NO_PLUGINS=1 to disable plugins. | +| $KUBECONFIG | set an alternative Kubernetes configuration file (default "~/.kube/config") | + +Helm stores cache, configuration, and data based on the following configuration order: + +- If a HELM_*_HOME environment variable is set, it will be used +- Otherwise, on systems supporting the XDG base directory specification, the XDG variables will be used +- When no other location is set a default location will be used based on the operating system + +By default, the default directories depend on the Operating System. The defaults are listed below: + +| Operating System | Cache Path | Configuration Path | Data Path | +|------------------|---------------------------|--------------------------------|-------------------------| +| Linux | $HOME/.cache/helm | $HOME/.config/helm | $HOME/.local/share/helm | +| macOS | $HOME/Library/Caches/helm | $HOME/Library/Preferences/helm | $HOME/Library/helm | +| Windows | %TEMP%\helm | %APPDATA%\helm | %APPDATA%\helm | + + +### Options + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + -h, --help help for helm + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm completion](helm_completion.md) - generate autocompletions script for the specified shell +* [helm create](helm_create.md) - create a new chart with the given name +* [helm dependency](helm_dependency.md) - manage a chart's dependencies +* [helm env](helm_env.md) - helm client environment information +* [helm get](helm_get.md) - download extended information of a named release +* [helm history](helm_history.md) - fetch release history +* [helm install](helm_install.md) - install a chart +* [helm lint](helm_lint.md) - examine a chart for possible issues +* [helm list](helm_list.md) - list releases +* [helm package](helm_package.md) - package a chart directory into a chart archive +* [helm plugin](helm_plugin.md) - install, list, or uninstall Helm plugins +* [helm pull](helm_pull.md) - download a chart from a repository and (optionally) unpack it in local directory +* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories +* [helm rollback](helm_rollback.md) - roll back a release to a previous revision +* [helm search](helm_search.md) - search for a keyword in charts +* [helm show](helm_show.md) - show information of a chart +* [helm status](helm_status.md) - display the status of the named release +* [helm template](helm_template.md) - locally render templates +* [helm test](helm_test.md) - run tests for a release +* [helm uninstall](helm_uninstall.md) - uninstall a release +* [helm upgrade](helm_upgrade.md) - upgrade a release +* [helm verify](helm_verify.md) - verify that a chart at the given path has been signed and is valid +* [helm version](helm_version.md) - print the client version information + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_completion.md b/charts/loki-distributed/helm_completion.md new file mode 100644 index 0000000000..7afb252a75 --- /dev/null +++ b/charts/loki-distributed/helm_completion.md @@ -0,0 +1,49 @@ +## helm completion + +generate autocompletions script for the specified shell + +### Synopsis + + +Generate autocompletions script for Helm for the specified shell. + + +### Options + +``` + -h, --help help for completion +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. +* [helm completion bash](helm_completion_bash.md) - generate autocompletions script for bash +* [helm completion zsh](helm_completion_zsh.md) - generate autocompletions script for zsh + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_completion_bash.md b/charts/loki-distributed/helm_completion_bash.md new file mode 100644 index 0000000000..c63769f33f --- /dev/null +++ b/charts/loki-distributed/helm_completion_bash.md @@ -0,0 +1,60 @@ +## helm completion bash + +generate autocompletions script for bash + +### Synopsis + + +Generate the autocompletion script for Helm for the bash shell. + +To load completions in your current shell session: +$ source <(helm completion bash) + +To load completions for every new session, execute once: +Linux: + $ helm completion bash > /etc/bash_completion.d/helm +MacOS: + $ helm completion bash > /usr/local/etc/bash_completion.d/helm + + +``` +helm completion bash +``` + +### Options + +``` + -h, --help help for bash +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm completion](helm_completion.md) - generate autocompletions script for the specified shell + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_completion_zsh.md b/charts/loki-distributed/helm_completion_zsh.md new file mode 100644 index 0000000000..5779a0ec89 --- /dev/null +++ b/charts/loki-distributed/helm_completion_zsh.md @@ -0,0 +1,57 @@ +## helm completion zsh + +generate autocompletions script for zsh + +### Synopsis + + +Generate the autocompletion script for Helm for the zsh shell. + +To load completions in your current shell session: +$ source <(helm completion zsh) + +To load completions for every new session, execute once: +$ helm completion zsh > "${fpath[1]}/_helm" + + +``` +helm completion zsh +``` + +### Options + +``` + -h, --help help for zsh +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm completion](helm_completion.md) - generate autocompletions script for the specified shell + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_create.md b/charts/loki-distributed/helm_create.md new file mode 100644 index 0000000000..3d281b65b9 --- /dev/null +++ b/charts/loki-distributed/helm_create.md @@ -0,0 +1,69 @@ +## helm create + +create a new chart with the given name + +### Synopsis + + +This command creates a chart directory along with the common files and +directories used in a chart. + +For example, 'helm create foo' will create a directory structure that looks +something like this: + + foo/ + ├── .helmignore # Contains patterns to ignore when packaging Helm charts. + ├── Chart.yaml # Information about your chart + ├── values.yaml # The default values for your templates + ├── charts/ # Charts that this chart depends on + └── templates/ # The template files + └── tests/ # The test files + +'helm create' takes a path for an argument. If directories in the given path +do not exist, Helm will attempt to create them as it goes. If the given +destination exists and there are files in that directory, conflicting files +will be overwritten, but other files will be left alone. + + +``` +helm create NAME [flags] +``` + +### Options + +``` + -h, --help help for create + -p, --starter string the name or absolute path to Helm starter scaffold +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_dependency.md b/charts/loki-distributed/helm_dependency.md new file mode 100644 index 0000000000..0f938cee0b --- /dev/null +++ b/charts/loki-distributed/helm_dependency.md @@ -0,0 +1,94 @@ +## helm dependency + +manage a chart's dependencies + +### Synopsis + + +Manage the dependencies of a chart. + +Helm charts store their dependencies in 'charts/'. For chart developers, it is +often easier to manage dependencies in 'Chart.yaml' which declares all +dependencies. + +The dependency commands operate on that file, making it easy to synchronize +between the desired dependencies and the actual dependencies stored in the +'charts/' directory. + +For example, this Chart.yaml declares two dependencies: + + # Chart.yaml + dependencies: + - name: nginx + version: "1.2.3" + repository: "https://example.com/charts" + - name: memcached + version: "3.2.1" + repository: "https://another.example.com/charts" + + +The 'name' should be the name of a chart, where that name must match the name +in that chart's 'Chart.yaml' file. + +The 'version' field should contain a semantic version or version range. + +The 'repository' URL should point to a Chart Repository. Helm expects that by +appending '/index.yaml' to the URL, it should be able to retrieve the chart +repository's index. Note: 'repository' can be an alias. The alias must start +with 'alias:' or '@'. + +Starting from 2.2.0, repository can be defined as the path to the directory of +the dependency charts stored locally. The path should start with a prefix of +"file://". For example, + + # Chart.yaml + dependencies: + - name: nginx + version: "1.2.3" + repository: "file://../dependency_chart/nginx" + +If the dependency chart is retrieved locally, it is not required to have the +repository added to helm by "helm add repo". Version matching is also supported +for this case. + + +### Options + +``` + -h, --help help for dependency +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. +* [helm dependency build](helm_dependency_build.md) - rebuild the charts/ directory based on the Chart.lock file +* [helm dependency list](helm_dependency_list.md) - list the dependencies for the given chart +* [helm dependency update](helm_dependency_update.md) - update charts/ based on the contents of Chart.yaml + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_dependency_build.md b/charts/loki-distributed/helm_dependency_build.md new file mode 100644 index 0000000000..da7e75fe1f --- /dev/null +++ b/charts/loki-distributed/helm_dependency_build.md @@ -0,0 +1,60 @@ +## helm dependency build + +rebuild the charts/ directory based on the Chart.lock file + +### Synopsis + + +Build out the charts/ directory from the Chart.lock file. + +Build is used to reconstruct a chart's dependencies to the state specified in +the lock file. This will not re-negotiate dependencies, as 'helm dependency update' +does. + +If no lock file is found, 'helm dependency build' will mirror the behavior +of 'helm dependency update'. + + +``` +helm dependency build CHART [flags] +``` + +### Options + +``` + -h, --help help for build + --keyring string keyring containing public keys (default "/Users/cmooney/.gnupg/pubring.gpg") + --verify verify the packages against signatures +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm dependency](helm_dependency.md) - manage a chart's dependencies + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_dependency_list.md b/charts/loki-distributed/helm_dependency_list.md new file mode 100644 index 0000000000..ef924d6c45 --- /dev/null +++ b/charts/loki-distributed/helm_dependency_list.md @@ -0,0 +1,56 @@ +## helm dependency list + +list the dependencies for the given chart + +### Synopsis + + +List all of the dependencies declared in a chart. + +This can take chart archives and chart directories as input. It will not alter +the contents of a chart. + +This will produce an error if the chart cannot be loaded. + + +``` +helm dependency list CHART [flags] +``` + +### Options + +``` + -h, --help help for list +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm dependency](helm_dependency.md) - manage a chart's dependencies + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_dependency_update.md b/charts/loki-distributed/helm_dependency_update.md new file mode 100644 index 0000000000..9ec19da330 --- /dev/null +++ b/charts/loki-distributed/helm_dependency_update.md @@ -0,0 +1,65 @@ +## helm dependency update + +update charts/ based on the contents of Chart.yaml + +### Synopsis + + +Update the on-disk dependencies to mirror Chart.yaml. + +This command verifies that the required charts, as expressed in 'Chart.yaml', +are present in 'charts/' and are at an acceptable version. It will pull down +the latest charts that satisfy the dependencies, and clean up old dependencies. + +On successful update, this will generate a lock file that can be used to +rebuild the dependencies to an exact version. + +Dependencies are not required to be represented in 'Chart.yaml'. For that +reason, an update command will not remove charts unless they are (a) present +in the Chart.yaml file, but (b) at the wrong version. + + +``` +helm dependency update CHART [flags] +``` + +### Options + +``` + -h, --help help for update + --keyring string keyring containing public keys (default "/Users/cmooney/.gnupg/pubring.gpg") + --skip-refresh do not refresh the local repository cache + --verify verify the packages against signatures +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm dependency](helm_dependency.md) - manage a chart's dependencies + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_env.md b/charts/loki-distributed/helm_env.md new file mode 100644 index 0000000000..6450059703 --- /dev/null +++ b/charts/loki-distributed/helm_env.md @@ -0,0 +1,51 @@ +## helm env + +helm client environment information + +### Synopsis + + +Env prints out all the environment information in use by Helm. + + +``` +helm env [flags] +``` + +### Options + +``` + -h, --help help for env +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_get.md b/charts/loki-distributed/helm_get.md new file mode 100644 index 0000000000..dda0b4e0f2 --- /dev/null +++ b/charts/loki-distributed/helm_get.md @@ -0,0 +1,58 @@ +## helm get + +download extended information of a named release + +### Synopsis + + +This command consists of multiple subcommands which can be used to +get extended information about the release, including: + +- The values used to generate the release +- The generated manifest file +- The notes provided by the chart of the release +- The hooks associated with the release + + +### Options + +``` + -h, --help help for get +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. +* [helm get all](helm_get_all.md) - download all information for a named release +* [helm get hooks](helm_get_hooks.md) - download all hooks for a named release +* [helm get manifest](helm_get_manifest.md) - download the manifest for a named release +* [helm get notes](helm_get_notes.md) - download the notes for a named release +* [helm get values](helm_get_values.md) - download the values file for a named release + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_get_all.md b/charts/loki-distributed/helm_get_all.md new file mode 100644 index 0000000000..35944bb9b5 --- /dev/null +++ b/charts/loki-distributed/helm_get_all.md @@ -0,0 +1,54 @@ +## helm get all + +download all information for a named release + +### Synopsis + + +This command prints a human readable collection of information about the +notes, hooks, supplied values, and generated manifest file of the given release. + + +``` +helm get all RELEASE_NAME [flags] +``` + +### Options + +``` + -h, --help help for all + --revision int get the named release with revision + --template string go template for formatting the output, eg: {{.Release.Name}} +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm get](helm_get.md) - download extended information of a named release + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_get_hooks.md b/charts/loki-distributed/helm_get_hooks.md new file mode 100644 index 0000000000..8fc5fb6860 --- /dev/null +++ b/charts/loki-distributed/helm_get_hooks.md @@ -0,0 +1,54 @@ +## helm get hooks + +download all hooks for a named release + +### Synopsis + + +This command downloads hooks for a given release. + +Hooks are formatted in YAML and separated by the YAML '---\n' separator. + + +``` +helm get hooks RELEASE_NAME [flags] +``` + +### Options + +``` + -h, --help help for hooks + --revision int get the named release with revision +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm get](helm_get.md) - download extended information of a named release + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_get_manifest.md b/charts/loki-distributed/helm_get_manifest.md new file mode 100644 index 0000000000..0e0909fb10 --- /dev/null +++ b/charts/loki-distributed/helm_get_manifest.md @@ -0,0 +1,56 @@ +## helm get manifest + +download the manifest for a named release + +### Synopsis + + +This command fetches the generated manifest for a given release. + +A manifest is a YAML-encoded representation of the Kubernetes resources that +were generated from this release's chart(s). If a chart is dependent on other +charts, those resources will also be included in the manifest. + + +``` +helm get manifest RELEASE_NAME [flags] +``` + +### Options + +``` + -h, --help help for manifest + --revision int get the named release with revision +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm get](helm_get.md) - download extended information of a named release + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_get_notes.md b/charts/loki-distributed/helm_get_notes.md new file mode 100644 index 0000000000..59752e2177 --- /dev/null +++ b/charts/loki-distributed/helm_get_notes.md @@ -0,0 +1,52 @@ +## helm get notes + +download the notes for a named release + +### Synopsis + + +This command shows notes provided by the chart of a named release. + + +``` +helm get notes RELEASE_NAME [flags] +``` + +### Options + +``` + -h, --help help for notes + --revision int get the named release with revision +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm get](helm_get.md) - download extended information of a named release + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_get_values.md b/charts/loki-distributed/helm_get_values.md new file mode 100644 index 0000000000..bcfe92e3bb --- /dev/null +++ b/charts/loki-distributed/helm_get_values.md @@ -0,0 +1,54 @@ +## helm get values + +download the values file for a named release + +### Synopsis + + +This command downloads a values file for a given release. + + +``` +helm get values RELEASE_NAME [flags] +``` + +### Options + +``` + -a, --all dump all (computed) values + -h, --help help for values + -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) + --revision int get the named release with revision +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm get](helm_get.md) - download extended information of a named release + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_history.md b/charts/loki-distributed/helm_history.md new file mode 100644 index 0000000000..9c8a595cc4 --- /dev/null +++ b/charts/loki-distributed/helm_history.md @@ -0,0 +1,65 @@ +## helm history + +fetch release history + +### Synopsis + + +History prints historical revisions for a given release. + +A default maximum of 256 revisions will be returned. Setting '--max' +configures the maximum length of the revision list returned. + +The historical release set is printed as a formatted table, e.g: + + $ helm history angry-bird + REVISION UPDATED STATUS CHART APP VERSION DESCRIPTION + 1 Mon Oct 3 10:15:13 2016 superseded alpine-0.1.0 1.0 Initial install + 2 Mon Oct 3 10:15:13 2016 superseded alpine-0.1.0 1.0 Upgraded successfully + 3 Mon Oct 3 10:15:13 2016 superseded alpine-0.1.0 1.0 Rolled back to 2 + 4 Mon Oct 3 10:15:13 2016 deployed alpine-0.1.0 1.0 Upgraded successfully + + +``` +helm history RELEASE_NAME [flags] +``` + +### Options + +``` + -h, --help help for history + --max int maximum number of revision to include in history (default 256) + -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_install.md b/charts/loki-distributed/helm_install.md new file mode 100644 index 0000000000..34682ab4fe --- /dev/null +++ b/charts/loki-distributed/helm_install.md @@ -0,0 +1,145 @@ +## helm install + +install a chart + +### Synopsis + + +This command installs a chart archive. + +The install argument must be a chart reference, a path to a packaged chart, +a path to an unpacked chart directory or a URL. + +To override values in a chart, use either the '--values' flag and pass in a file +or use the '--set' flag and pass configuration from the command line, to force +a string value use '--set-string'. In case a value is large and therefore +you want not to use neither '--values' nor '--set', use '--set-file' to read the +single large value from file. + + $ helm install -f myvalues.yaml myredis ./redis + +or + + $ helm install --set name=prod myredis ./redis + +or + + $ helm install --set-string long_int=1234567890 myredis ./redis + +or + + $ helm install --set-file my_script=dothings.sh myredis ./redis + +You can specify the '--values'/'-f' flag multiple times. The priority will be given to the +last (right-most) file specified. For example, if both myvalues.yaml and override.yaml +contained a key called 'Test', the value set in override.yaml would take precedence: + + $ helm install -f myvalues.yaml -f override.yaml myredis ./redis + +You can specify the '--set' flag multiple times. The priority will be given to the +last (right-most) set specified. For example, if both 'bar' and 'newbar' values are +set for a key called 'foo', the 'newbar' value would take precedence: + + $ helm install --set foo=bar --set foo=newbar myredis ./redis + + +To check the generated manifests of a release without installing the chart, +the '--debug' and '--dry-run' flags can be combined. + +If --verify is set, the chart MUST have a provenance file, and the provenance +file MUST pass all verification steps. + +There are five different ways you can express the chart you want to install: + +1. By chart reference: helm install mymaria example/mariadb +2. By path to a packaged chart: helm install mynginx ./nginx-1.2.3.tgz +3. By path to an unpacked chart directory: helm install mynginx ./nginx +4. By absolute URL: helm install mynginx https://example.com/charts/nginx-1.2.3.tgz +5. By chart reference and repo url: helm install --repo https://example.com/charts/ mynginx nginx + +CHART REFERENCES + +A chart reference is a convenient way of referencing a chart in a chart repository. + +When you use a chart reference with a repo prefix ('example/mariadb'), Helm will look in the local +configuration for a chart repository named 'example', and will then look for a +chart in that repository whose name is 'mariadb'. It will install the latest stable version of that chart +until you specify '--devel' flag to also include development version (alpha, beta, and release candidate releases), or +supply a version number with the '--version' flag. + +To see the list of chart repositories, use 'helm repo list'. To search for +charts in a repository, use 'helm search'. + + +``` +helm install [NAME] [CHART] [flags] +``` + +### Options + +``` + --atomic if set, the installation process deletes the installation on failure. The --wait flag will be set automatically if --atomic is used + --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle + --cert-file string identify HTTPS client using this SSL certificate file + --create-namespace create the release namespace if not present + --dependency-update run helm dependency update before installing the chart + --description string add a custom description + --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored + --disable-openapi-validation if set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema + --dry-run simulate an install + -g, --generate-name generate the name (and omit the NAME parameter) + -h, --help help for install + --insecure-skip-tls-verify skip tls certificate checks for the chart download + --key-file string identify HTTPS client using this SSL key file + --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") + --name-template string specify template used to name the release + --no-hooks prevent hooks from running during install + -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) + --password string chart repository password where to locate the requested chart + --post-renderer postrenderer the path to an executable to be used for post rendering. If it exists in $PATH, the binary will be used, otherwise it will try to look for the executable at the given path (default exec) + --render-subchart-notes if set, render subchart notes along with the parent + --replace re-use the given name, only if that name is a deleted release which remains in the history. This is unsafe in production + --repo string chart repository url where to locate the requested chart + --set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) + --set-file stringArray set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2) + --set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) + --skip-crds if set, no CRDs will be installed. By default, CRDs are installed if not already present + --timeout duration time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s) + --username string chart repository username where to locate the requested chart + -f, --values strings specify values in a YAML file or a URL (can specify multiple) + --verify verify the package before using it + --version string specify the exact chart version to use. If this is not specified, the latest version is used + --wait if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_lint.md b/charts/loki-distributed/helm_lint.md new file mode 100644 index 0000000000..5948158bff --- /dev/null +++ b/charts/loki-distributed/helm_lint.md @@ -0,0 +1,62 @@ +## helm lint + +examine a chart for possible issues + +### Synopsis + + +This command takes a path to a chart and runs a series of tests to verify that +the chart is well-formed. + +If the linter encounters things that will cause the chart to fail installation, +it will emit [ERROR] messages. If it encounters issues that break with convention +or recommendation, it will emit [WARNING] messages. + + +``` +helm lint PATH [flags] +``` + +### Options + +``` + -h, --help help for lint + --set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) + --set-file stringArray set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2) + --set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) + --strict fail on lint warnings + -f, --values strings specify values in a YAML file or a URL (can specify multiple) + --with-subcharts lint dependent charts +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_list.md b/charts/loki-distributed/helm_list.md new file mode 100644 index 0000000000..1e0eeaf9ae --- /dev/null +++ b/charts/loki-distributed/helm_list.md @@ -0,0 +1,89 @@ +## helm list + +list releases + +### Synopsis + + +This command lists all of the releases for a specified namespace (uses current namespace context if namespace not specified). + +By default, it lists only releases that are deployed or failed. Flags like +'--uninstalled' and '--all' will alter this behavior. Such flags can be combined: +'--uninstalled --failed'. + +By default, items are sorted alphabetically. Use the '-d' flag to sort by +release date. + +If the --filter flag is provided, it will be treated as a filter. Filters are +regular expressions (Perl compatible) that are applied to the list of releases. +Only items that match the filter will be returned. + + $ helm list --filter 'ara[a-z]+' + NAME UPDATED CHART + maudlin-arachnid Mon May 9 16:07:08 2016 alpine-0.1.0 + +If no results are found, 'helm list' will exit 0, but with no output (or in +the case of no '-q' flag, only headers). + +By default, up to 256 items may be returned. To limit this, use the '--max' flag. +Setting '--max' to 0 will not return all results. Rather, it will return the +server's default, which may be much higher than 256. Pairing the '--max' +flag with the '--offset' flag allows you to page through results. + + +``` +helm list [flags] +``` + +### Options + +``` + -a, --all show all releases without any filter applied + -A, --all-namespaces list releases across all namespaces + -d, --date sort by release date + --deployed show deployed releases. If no other is specified, this will be automatically enabled + --failed show failed releases + -f, --filter string a regular expression (Perl compatible). Any releases that match the expression will be included in the results + -h, --help help for list + -m, --max int maximum number of releases to fetch (default 256) + --offset int next release name in the list, used to offset from start value + -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) + --pending show pending releases + -r, --reverse reverse the sort order + -q, --short output short (quiet) listing format + --superseded show superseded releases + --uninstalled show uninstalled releases (if 'helm uninstall --keep-history' was used) + --uninstalling show releases that are currently being uninstalled +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_package.md b/charts/loki-distributed/helm_package.md new file mode 100644 index 0000000000..44b8fb1848 --- /dev/null +++ b/charts/loki-distributed/helm_package.md @@ -0,0 +1,70 @@ +## helm package + +package a chart directory into a chart archive + +### Synopsis + + +This command packages a chart into a versioned chart archive file. If a path +is given, this will look at that path for a chart (which must contain a +Chart.yaml file) and then package that directory. + +Versioned chart archives are used by Helm package repositories. + +To sign a chart, use the '--sign' flag. In most cases, you should also +provide '--keyring path/to/secret/keys' and '--key keyname'. + + $ helm package --sign ./mychart --key mykey --keyring ~/.gnupg/secring.gpg + +If '--keyring' is not specified, Helm usually defaults to the public keyring +unless your environment is otherwise configured. + + +``` +helm package [CHART_PATH] [...] [flags] +``` + +### Options + +``` + --app-version string set the appVersion on the chart to this version + -u, --dependency-update update dependencies from "Chart.yaml" to dir "charts/" before packaging + -d, --destination string location to write the chart. (default ".") + -h, --help help for package + --key string name of the key to use when signing. Used if --sign is true + --keyring string location of a public keyring (default "/Users/cmooney/.gnupg/pubring.gpg") + --sign use a PGP private key to sign this package + --version string set the version on the chart to this semver version +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_plugin.md b/charts/loki-distributed/helm_plugin.md new file mode 100644 index 0000000000..e1a8c88d89 --- /dev/null +++ b/charts/loki-distributed/helm_plugin.md @@ -0,0 +1,51 @@ +## helm plugin + +install, list, or uninstall Helm plugins + +### Synopsis + + +Manage client-side Helm plugins. + + +### Options + +``` + -h, --help help for plugin +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. +* [helm plugin install](helm_plugin_install.md) - install one or more Helm plugins +* [helm plugin list](helm_plugin_list.md) - list installed Helm plugins +* [helm plugin uninstall](helm_plugin_uninstall.md) - uninstall one or more Helm plugins +* [helm plugin update](helm_plugin_update.md) - update one or more Helm plugins + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_plugin_install.md b/charts/loki-distributed/helm_plugin_install.md new file mode 100644 index 0000000000..3f8b6b7fd3 --- /dev/null +++ b/charts/loki-distributed/helm_plugin_install.md @@ -0,0 +1,52 @@ +## helm plugin install + +install one or more Helm plugins + +### Synopsis + + +This command allows you to install a plugin from a url to a VCS repo or a local path. + + +``` +helm plugin install [options] ... [flags] +``` + +### Options + +``` + -h, --help help for install + --version string specify a version constraint. If this is not specified, the latest version is installed +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm plugin](helm_plugin.md) - install, list, or uninstall Helm plugins + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_plugin_list.md b/charts/loki-distributed/helm_plugin_list.md new file mode 100644 index 0000000000..8a1d8695ab --- /dev/null +++ b/charts/loki-distributed/helm_plugin_list.md @@ -0,0 +1,49 @@ +## helm plugin list + +list installed Helm plugins + +### Synopsis + +list installed Helm plugins + +``` +helm plugin list [flags] +``` + +### Options + +``` + -h, --help help for list +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm plugin](helm_plugin.md) - install, list, or uninstall Helm plugins + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_plugin_uninstall.md b/charts/loki-distributed/helm_plugin_uninstall.md new file mode 100644 index 0000000000..bf654cd0fb --- /dev/null +++ b/charts/loki-distributed/helm_plugin_uninstall.md @@ -0,0 +1,49 @@ +## helm plugin uninstall + +uninstall one or more Helm plugins + +### Synopsis + +uninstall one or more Helm plugins + +``` +helm plugin uninstall ... [flags] +``` + +### Options + +``` + -h, --help help for uninstall +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm plugin](helm_plugin.md) - install, list, or uninstall Helm plugins + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_plugin_update.md b/charts/loki-distributed/helm_plugin_update.md new file mode 100644 index 0000000000..54f4509da8 --- /dev/null +++ b/charts/loki-distributed/helm_plugin_update.md @@ -0,0 +1,49 @@ +## helm plugin update + +update one or more Helm plugins + +### Synopsis + +update one or more Helm plugins + +``` +helm plugin update ... [flags] +``` + +### Options + +``` + -h, --help help for update +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm plugin](helm_plugin.md) - install, list, or uninstall Helm plugins + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_pull.md b/charts/loki-distributed/helm_pull.md new file mode 100644 index 0000000000..10421cd010 --- /dev/null +++ b/charts/loki-distributed/helm_pull.md @@ -0,0 +1,77 @@ +## helm pull + +download a chart from a repository and (optionally) unpack it in local directory + +### Synopsis + + +Retrieve a package from a package repository, and download it locally. + +This is useful for fetching packages to inspect, modify, or repackage. It can +also be used to perform cryptographic verification of a chart without installing +the chart. + +There are options for unpacking the chart after download. This will create a +directory for the chart and uncompress into that directory. + +If the --verify flag is specified, the requested chart MUST have a provenance +file, and MUST pass the verification process. Failure in any part of this will +result in an error, and the chart will not be saved locally. + + +``` +helm pull [chart URL | repo/chartname] [...] [flags] +``` + +### Options + +``` + --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle + --cert-file string identify HTTPS client using this SSL certificate file + -d, --destination string location to write the chart. If this and tardir are specified, tardir is appended to this (default ".") + --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored. + -h, --help help for pull + --insecure-skip-tls-verify skip tls certificate checks for the chart download + --key-file string identify HTTPS client using this SSL key file + --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") + --password string chart repository password where to locate the requested chart + --prov fetch the provenance file, but don't perform verification + --repo string chart repository url where to locate the requested chart + --untar if set to true, will untar the chart after downloading it + --untardir string if untar is specified, this flag specifies the name of the directory into which the chart is expanded (default ".") + --username string chart repository username where to locate the requested chart + --verify verify the package before using it + --version string specify the exact chart version to use. If this is not specified, the latest version is used +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_repo.md b/charts/loki-distributed/helm_repo.md new file mode 100644 index 0000000000..2e552bfe46 --- /dev/null +++ b/charts/loki-distributed/helm_repo.md @@ -0,0 +1,54 @@ +## helm repo + +add, list, remove, update, and index chart repositories + +### Synopsis + + +This command consists of multiple subcommands to interact with chart repositories. + +It can be used to add, remove, list, and index chart repositories. + + +### Options + +``` + -h, --help help for repo +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. +* [helm repo add](helm_repo_add.md) - add a chart repository +* [helm repo index](helm_repo_index.md) - generate an index file given a directory containing packaged charts +* [helm repo list](helm_repo_list.md) - list chart repositories +* [helm repo remove](helm_repo_remove.md) - remove one or more chart repositories +* [helm repo update](helm_repo_update.md) - update information of available charts locally from chart repositories + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_repo_add.md b/charts/loki-distributed/helm_repo_add.md new file mode 100644 index 0000000000..dbb671a7b6 --- /dev/null +++ b/charts/loki-distributed/helm_repo_add.md @@ -0,0 +1,56 @@ +## helm repo add + +add a chart repository + +### Synopsis + +add a chart repository + +``` +helm repo add [NAME] [URL] [flags] +``` + +### Options + +``` + --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle + --cert-file string identify HTTPS client using this SSL certificate file + -h, --help help for add + --insecure-skip-tls-verify skip tls certificate checks for the repository + --key-file string identify HTTPS client using this SSL key file + --no-update raise error if repo is already registered + --password string chart repository password + --username string chart repository username +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_repo_index.md b/charts/loki-distributed/helm_repo_index.md new file mode 100644 index 0000000000..ea7cf7fabe --- /dev/null +++ b/charts/loki-distributed/helm_repo_index.md @@ -0,0 +1,60 @@ +## helm repo index + +generate an index file given a directory containing packaged charts + +### Synopsis + + +Read the current directory and generate an index file based on the charts found. + +This tool is used for creating an 'index.yaml' file for a chart repository. To +set an absolute URL to the charts, use '--url' flag. + +To merge the generated index with an existing index file, use the '--merge' +flag. In this case, the charts found in the current directory will be merged +into the existing index, with local charts taking priority over existing charts. + + +``` +helm repo index [DIR] [flags] +``` + +### Options + +``` + -h, --help help for index + --merge string merge the generated index into the given index + --url string url of chart repository +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_repo_list.md b/charts/loki-distributed/helm_repo_list.md new file mode 100644 index 0000000000..abda07e94e --- /dev/null +++ b/charts/loki-distributed/helm_repo_list.md @@ -0,0 +1,50 @@ +## helm repo list + +list chart repositories + +### Synopsis + +list chart repositories + +``` +helm repo list [flags] +``` + +### Options + +``` + -h, --help help for list + -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_repo_remove.md b/charts/loki-distributed/helm_repo_remove.md new file mode 100644 index 0000000000..cc576790f9 --- /dev/null +++ b/charts/loki-distributed/helm_repo_remove.md @@ -0,0 +1,49 @@ +## helm repo remove + +remove one or more chart repositories + +### Synopsis + +remove one or more chart repositories + +``` +helm repo remove [REPO1 [REPO2 ...]] [flags] +``` + +### Options + +``` + -h, --help help for remove +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_repo_update.md b/charts/loki-distributed/helm_repo_update.md new file mode 100644 index 0000000000..b222472b7d --- /dev/null +++ b/charts/loki-distributed/helm_repo_update.md @@ -0,0 +1,52 @@ +## helm repo update + +update information of available charts locally from chart repositories + +### Synopsis + + +Update gets the latest information about charts from the respective chart repositories. +Information is cached locally, where it is used by commands like 'helm search'. + + +``` +helm repo update [flags] +``` + +### Options + +``` + -h, --help help for update +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_rollback.md b/charts/loki-distributed/helm_rollback.md new file mode 100644 index 0000000000..5afbc1e6be --- /dev/null +++ b/charts/loki-distributed/helm_rollback.md @@ -0,0 +1,64 @@ +## helm rollback + +roll back a release to a previous revision + +### Synopsis + + +This command rolls back a release to a previous revision. + +The first argument of the rollback command is the name of a release, and the +second is a revision (version) number. If this argument is omitted, it will +roll back to the previous release. + +To see revision numbers, run 'helm history RELEASE'. + + +``` +helm rollback [REVISION] [flags] +``` + +### Options + +``` + --cleanup-on-fail allow deletion of new resources created in this rollback when rollback fails + --dry-run simulate a rollback + --force force resource update through delete/recreate if needed + -h, --help help for rollback + --no-hooks prevent hooks from running during rollback + --recreate-pods performs pods restart for the resource if applicable + --timeout duration time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s) + --wait if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_search.md b/charts/loki-distributed/helm_search.md new file mode 100644 index 0000000000..81b01f4a0c --- /dev/null +++ b/charts/loki-distributed/helm_search.md @@ -0,0 +1,51 @@ +## helm search + +search for a keyword in charts + +### Synopsis + + +Search provides the ability to search for Helm charts in the various places +they can be stored including the Helm Hub and repositories you have added. Use +search subcommands to search different locations for charts. + + +### Options + +``` + -h, --help help for search +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. +* [helm search hub](helm_search_hub.md) - search for charts in the Helm Hub or an instance of Monocular +* [helm search repo](helm_search_repo.md) - search repositories for a keyword in charts + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_search_hub.md b/charts/loki-distributed/helm_search_hub.md new file mode 100644 index 0000000000..3dee53f7d0 --- /dev/null +++ b/charts/loki-distributed/helm_search_hub.md @@ -0,0 +1,62 @@ +## helm search hub + +search for charts in the Helm Hub or an instance of Monocular + +### Synopsis + + +Search the Helm Hub or an instance of Monocular for Helm charts. + +The Helm Hub provides a centralized search for publicly available distributed +charts. It is maintained by the Helm project. It can be visited at +https://hub.helm.sh + +Monocular is a web-based application that enables the search and discovery of +charts from multiple Helm Chart repositories. It is the codebase that powers the +Helm Hub. You can find it at https://github.com/helm/monocular + + +``` +helm search hub [keyword] [flags] +``` + +### Options + +``` + --endpoint string monocular instance to query for charts (default "https://hub.helm.sh") + -h, --help help for hub + --max-col-width uint maximum column width for output table (default 50) + -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm search](helm_search.md) - search for a keyword in charts + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_search_repo.md b/charts/loki-distributed/helm_search_repo.md new file mode 100644 index 0000000000..edd52bd55c --- /dev/null +++ b/charts/loki-distributed/helm_search_repo.md @@ -0,0 +1,76 @@ +## helm search repo + +search repositories for a keyword in charts + +### Synopsis + + +Search reads through all of the repositories configured on the system, and +looks for matches. Search of these repositories uses the metadata stored on +the system. + +It will display the latest stable versions of the charts found. If you +specify the --devel flag, the output will include pre-release versions. +If you want to search using a version constraint, use --version. + +Examples: + + # Search for stable release versions matching the keyword "nginx" + $ helm search repo nginx + + # Search for release versions matching the keyword "nginx", including pre-release versions + $ helm search repo nginx --devel + + # Search for the latest stable release for nginx-ingress with a major version of 1 + $ helm search repo nginx-ingress --version ^1.0.0 + +Repositories are managed with 'helm repo' commands. + + +``` +helm search repo [keyword] [flags] +``` + +### Options + +``` + --devel use development versions (alpha, beta, and release candidate releases), too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored + -h, --help help for repo + --max-col-width uint maximum column width for output table (default 50) + -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) + -r, --regexp use regular expressions for searching repositories you have added + --version string search using semantic versioning constraints on repositories you have added + -l, --versions show the long listing, with each version of each chart on its own line, for repositories you have added +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm search](helm_search.md) - search for a keyword in charts + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_show.md b/charts/loki-distributed/helm_show.md new file mode 100644 index 0000000000..73594810fa --- /dev/null +++ b/charts/loki-distributed/helm_show.md @@ -0,0 +1,51 @@ +## helm show + +show information of a chart + +### Synopsis + + +This command consists of multiple subcommands to display information about a chart + + +### Options + +``` + -h, --help help for show +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. +* [helm show all](helm_show_all.md) - show all information of the chart +* [helm show chart](helm_show_chart.md) - show the chart's definition +* [helm show readme](helm_show_readme.md) - show the chart's README +* [helm show values](helm_show_values.md) - show the chart's values + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_show_all.md b/charts/loki-distributed/helm_show_all.md new file mode 100644 index 0000000000..1eccc7092e --- /dev/null +++ b/charts/loki-distributed/helm_show_all.md @@ -0,0 +1,63 @@ +## helm show all + +show all information of the chart + +### Synopsis + + +This command inspects a chart (directory, file, or URL) and displays all its content +(values.yaml, Charts.yaml, README) + + +``` +helm show all [CHART] [flags] +``` + +### Options + +``` + --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle + --cert-file string identify HTTPS client using this SSL certificate file + --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored + -h, --help help for all + --insecure-skip-tls-verify skip tls certificate checks for the chart download + --key-file string identify HTTPS client using this SSL key file + --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") + --password string chart repository password where to locate the requested chart + --repo string chart repository url where to locate the requested chart + --username string chart repository username where to locate the requested chart + --verify verify the package before using it + --version string specify the exact chart version to use. If this is not specified, the latest version is used +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm show](helm_show.md) - show information of a chart + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_show_chart.md b/charts/loki-distributed/helm_show_chart.md new file mode 100644 index 0000000000..328800900a --- /dev/null +++ b/charts/loki-distributed/helm_show_chart.md @@ -0,0 +1,63 @@ +## helm show chart + +show the chart's definition + +### Synopsis + + +This command inspects a chart (directory, file, or URL) and displays the contents +of the Charts.yaml file + + +``` +helm show chart [CHART] [flags] +``` + +### Options + +``` + --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle + --cert-file string identify HTTPS client using this SSL certificate file + --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored + -h, --help help for chart + --insecure-skip-tls-verify skip tls certificate checks for the chart download + --key-file string identify HTTPS client using this SSL key file + --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") + --password string chart repository password where to locate the requested chart + --repo string chart repository url where to locate the requested chart + --username string chart repository username where to locate the requested chart + --verify verify the package before using it + --version string specify the exact chart version to use. If this is not specified, the latest version is used +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm show](helm_show.md) - show information of a chart + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_show_readme.md b/charts/loki-distributed/helm_show_readme.md new file mode 100644 index 0000000000..b01c9e756b --- /dev/null +++ b/charts/loki-distributed/helm_show_readme.md @@ -0,0 +1,63 @@ +## helm show readme + +show the chart's README + +### Synopsis + + +This command inspects a chart (directory, file, or URL) and displays the contents +of the README file + + +``` +helm show readme [CHART] [flags] +``` + +### Options + +``` + --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle + --cert-file string identify HTTPS client using this SSL certificate file + --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored + -h, --help help for readme + --insecure-skip-tls-verify skip tls certificate checks for the chart download + --key-file string identify HTTPS client using this SSL key file + --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") + --password string chart repository password where to locate the requested chart + --repo string chart repository url where to locate the requested chart + --username string chart repository username where to locate the requested chart + --verify verify the package before using it + --version string specify the exact chart version to use. If this is not specified, the latest version is used +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm show](helm_show.md) - show information of a chart + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_show_values.md b/charts/loki-distributed/helm_show_values.md new file mode 100644 index 0000000000..cdf3b82920 --- /dev/null +++ b/charts/loki-distributed/helm_show_values.md @@ -0,0 +1,63 @@ +## helm show values + +show the chart's values + +### Synopsis + + +This command inspects a chart (directory, file, or URL) and displays the contents +of the values.yaml file + + +``` +helm show values [CHART] [flags] +``` + +### Options + +``` + --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle + --cert-file string identify HTTPS client using this SSL certificate file + --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored + -h, --help help for values + --insecure-skip-tls-verify skip tls certificate checks for the chart download + --key-file string identify HTTPS client using this SSL key file + --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") + --password string chart repository password where to locate the requested chart + --repo string chart repository url where to locate the requested chart + --username string chart repository username where to locate the requested chart + --verify verify the package before using it + --version string specify the exact chart version to use. If this is not specified, the latest version is used +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm show](helm_show.md) - show information of a chart + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_status.md b/charts/loki-distributed/helm_status.md new file mode 100644 index 0000000000..f4fa9f8f52 --- /dev/null +++ b/charts/loki-distributed/helm_status.md @@ -0,0 +1,60 @@ +## helm status + +display the status of the named release + +### Synopsis + + +This command shows the status of a named release. +The status consists of: +- last deployment time +- k8s namespace in which the release lives +- state of the release (can be: unknown, deployed, uninstalled, superseded, failed, uninstalling, pending-install, pending-upgrade or pending-rollback) +- list of resources that this release consists of, sorted by kind +- details on last test suite run, if applicable +- additional notes provided by the chart + + +``` +helm status RELEASE_NAME [flags] +``` + +### Options + +``` + -h, --help help for status + -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) + --revision int if set, display the status of the named release with revision +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_template.md b/charts/loki-distributed/helm_template.md new file mode 100644 index 0000000000..71bac02761 --- /dev/null +++ b/charts/loki-distributed/helm_template.md @@ -0,0 +1,92 @@ +## helm template + +locally render templates + +### Synopsis + + +Render chart templates locally and display the output. + +Any values that would normally be looked up or retrieved in-cluster will be +faked locally. Additionally, none of the server-side testing of chart validity +(e.g. whether an API is supported) is done. + + +``` +helm template [NAME] [CHART] [flags] +``` + +### Options + +``` + -a, --api-versions stringArray Kubernetes api versions used for Capabilities.APIVersions + --atomic if set, the installation process deletes the installation on failure. The --wait flag will be set automatically if --atomic is used + --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle + --cert-file string identify HTTPS client using this SSL certificate file + --create-namespace create the release namespace if not present + --dependency-update run helm dependency update before installing the chart + --description string add a custom description + --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored + --disable-openapi-validation if set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema + --dry-run simulate an install + -g, --generate-name generate the name (and omit the NAME parameter) + -h, --help help for template + --include-crds include CRDs in the templated output + --insecure-skip-tls-verify skip tls certificate checks for the chart download + --is-upgrade set .Release.IsUpgrade instead of .Release.IsInstall + --key-file string identify HTTPS client using this SSL key file + --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") + --name-template string specify template used to name the release + --no-hooks prevent hooks from running during install + --output-dir string writes the executed templates to files in output-dir instead of stdout + --password string chart repository password where to locate the requested chart + --post-renderer postrenderer the path to an executable to be used for post rendering. If it exists in $PATH, the binary will be used, otherwise it will try to look for the executable at the given path (default exec) + --release-name use release name in the output-dir path. + --render-subchart-notes if set, render subchart notes along with the parent + --replace re-use the given name, only if that name is a deleted release which remains in the history. This is unsafe in production + --repo string chart repository url where to locate the requested chart + --set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) + --set-file stringArray set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2) + --set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) + -s, --show-only stringArray only show manifests rendered from the given templates + --skip-crds if set, no CRDs will be installed. By default, CRDs are installed if not already present + --timeout duration time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s) + --username string chart repository username where to locate the requested chart + --validate validate your manifests against the Kubernetes cluster you are currently pointing at. This is the same validation performed on an install + -f, --values strings specify values in a YAML file or a URL (can specify multiple) + --verify verify the package before using it + --version string specify the exact chart version to use. If this is not specified, the latest version is used + --wait if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_test.md b/charts/loki-distributed/helm_test.md new file mode 100644 index 0000000000..75c65889bf --- /dev/null +++ b/charts/loki-distributed/helm_test.md @@ -0,0 +1,56 @@ +## helm test + +run tests for a release + +### Synopsis + + +The test command runs the tests for a release. + +The argument this command takes is the name of a deployed release. +The tests to be run are defined in the chart that was installed. + + +``` +helm test [RELEASE] [flags] +``` + +### Options + +``` + -h, --help help for test + --logs dump the logs from test pods (this runs after all tests are complete, but before any cleanup) + --timeout duration time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s) +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_uninstall.md b/charts/loki-distributed/helm_uninstall.md new file mode 100644 index 0000000000..efe58a00a8 --- /dev/null +++ b/charts/loki-distributed/helm_uninstall.md @@ -0,0 +1,62 @@ +## helm uninstall + +uninstall a release + +### Synopsis + + +This command takes a release name and uninstalls the release. + +It removes all of the resources associated with the last release of the chart +as well as the release history, freeing it up for future use. + +Use the '--dry-run' flag to see which releases will be uninstalled without actually +uninstalling them. + + +``` +helm uninstall RELEASE_NAME [...] [flags] +``` + +### Options + +``` + --description string add a custom description + --dry-run simulate a uninstall + -h, --help help for uninstall + --keep-history remove all associated resources and mark the release as deleted, but retain the release history + --no-hooks prevent hooks from running during uninstallation + --timeout duration time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s) +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_upgrade.md b/charts/loki-distributed/helm_upgrade.md new file mode 100644 index 0000000000..4bec354416 --- /dev/null +++ b/charts/loki-distributed/helm_upgrade.md @@ -0,0 +1,107 @@ +## helm upgrade + +upgrade a release + +### Synopsis + + +This command upgrades a release to a new version of a chart. + +The upgrade arguments must be a release and chart. The chart +argument can be either: a chart reference('example/mariadb'), a path to a chart directory, +a packaged chart, or a fully qualified URL. For chart references, the latest +version will be specified unless the '--version' flag is set. + +To override values in a chart, use either the '--values' flag and pass in a file +or use the '--set' flag and pass configuration from the command line, to force string +values, use '--set-string'. In case a value is large and therefore +you want not to use neither '--values' nor '--set', use '--set-file' to read the +single large value from file. + +You can specify the '--values'/'-f' flag multiple times. The priority will be given to the +last (right-most) file specified. For example, if both myvalues.yaml and override.yaml +contained a key called 'Test', the value set in override.yaml would take precedence: + + $ helm upgrade -f myvalues.yaml -f override.yaml redis ./redis + +You can specify the '--set' flag multiple times. The priority will be given to the +last (right-most) set specified. For example, if both 'bar' and 'newbar' values are +set for a key called 'foo', the 'newbar' value would take precedence: + + $ helm upgrade --set foo=bar --set foo=newbar redis ./redis + + +``` +helm upgrade [RELEASE] [CHART] [flags] +``` + +### Options + +``` + --atomic if set, upgrade process rolls back changes made in case of failed upgrade. The --wait flag will be set automatically if --atomic is used + --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle + --cert-file string identify HTTPS client using this SSL certificate file + --cleanup-on-fail allow deletion of new resources created in this upgrade when upgrade fails + --create-namespace if --install is set, create the release namespace if not present + --description string add a custom description + --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored + --disable-openapi-validation if set, the upgrade process will not validate rendered templates against the Kubernetes OpenAPI Schema + --dry-run simulate an upgrade + --force force resource updates through a replacement strategy + -h, --help help for upgrade + --history-max int limit the maximum number of revisions saved per release. Use 0 for no limit (default 10) + --insecure-skip-tls-verify skip tls certificate checks for the chart download + -i, --install if a release by this name doesn't already exist, run an install + --key-file string identify HTTPS client using this SSL key file + --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") + --no-hooks disable pre/post upgrade hooks + -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) + --password string chart repository password where to locate the requested chart + --post-renderer postrenderer the path to an executable to be used for post rendering. If it exists in $PATH, the binary will be used, otherwise it will try to look for the executable at the given path (default exec) + --render-subchart-notes if set, render subchart notes along with the parent + --repo string chart repository url where to locate the requested chart + --reset-values when upgrading, reset the values to the ones built into the chart + --reuse-values when upgrading, reuse the last release's values and merge in any overrides from the command line via --set and -f. If '--reset-values' is specified, this is ignored + --set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) + --set-file stringArray set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2) + --set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) + --skip-crds if set, no CRDs will be installed when an upgrade is performed with install flag enabled. By default, CRDs are installed if not already present, when an upgrade is performed with install flag enabled + --timeout duration time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s) + --username string chart repository username where to locate the requested chart + -f, --values strings specify values in a YAML file or a URL (can specify multiple) + --verify verify the package before using it + --version string specify the exact chart version to use. If this is not specified, the latest version is used + --wait if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_verify.md b/charts/loki-distributed/helm_verify.md new file mode 100644 index 0000000000..eceb46b371 --- /dev/null +++ b/charts/loki-distributed/helm_verify.md @@ -0,0 +1,59 @@ +## helm verify + +verify that a chart at the given path has been signed and is valid + +### Synopsis + + +Verify that the given chart has a valid provenance file. + +Provenance files provide cryptographic verification that a chart has not been +tampered with, and was packaged by a trusted provider. + +This command can be used to verify a local chart. Several other commands provide +'--verify' flags that run the same validation. To generate a signed package, use +the 'helm package --sign' command. + + +``` +helm verify PATH [flags] +``` + +### Options + +``` + -h, --help help for verify + --keyring string keyring containing public keys (default "/Users/cmooney/.gnupg/pubring.gpg") +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_version.md b/charts/loki-distributed/helm_version.md new file mode 100644 index 0000000000..bef498469b --- /dev/null +++ b/charts/loki-distributed/helm_version.md @@ -0,0 +1,72 @@ +## helm version + +print the client version information + +### Synopsis + + +Show the version for Helm. + +This will print a representation the version of Helm. +The output will look something like this: + +version.BuildInfo{Version:"v3.2.1", GitCommit:"fe51cd1e31e6a202cba7dead9552a6d418ded79a", GitTreeState:"clean", GoVersion:"go1.13.10"} + +- Version is the semantic version of the release. +- GitCommit is the SHA for the commit that this version was built from. +- GitTreeState is "clean" if there are no local code changes when this binary was + built, and "dirty" if the binary was built from locally modified code. +- GoVersion is the version of Go that was used to compile Helm. + +When using the --template flag the following properties are available to use in +the template: + +- .Version contains the semantic version of Helm +- .GitCommit is the git commit +- .GitTreeState is the state of the git tree when Helm was built +- .GoVersion contains the version of Go that Helm was compiled with + + +``` +helm version [flags] +``` + +### Options + +``` + -h, --help help for version + --short print the version number + --template string template for version string format +``` + +### Options inherited from parent commands + +``` + --add-dir-header If true, adds the file directory to the header + --alsologtostderr log to standard error as well as files + --debug enable verbose output + --kube-apiserver string the address and the port for the Kubernetes API server + --kube-context string name of the kubeconfig context to use + --kube-token string bearer token used for authentication + --kubeconfig string path to the kubeconfig file + --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) + --log-dir string If non-empty, write log files in this directory + --log-file string If non-empty, use this log file + --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) + --logtostderr log to standard error instead of files (default true) + -n, --namespace string namespace scope for this request + --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") + --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") + --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") + --skip-headers If true, avoid header prefixes in the log messages + --skip-log-headers If true, avoid headers when opening log files + --stderrthreshold severity logs at or above this threshold go to stderr (default 2) + -v, --v Level number for the log level verbosity + --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging +``` + +### SEE ALSO + +* [helm](helm.md) - The Helm package manager for Kubernetes. + +###### Auto generated by spf13/cobra on 20-Aug-2021 From 830cc2388bbf310a69cd447297ac8ddb586c73fd Mon Sep 17 00:00:00 2001 From: cmooney Date: Thu, 2 Sep 2021 10:22:41 -0400 Subject: [PATCH 05/26] Updated Readme Signed-off-by: cmooney --- charts/loki-distributed/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/loki-distributed/README.md b/charts/loki-distributed/README.md index 80503dd128..133431ea67 100644 --- a/charts/loki-distributed/README.md +++ b/charts/loki-distributed/README.md @@ -1,6 +1,6 @@ # loki-distributed -![Version: 0.36.0](https://img.shields.io/badge/Version-0.36.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.0](https://img.shields.io/badge/AppVersion-2.3.0-informational?style=flat-square) +![Version: 0.37.0](https://img.shields.io/badge/Version-0.37.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.0](https://img.shields.io/badge/AppVersion-2.3.0-informational?style=flat-square) Helm chart for Grafana Loki in microservices mode From 6e1e352ab8cff51aea418852eaa2c779d3ed0c3b Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Thu, 2 Sep 2021 16:35:02 +0100 Subject: [PATCH 06/26] fix: Remove unused ingress configuration There are no templates that reference this configuration. Signed-off-by: Jack Baldry --- charts/enterprise-metrics/values.yaml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/charts/enterprise-metrics/values.yaml b/charts/enterprise-metrics/values.yaml index 5451b4b972..e2be62f0dd 100644 --- a/charts/enterprise-metrics/values.yaml +++ b/charts/enterprise-metrics/values.yaml @@ -16,20 +16,6 @@ image: # pullSecrets: # - myRegistryKeySecretName -ingress: - enabled: true - annotations: - kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - hosts: - - host: chart-example.local - paths: - - / - tls: [] - # - secretName: chart-example-tls - # hosts: - # - chart-example.local - serviceAccount: create: true name: From 0d5b13499fd295c8a913438786ac18908a540527 Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Thu, 2 Sep 2021 16:39:02 +0100 Subject: [PATCH 07/26] doc: Add 1.5.0 release to the CHANGELOG Signed-off-by: Jack Baldry --- charts/enterprise-metrics/CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/enterprise-metrics/CHANGELOG.md b/charts/enterprise-metrics/CHANGELOG.md index a38ff04490..43c8920e0a 100644 --- a/charts/enterprise-metrics/CHANGELOG.md +++ b/charts/enterprise-metrics/CHANGELOG.md @@ -10,7 +10,9 @@ Entries should be ordered as follows: Entries should include a reference to the Pull Request that introduced the change. -## Unreleased +## 1.5.0 + +* [FEATURE] Upgrade to [Grafana Enterprise Metrics v1.5.0](https://grafana.com/docs/metrics-enterprise/latest/downloads/#v150----august-24th-2021). #641 ## 1.4.7 From 91335bda38ea56ebff64af8003e5b146dd6f12b5 Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Thu, 2 Sep 2021 16:40:26 +0100 Subject: [PATCH 08/26] chore: Bump version and update CHANGELOG Signed-off-by: Jack Baldry --- charts/enterprise-metrics/CHANGELOG.md | 4 ++++ charts/enterprise-metrics/Chart.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/enterprise-metrics/CHANGELOG.md b/charts/enterprise-metrics/CHANGELOG.md index 43c8920e0a..b1037e7a13 100644 --- a/charts/enterprise-metrics/CHANGELOG.md +++ b/charts/enterprise-metrics/CHANGELOG.md @@ -10,6 +10,10 @@ Entries should be ordered as follows: Entries should include a reference to the Pull Request that introduced the change. +## 1.5.1 + +* [BUGFIX] Unused `ingress` configuration section removed from `values.yaml`. #658 + ## 1.5.0 * [FEATURE] Upgrade to [Grafana Enterprise Metrics v1.5.0](https://grafana.com/docs/metrics-enterprise/latest/downloads/#v150----august-24th-2021). #641 diff --git a/charts/enterprise-metrics/Chart.yaml b/charts/enterprise-metrics/Chart.yaml index 730aca5cf3..c588cf049a 100755 --- a/charts/enterprise-metrics/Chart.yaml +++ b/charts/enterprise-metrics/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -version: 1.5.0 +version: 1.5.1 appVersion: v1.5.0 description: 'Grafana Enterprise Metrics' engine: gotpl From f91dbd3c70dc8da0d51418243785f3af508a5d79 Mon Sep 17 00:00:00 2001 From: Tim Balzer Date: Fri, 3 Sep 2021 11:56:38 +0200 Subject: [PATCH 09/26] allow multiple files for datasources/notifiers/dashboardProviders Signed-off-by: Tim Balzer --- charts/grafana/templates/_pod.tpl | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/charts/grafana/templates/_pod.tpl b/charts/grafana/templates/_pod.tpl index 3199fb3d41..55015f3095 100644 --- a/charts/grafana/templates/_pod.tpl +++ b/charts/grafana/templates/_pod.tpl @@ -260,19 +260,25 @@ containers: {{- end }} {{- end }} {{- if .Values.datasources }} +{{- range (keys .Values.datasources | sortAlpha) }} - name: config - mountPath: "/etc/grafana/provisioning/datasources/datasources.yaml" - subPath: datasources.yaml + mountPath: "/etc/grafana/provisioning/datasources/{{ . }}" + subPath: {{ . | quote }} +{{- end }} {{- end }} {{- if .Values.notifiers }} +{{- range (keys .Values.notifiers | sortAlpha) }} - name: config - mountPath: "/etc/grafana/provisioning/notifiers/notifiers.yaml" - subPath: notifiers.yaml + mountPath: "/etc/grafana/provisioning/notifiers/{{ . }}" + subPath: {{ . | quote }} +{{- end }} {{- end }} {{- if .Values.dashboardProviders }} +{{- range (keys .Values.dashboardProviders | sortAlpha) }} - name: config - mountPath: "/etc/grafana/provisioning/dashboards/dashboardproviders.yaml" - subPath: dashboardproviders.yaml + mountPath: "/etc/grafana/provisioning/dashboards/{{ . }}" + subPath: {{ . | quote }} +{{- end }} {{- end }} {{- if .Values.sidecar.dashboards.enabled }} - name: sc-dashboard-volume From ea2d28e5a7c7763812cca3aa5300dbb94c2c455f Mon Sep 17 00:00:00 2001 From: Tim Balzer Date: Fri, 3 Sep 2021 12:00:45 +0200 Subject: [PATCH 10/26] bump version Signed-off-by: Tim Balzer --- charts/grafana/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/grafana/Chart.yaml b/charts/grafana/Chart.yaml index 0075f117ab..a529632166 100644 --- a/charts/grafana/Chart.yaml +++ b/charts/grafana/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: grafana -version: 6.16.3 +version: 6.16.4 appVersion: 8.1.2 kubeVersion: '^1.8.0-0' description: The leading tool for querying and visualizing time series and metrics. From d2c9aa0febd018b68e8b7a4fd40a8fe3ca3fa0d4 Mon Sep 17 00:00:00 2001 From: cmooney Date: Fri, 3 Sep 2021 09:07:54 -0400 Subject: [PATCH 11/26] removing markdowns Signed-off-by: cmooney --- charts/loki-distributed/helm.md | 96 ------------ charts/loki-distributed/helm_completion.md | 49 ------ .../loki-distributed/helm_completion_bash.md | 60 -------- .../loki-distributed/helm_completion_zsh.md | 57 ------- charts/loki-distributed/helm_create.md | 69 --------- charts/loki-distributed/helm_dependency.md | 94 ------------ .../loki-distributed/helm_dependency_build.md | 60 -------- .../loki-distributed/helm_dependency_list.md | 56 ------- .../helm_dependency_update.md | 65 -------- charts/loki-distributed/helm_env.md | 51 ------ charts/loki-distributed/helm_get.md | 58 ------- charts/loki-distributed/helm_get_all.md | 54 ------- charts/loki-distributed/helm_get_hooks.md | 54 ------- charts/loki-distributed/helm_get_manifest.md | 56 ------- charts/loki-distributed/helm_get_notes.md | 52 ------- charts/loki-distributed/helm_get_values.md | 54 ------- charts/loki-distributed/helm_history.md | 65 -------- charts/loki-distributed/helm_install.md | 145 ------------------ charts/loki-distributed/helm_lint.md | 62 -------- charts/loki-distributed/helm_list.md | 89 ----------- charts/loki-distributed/helm_package.md | 70 --------- charts/loki-distributed/helm_plugin.md | 51 ------ .../loki-distributed/helm_plugin_install.md | 52 ------- charts/loki-distributed/helm_plugin_list.md | 49 ------ .../loki-distributed/helm_plugin_uninstall.md | 49 ------ charts/loki-distributed/helm_plugin_update.md | 49 ------ charts/loki-distributed/helm_pull.md | 77 ---------- charts/loki-distributed/helm_repo.md | 54 ------- charts/loki-distributed/helm_repo_add.md | 56 ------- charts/loki-distributed/helm_repo_index.md | 60 -------- charts/loki-distributed/helm_repo_list.md | 50 ------ charts/loki-distributed/helm_repo_remove.md | 49 ------ charts/loki-distributed/helm_repo_update.md | 52 ------- charts/loki-distributed/helm_rollback.md | 64 -------- charts/loki-distributed/helm_search.md | 51 ------ charts/loki-distributed/helm_search_hub.md | 62 -------- charts/loki-distributed/helm_search_repo.md | 76 --------- charts/loki-distributed/helm_show.md | 51 ------ charts/loki-distributed/helm_show_all.md | 63 -------- charts/loki-distributed/helm_show_chart.md | 63 -------- charts/loki-distributed/helm_show_readme.md | 63 -------- charts/loki-distributed/helm_show_values.md | 63 -------- charts/loki-distributed/helm_status.md | 60 -------- charts/loki-distributed/helm_template.md | 92 ----------- charts/loki-distributed/helm_test.md | 56 ------- charts/loki-distributed/helm_uninstall.md | 62 -------- charts/loki-distributed/helm_upgrade.md | 107 ------------- charts/loki-distributed/helm_verify.md | 59 ------- charts/loki-distributed/helm_version.md | 72 --------- 49 files changed, 3128 deletions(-) delete mode 100644 charts/loki-distributed/helm.md delete mode 100644 charts/loki-distributed/helm_completion.md delete mode 100644 charts/loki-distributed/helm_completion_bash.md delete mode 100644 charts/loki-distributed/helm_completion_zsh.md delete mode 100644 charts/loki-distributed/helm_create.md delete mode 100644 charts/loki-distributed/helm_dependency.md delete mode 100644 charts/loki-distributed/helm_dependency_build.md delete mode 100644 charts/loki-distributed/helm_dependency_list.md delete mode 100644 charts/loki-distributed/helm_dependency_update.md delete mode 100644 charts/loki-distributed/helm_env.md delete mode 100644 charts/loki-distributed/helm_get.md delete mode 100644 charts/loki-distributed/helm_get_all.md delete mode 100644 charts/loki-distributed/helm_get_hooks.md delete mode 100644 charts/loki-distributed/helm_get_manifest.md delete mode 100644 charts/loki-distributed/helm_get_notes.md delete mode 100644 charts/loki-distributed/helm_get_values.md delete mode 100644 charts/loki-distributed/helm_history.md delete mode 100644 charts/loki-distributed/helm_install.md delete mode 100644 charts/loki-distributed/helm_lint.md delete mode 100644 charts/loki-distributed/helm_list.md delete mode 100644 charts/loki-distributed/helm_package.md delete mode 100644 charts/loki-distributed/helm_plugin.md delete mode 100644 charts/loki-distributed/helm_plugin_install.md delete mode 100644 charts/loki-distributed/helm_plugin_list.md delete mode 100644 charts/loki-distributed/helm_plugin_uninstall.md delete mode 100644 charts/loki-distributed/helm_plugin_update.md delete mode 100644 charts/loki-distributed/helm_pull.md delete mode 100644 charts/loki-distributed/helm_repo.md delete mode 100644 charts/loki-distributed/helm_repo_add.md delete mode 100644 charts/loki-distributed/helm_repo_index.md delete mode 100644 charts/loki-distributed/helm_repo_list.md delete mode 100644 charts/loki-distributed/helm_repo_remove.md delete mode 100644 charts/loki-distributed/helm_repo_update.md delete mode 100644 charts/loki-distributed/helm_rollback.md delete mode 100644 charts/loki-distributed/helm_search.md delete mode 100644 charts/loki-distributed/helm_search_hub.md delete mode 100644 charts/loki-distributed/helm_search_repo.md delete mode 100644 charts/loki-distributed/helm_show.md delete mode 100644 charts/loki-distributed/helm_show_all.md delete mode 100644 charts/loki-distributed/helm_show_chart.md delete mode 100644 charts/loki-distributed/helm_show_readme.md delete mode 100644 charts/loki-distributed/helm_show_values.md delete mode 100644 charts/loki-distributed/helm_status.md delete mode 100644 charts/loki-distributed/helm_template.md delete mode 100644 charts/loki-distributed/helm_test.md delete mode 100644 charts/loki-distributed/helm_uninstall.md delete mode 100644 charts/loki-distributed/helm_upgrade.md delete mode 100644 charts/loki-distributed/helm_verify.md delete mode 100644 charts/loki-distributed/helm_version.md diff --git a/charts/loki-distributed/helm.md b/charts/loki-distributed/helm.md deleted file mode 100644 index 9bbca57341..0000000000 --- a/charts/loki-distributed/helm.md +++ /dev/null @@ -1,96 +0,0 @@ -## helm - -The Helm package manager for Kubernetes. - -### Synopsis - -The Kubernetes package manager - -Common actions for Helm: - -- helm search: search for charts -- helm pull: download a chart to your local directory to view -- helm install: upload the chart to Kubernetes -- helm list: list releases of charts - -Environment variables: - -| Name | Description | -|------------------------------------|-----------------------------------------------------------------------------------| -| $HELM_CACHE_HOME | set an alternative location for storing cached files. | -| $HELM_CONFIG_HOME | set an alternative location for storing Helm configuration. | -| $HELM_DATA_HOME | set an alternative location for storing Helm data. | -| $HELM_DRIVER | set the backend storage driver. Values are: configmap, secret, memory, postgres | -| $HELM_DRIVER_SQL_CONNECTION_STRING | set the connection string the SQL storage driver should use. | -| $HELM_NO_PLUGINS | disable plugins. Set HELM_NO_PLUGINS=1 to disable plugins. | -| $KUBECONFIG | set an alternative Kubernetes configuration file (default "~/.kube/config") | - -Helm stores cache, configuration, and data based on the following configuration order: - -- If a HELM_*_HOME environment variable is set, it will be used -- Otherwise, on systems supporting the XDG base directory specification, the XDG variables will be used -- When no other location is set a default location will be used based on the operating system - -By default, the default directories depend on the Operating System. The defaults are listed below: - -| Operating System | Cache Path | Configuration Path | Data Path | -|------------------|---------------------------|--------------------------------|-------------------------| -| Linux | $HOME/.cache/helm | $HOME/.config/helm | $HOME/.local/share/helm | -| macOS | $HOME/Library/Caches/helm | $HOME/Library/Preferences/helm | $HOME/Library/helm | -| Windows | %TEMP%\helm | %APPDATA%\helm | %APPDATA%\helm | - - -### Options - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - -h, --help help for helm - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm completion](helm_completion.md) - generate autocompletions script for the specified shell -* [helm create](helm_create.md) - create a new chart with the given name -* [helm dependency](helm_dependency.md) - manage a chart's dependencies -* [helm env](helm_env.md) - helm client environment information -* [helm get](helm_get.md) - download extended information of a named release -* [helm history](helm_history.md) - fetch release history -* [helm install](helm_install.md) - install a chart -* [helm lint](helm_lint.md) - examine a chart for possible issues -* [helm list](helm_list.md) - list releases -* [helm package](helm_package.md) - package a chart directory into a chart archive -* [helm plugin](helm_plugin.md) - install, list, or uninstall Helm plugins -* [helm pull](helm_pull.md) - download a chart from a repository and (optionally) unpack it in local directory -* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories -* [helm rollback](helm_rollback.md) - roll back a release to a previous revision -* [helm search](helm_search.md) - search for a keyword in charts -* [helm show](helm_show.md) - show information of a chart -* [helm status](helm_status.md) - display the status of the named release -* [helm template](helm_template.md) - locally render templates -* [helm test](helm_test.md) - run tests for a release -* [helm uninstall](helm_uninstall.md) - uninstall a release -* [helm upgrade](helm_upgrade.md) - upgrade a release -* [helm verify](helm_verify.md) - verify that a chart at the given path has been signed and is valid -* [helm version](helm_version.md) - print the client version information - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_completion.md b/charts/loki-distributed/helm_completion.md deleted file mode 100644 index 7afb252a75..0000000000 --- a/charts/loki-distributed/helm_completion.md +++ /dev/null @@ -1,49 +0,0 @@ -## helm completion - -generate autocompletions script for the specified shell - -### Synopsis - - -Generate autocompletions script for Helm for the specified shell. - - -### Options - -``` - -h, --help help for completion -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. -* [helm completion bash](helm_completion_bash.md) - generate autocompletions script for bash -* [helm completion zsh](helm_completion_zsh.md) - generate autocompletions script for zsh - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_completion_bash.md b/charts/loki-distributed/helm_completion_bash.md deleted file mode 100644 index c63769f33f..0000000000 --- a/charts/loki-distributed/helm_completion_bash.md +++ /dev/null @@ -1,60 +0,0 @@ -## helm completion bash - -generate autocompletions script for bash - -### Synopsis - - -Generate the autocompletion script for Helm for the bash shell. - -To load completions in your current shell session: -$ source <(helm completion bash) - -To load completions for every new session, execute once: -Linux: - $ helm completion bash > /etc/bash_completion.d/helm -MacOS: - $ helm completion bash > /usr/local/etc/bash_completion.d/helm - - -``` -helm completion bash -``` - -### Options - -``` - -h, --help help for bash -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm completion](helm_completion.md) - generate autocompletions script for the specified shell - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_completion_zsh.md b/charts/loki-distributed/helm_completion_zsh.md deleted file mode 100644 index 5779a0ec89..0000000000 --- a/charts/loki-distributed/helm_completion_zsh.md +++ /dev/null @@ -1,57 +0,0 @@ -## helm completion zsh - -generate autocompletions script for zsh - -### Synopsis - - -Generate the autocompletion script for Helm for the zsh shell. - -To load completions in your current shell session: -$ source <(helm completion zsh) - -To load completions for every new session, execute once: -$ helm completion zsh > "${fpath[1]}/_helm" - - -``` -helm completion zsh -``` - -### Options - -``` - -h, --help help for zsh -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm completion](helm_completion.md) - generate autocompletions script for the specified shell - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_create.md b/charts/loki-distributed/helm_create.md deleted file mode 100644 index 3d281b65b9..0000000000 --- a/charts/loki-distributed/helm_create.md +++ /dev/null @@ -1,69 +0,0 @@ -## helm create - -create a new chart with the given name - -### Synopsis - - -This command creates a chart directory along with the common files and -directories used in a chart. - -For example, 'helm create foo' will create a directory structure that looks -something like this: - - foo/ - ├── .helmignore # Contains patterns to ignore when packaging Helm charts. - ├── Chart.yaml # Information about your chart - ├── values.yaml # The default values for your templates - ├── charts/ # Charts that this chart depends on - └── templates/ # The template files - └── tests/ # The test files - -'helm create' takes a path for an argument. If directories in the given path -do not exist, Helm will attempt to create them as it goes. If the given -destination exists and there are files in that directory, conflicting files -will be overwritten, but other files will be left alone. - - -``` -helm create NAME [flags] -``` - -### Options - -``` - -h, --help help for create - -p, --starter string the name or absolute path to Helm starter scaffold -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_dependency.md b/charts/loki-distributed/helm_dependency.md deleted file mode 100644 index 0f938cee0b..0000000000 --- a/charts/loki-distributed/helm_dependency.md +++ /dev/null @@ -1,94 +0,0 @@ -## helm dependency - -manage a chart's dependencies - -### Synopsis - - -Manage the dependencies of a chart. - -Helm charts store their dependencies in 'charts/'. For chart developers, it is -often easier to manage dependencies in 'Chart.yaml' which declares all -dependencies. - -The dependency commands operate on that file, making it easy to synchronize -between the desired dependencies and the actual dependencies stored in the -'charts/' directory. - -For example, this Chart.yaml declares two dependencies: - - # Chart.yaml - dependencies: - - name: nginx - version: "1.2.3" - repository: "https://example.com/charts" - - name: memcached - version: "3.2.1" - repository: "https://another.example.com/charts" - - -The 'name' should be the name of a chart, where that name must match the name -in that chart's 'Chart.yaml' file. - -The 'version' field should contain a semantic version or version range. - -The 'repository' URL should point to a Chart Repository. Helm expects that by -appending '/index.yaml' to the URL, it should be able to retrieve the chart -repository's index. Note: 'repository' can be an alias. The alias must start -with 'alias:' or '@'. - -Starting from 2.2.0, repository can be defined as the path to the directory of -the dependency charts stored locally. The path should start with a prefix of -"file://". For example, - - # Chart.yaml - dependencies: - - name: nginx - version: "1.2.3" - repository: "file://../dependency_chart/nginx" - -If the dependency chart is retrieved locally, it is not required to have the -repository added to helm by "helm add repo". Version matching is also supported -for this case. - - -### Options - -``` - -h, --help help for dependency -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. -* [helm dependency build](helm_dependency_build.md) - rebuild the charts/ directory based on the Chart.lock file -* [helm dependency list](helm_dependency_list.md) - list the dependencies for the given chart -* [helm dependency update](helm_dependency_update.md) - update charts/ based on the contents of Chart.yaml - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_dependency_build.md b/charts/loki-distributed/helm_dependency_build.md deleted file mode 100644 index da7e75fe1f..0000000000 --- a/charts/loki-distributed/helm_dependency_build.md +++ /dev/null @@ -1,60 +0,0 @@ -## helm dependency build - -rebuild the charts/ directory based on the Chart.lock file - -### Synopsis - - -Build out the charts/ directory from the Chart.lock file. - -Build is used to reconstruct a chart's dependencies to the state specified in -the lock file. This will not re-negotiate dependencies, as 'helm dependency update' -does. - -If no lock file is found, 'helm dependency build' will mirror the behavior -of 'helm dependency update'. - - -``` -helm dependency build CHART [flags] -``` - -### Options - -``` - -h, --help help for build - --keyring string keyring containing public keys (default "/Users/cmooney/.gnupg/pubring.gpg") - --verify verify the packages against signatures -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm dependency](helm_dependency.md) - manage a chart's dependencies - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_dependency_list.md b/charts/loki-distributed/helm_dependency_list.md deleted file mode 100644 index ef924d6c45..0000000000 --- a/charts/loki-distributed/helm_dependency_list.md +++ /dev/null @@ -1,56 +0,0 @@ -## helm dependency list - -list the dependencies for the given chart - -### Synopsis - - -List all of the dependencies declared in a chart. - -This can take chart archives and chart directories as input. It will not alter -the contents of a chart. - -This will produce an error if the chart cannot be loaded. - - -``` -helm dependency list CHART [flags] -``` - -### Options - -``` - -h, --help help for list -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm dependency](helm_dependency.md) - manage a chart's dependencies - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_dependency_update.md b/charts/loki-distributed/helm_dependency_update.md deleted file mode 100644 index 9ec19da330..0000000000 --- a/charts/loki-distributed/helm_dependency_update.md +++ /dev/null @@ -1,65 +0,0 @@ -## helm dependency update - -update charts/ based on the contents of Chart.yaml - -### Synopsis - - -Update the on-disk dependencies to mirror Chart.yaml. - -This command verifies that the required charts, as expressed in 'Chart.yaml', -are present in 'charts/' and are at an acceptable version. It will pull down -the latest charts that satisfy the dependencies, and clean up old dependencies. - -On successful update, this will generate a lock file that can be used to -rebuild the dependencies to an exact version. - -Dependencies are not required to be represented in 'Chart.yaml'. For that -reason, an update command will not remove charts unless they are (a) present -in the Chart.yaml file, but (b) at the wrong version. - - -``` -helm dependency update CHART [flags] -``` - -### Options - -``` - -h, --help help for update - --keyring string keyring containing public keys (default "/Users/cmooney/.gnupg/pubring.gpg") - --skip-refresh do not refresh the local repository cache - --verify verify the packages against signatures -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm dependency](helm_dependency.md) - manage a chart's dependencies - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_env.md b/charts/loki-distributed/helm_env.md deleted file mode 100644 index 6450059703..0000000000 --- a/charts/loki-distributed/helm_env.md +++ /dev/null @@ -1,51 +0,0 @@ -## helm env - -helm client environment information - -### Synopsis - - -Env prints out all the environment information in use by Helm. - - -``` -helm env [flags] -``` - -### Options - -``` - -h, --help help for env -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_get.md b/charts/loki-distributed/helm_get.md deleted file mode 100644 index dda0b4e0f2..0000000000 --- a/charts/loki-distributed/helm_get.md +++ /dev/null @@ -1,58 +0,0 @@ -## helm get - -download extended information of a named release - -### Synopsis - - -This command consists of multiple subcommands which can be used to -get extended information about the release, including: - -- The values used to generate the release -- The generated manifest file -- The notes provided by the chart of the release -- The hooks associated with the release - - -### Options - -``` - -h, --help help for get -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. -* [helm get all](helm_get_all.md) - download all information for a named release -* [helm get hooks](helm_get_hooks.md) - download all hooks for a named release -* [helm get manifest](helm_get_manifest.md) - download the manifest for a named release -* [helm get notes](helm_get_notes.md) - download the notes for a named release -* [helm get values](helm_get_values.md) - download the values file for a named release - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_get_all.md b/charts/loki-distributed/helm_get_all.md deleted file mode 100644 index 35944bb9b5..0000000000 --- a/charts/loki-distributed/helm_get_all.md +++ /dev/null @@ -1,54 +0,0 @@ -## helm get all - -download all information for a named release - -### Synopsis - - -This command prints a human readable collection of information about the -notes, hooks, supplied values, and generated manifest file of the given release. - - -``` -helm get all RELEASE_NAME [flags] -``` - -### Options - -``` - -h, --help help for all - --revision int get the named release with revision - --template string go template for formatting the output, eg: {{.Release.Name}} -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm get](helm_get.md) - download extended information of a named release - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_get_hooks.md b/charts/loki-distributed/helm_get_hooks.md deleted file mode 100644 index 8fc5fb6860..0000000000 --- a/charts/loki-distributed/helm_get_hooks.md +++ /dev/null @@ -1,54 +0,0 @@ -## helm get hooks - -download all hooks for a named release - -### Synopsis - - -This command downloads hooks for a given release. - -Hooks are formatted in YAML and separated by the YAML '---\n' separator. - - -``` -helm get hooks RELEASE_NAME [flags] -``` - -### Options - -``` - -h, --help help for hooks - --revision int get the named release with revision -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm get](helm_get.md) - download extended information of a named release - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_get_manifest.md b/charts/loki-distributed/helm_get_manifest.md deleted file mode 100644 index 0e0909fb10..0000000000 --- a/charts/loki-distributed/helm_get_manifest.md +++ /dev/null @@ -1,56 +0,0 @@ -## helm get manifest - -download the manifest for a named release - -### Synopsis - - -This command fetches the generated manifest for a given release. - -A manifest is a YAML-encoded representation of the Kubernetes resources that -were generated from this release's chart(s). If a chart is dependent on other -charts, those resources will also be included in the manifest. - - -``` -helm get manifest RELEASE_NAME [flags] -``` - -### Options - -``` - -h, --help help for manifest - --revision int get the named release with revision -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm get](helm_get.md) - download extended information of a named release - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_get_notes.md b/charts/loki-distributed/helm_get_notes.md deleted file mode 100644 index 59752e2177..0000000000 --- a/charts/loki-distributed/helm_get_notes.md +++ /dev/null @@ -1,52 +0,0 @@ -## helm get notes - -download the notes for a named release - -### Synopsis - - -This command shows notes provided by the chart of a named release. - - -``` -helm get notes RELEASE_NAME [flags] -``` - -### Options - -``` - -h, --help help for notes - --revision int get the named release with revision -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm get](helm_get.md) - download extended information of a named release - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_get_values.md b/charts/loki-distributed/helm_get_values.md deleted file mode 100644 index bcfe92e3bb..0000000000 --- a/charts/loki-distributed/helm_get_values.md +++ /dev/null @@ -1,54 +0,0 @@ -## helm get values - -download the values file for a named release - -### Synopsis - - -This command downloads a values file for a given release. - - -``` -helm get values RELEASE_NAME [flags] -``` - -### Options - -``` - -a, --all dump all (computed) values - -h, --help help for values - -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) - --revision int get the named release with revision -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm get](helm_get.md) - download extended information of a named release - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_history.md b/charts/loki-distributed/helm_history.md deleted file mode 100644 index 9c8a595cc4..0000000000 --- a/charts/loki-distributed/helm_history.md +++ /dev/null @@ -1,65 +0,0 @@ -## helm history - -fetch release history - -### Synopsis - - -History prints historical revisions for a given release. - -A default maximum of 256 revisions will be returned. Setting '--max' -configures the maximum length of the revision list returned. - -The historical release set is printed as a formatted table, e.g: - - $ helm history angry-bird - REVISION UPDATED STATUS CHART APP VERSION DESCRIPTION - 1 Mon Oct 3 10:15:13 2016 superseded alpine-0.1.0 1.0 Initial install - 2 Mon Oct 3 10:15:13 2016 superseded alpine-0.1.0 1.0 Upgraded successfully - 3 Mon Oct 3 10:15:13 2016 superseded alpine-0.1.0 1.0 Rolled back to 2 - 4 Mon Oct 3 10:15:13 2016 deployed alpine-0.1.0 1.0 Upgraded successfully - - -``` -helm history RELEASE_NAME [flags] -``` - -### Options - -``` - -h, --help help for history - --max int maximum number of revision to include in history (default 256) - -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_install.md b/charts/loki-distributed/helm_install.md deleted file mode 100644 index 34682ab4fe..0000000000 --- a/charts/loki-distributed/helm_install.md +++ /dev/null @@ -1,145 +0,0 @@ -## helm install - -install a chart - -### Synopsis - - -This command installs a chart archive. - -The install argument must be a chart reference, a path to a packaged chart, -a path to an unpacked chart directory or a URL. - -To override values in a chart, use either the '--values' flag and pass in a file -or use the '--set' flag and pass configuration from the command line, to force -a string value use '--set-string'. In case a value is large and therefore -you want not to use neither '--values' nor '--set', use '--set-file' to read the -single large value from file. - - $ helm install -f myvalues.yaml myredis ./redis - -or - - $ helm install --set name=prod myredis ./redis - -or - - $ helm install --set-string long_int=1234567890 myredis ./redis - -or - - $ helm install --set-file my_script=dothings.sh myredis ./redis - -You can specify the '--values'/'-f' flag multiple times. The priority will be given to the -last (right-most) file specified. For example, if both myvalues.yaml and override.yaml -contained a key called 'Test', the value set in override.yaml would take precedence: - - $ helm install -f myvalues.yaml -f override.yaml myredis ./redis - -You can specify the '--set' flag multiple times. The priority will be given to the -last (right-most) set specified. For example, if both 'bar' and 'newbar' values are -set for a key called 'foo', the 'newbar' value would take precedence: - - $ helm install --set foo=bar --set foo=newbar myredis ./redis - - -To check the generated manifests of a release without installing the chart, -the '--debug' and '--dry-run' flags can be combined. - -If --verify is set, the chart MUST have a provenance file, and the provenance -file MUST pass all verification steps. - -There are five different ways you can express the chart you want to install: - -1. By chart reference: helm install mymaria example/mariadb -2. By path to a packaged chart: helm install mynginx ./nginx-1.2.3.tgz -3. By path to an unpacked chart directory: helm install mynginx ./nginx -4. By absolute URL: helm install mynginx https://example.com/charts/nginx-1.2.3.tgz -5. By chart reference and repo url: helm install --repo https://example.com/charts/ mynginx nginx - -CHART REFERENCES - -A chart reference is a convenient way of referencing a chart in a chart repository. - -When you use a chart reference with a repo prefix ('example/mariadb'), Helm will look in the local -configuration for a chart repository named 'example', and will then look for a -chart in that repository whose name is 'mariadb'. It will install the latest stable version of that chart -until you specify '--devel' flag to also include development version (alpha, beta, and release candidate releases), or -supply a version number with the '--version' flag. - -To see the list of chart repositories, use 'helm repo list'. To search for -charts in a repository, use 'helm search'. - - -``` -helm install [NAME] [CHART] [flags] -``` - -### Options - -``` - --atomic if set, the installation process deletes the installation on failure. The --wait flag will be set automatically if --atomic is used - --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle - --cert-file string identify HTTPS client using this SSL certificate file - --create-namespace create the release namespace if not present - --dependency-update run helm dependency update before installing the chart - --description string add a custom description - --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored - --disable-openapi-validation if set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema - --dry-run simulate an install - -g, --generate-name generate the name (and omit the NAME parameter) - -h, --help help for install - --insecure-skip-tls-verify skip tls certificate checks for the chart download - --key-file string identify HTTPS client using this SSL key file - --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") - --name-template string specify template used to name the release - --no-hooks prevent hooks from running during install - -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) - --password string chart repository password where to locate the requested chart - --post-renderer postrenderer the path to an executable to be used for post rendering. If it exists in $PATH, the binary will be used, otherwise it will try to look for the executable at the given path (default exec) - --render-subchart-notes if set, render subchart notes along with the parent - --replace re-use the given name, only if that name is a deleted release which remains in the history. This is unsafe in production - --repo string chart repository url where to locate the requested chart - --set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) - --set-file stringArray set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2) - --set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) - --skip-crds if set, no CRDs will be installed. By default, CRDs are installed if not already present - --timeout duration time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s) - --username string chart repository username where to locate the requested chart - -f, --values strings specify values in a YAML file or a URL (can specify multiple) - --verify verify the package before using it - --version string specify the exact chart version to use. If this is not specified, the latest version is used - --wait if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_lint.md b/charts/loki-distributed/helm_lint.md deleted file mode 100644 index 5948158bff..0000000000 --- a/charts/loki-distributed/helm_lint.md +++ /dev/null @@ -1,62 +0,0 @@ -## helm lint - -examine a chart for possible issues - -### Synopsis - - -This command takes a path to a chart and runs a series of tests to verify that -the chart is well-formed. - -If the linter encounters things that will cause the chart to fail installation, -it will emit [ERROR] messages. If it encounters issues that break with convention -or recommendation, it will emit [WARNING] messages. - - -``` -helm lint PATH [flags] -``` - -### Options - -``` - -h, --help help for lint - --set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) - --set-file stringArray set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2) - --set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) - --strict fail on lint warnings - -f, --values strings specify values in a YAML file or a URL (can specify multiple) - --with-subcharts lint dependent charts -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_list.md b/charts/loki-distributed/helm_list.md deleted file mode 100644 index 1e0eeaf9ae..0000000000 --- a/charts/loki-distributed/helm_list.md +++ /dev/null @@ -1,89 +0,0 @@ -## helm list - -list releases - -### Synopsis - - -This command lists all of the releases for a specified namespace (uses current namespace context if namespace not specified). - -By default, it lists only releases that are deployed or failed. Flags like -'--uninstalled' and '--all' will alter this behavior. Such flags can be combined: -'--uninstalled --failed'. - -By default, items are sorted alphabetically. Use the '-d' flag to sort by -release date. - -If the --filter flag is provided, it will be treated as a filter. Filters are -regular expressions (Perl compatible) that are applied to the list of releases. -Only items that match the filter will be returned. - - $ helm list --filter 'ara[a-z]+' - NAME UPDATED CHART - maudlin-arachnid Mon May 9 16:07:08 2016 alpine-0.1.0 - -If no results are found, 'helm list' will exit 0, but with no output (or in -the case of no '-q' flag, only headers). - -By default, up to 256 items may be returned. To limit this, use the '--max' flag. -Setting '--max' to 0 will not return all results. Rather, it will return the -server's default, which may be much higher than 256. Pairing the '--max' -flag with the '--offset' flag allows you to page through results. - - -``` -helm list [flags] -``` - -### Options - -``` - -a, --all show all releases without any filter applied - -A, --all-namespaces list releases across all namespaces - -d, --date sort by release date - --deployed show deployed releases. If no other is specified, this will be automatically enabled - --failed show failed releases - -f, --filter string a regular expression (Perl compatible). Any releases that match the expression will be included in the results - -h, --help help for list - -m, --max int maximum number of releases to fetch (default 256) - --offset int next release name in the list, used to offset from start value - -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) - --pending show pending releases - -r, --reverse reverse the sort order - -q, --short output short (quiet) listing format - --superseded show superseded releases - --uninstalled show uninstalled releases (if 'helm uninstall --keep-history' was used) - --uninstalling show releases that are currently being uninstalled -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_package.md b/charts/loki-distributed/helm_package.md deleted file mode 100644 index 44b8fb1848..0000000000 --- a/charts/loki-distributed/helm_package.md +++ /dev/null @@ -1,70 +0,0 @@ -## helm package - -package a chart directory into a chart archive - -### Synopsis - - -This command packages a chart into a versioned chart archive file. If a path -is given, this will look at that path for a chart (which must contain a -Chart.yaml file) and then package that directory. - -Versioned chart archives are used by Helm package repositories. - -To sign a chart, use the '--sign' flag. In most cases, you should also -provide '--keyring path/to/secret/keys' and '--key keyname'. - - $ helm package --sign ./mychart --key mykey --keyring ~/.gnupg/secring.gpg - -If '--keyring' is not specified, Helm usually defaults to the public keyring -unless your environment is otherwise configured. - - -``` -helm package [CHART_PATH] [...] [flags] -``` - -### Options - -``` - --app-version string set the appVersion on the chart to this version - -u, --dependency-update update dependencies from "Chart.yaml" to dir "charts/" before packaging - -d, --destination string location to write the chart. (default ".") - -h, --help help for package - --key string name of the key to use when signing. Used if --sign is true - --keyring string location of a public keyring (default "/Users/cmooney/.gnupg/pubring.gpg") - --sign use a PGP private key to sign this package - --version string set the version on the chart to this semver version -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_plugin.md b/charts/loki-distributed/helm_plugin.md deleted file mode 100644 index e1a8c88d89..0000000000 --- a/charts/loki-distributed/helm_plugin.md +++ /dev/null @@ -1,51 +0,0 @@ -## helm plugin - -install, list, or uninstall Helm plugins - -### Synopsis - - -Manage client-side Helm plugins. - - -### Options - -``` - -h, --help help for plugin -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. -* [helm plugin install](helm_plugin_install.md) - install one or more Helm plugins -* [helm plugin list](helm_plugin_list.md) - list installed Helm plugins -* [helm plugin uninstall](helm_plugin_uninstall.md) - uninstall one or more Helm plugins -* [helm plugin update](helm_plugin_update.md) - update one or more Helm plugins - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_plugin_install.md b/charts/loki-distributed/helm_plugin_install.md deleted file mode 100644 index 3f8b6b7fd3..0000000000 --- a/charts/loki-distributed/helm_plugin_install.md +++ /dev/null @@ -1,52 +0,0 @@ -## helm plugin install - -install one or more Helm plugins - -### Synopsis - - -This command allows you to install a plugin from a url to a VCS repo or a local path. - - -``` -helm plugin install [options] ... [flags] -``` - -### Options - -``` - -h, --help help for install - --version string specify a version constraint. If this is not specified, the latest version is installed -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm plugin](helm_plugin.md) - install, list, or uninstall Helm plugins - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_plugin_list.md b/charts/loki-distributed/helm_plugin_list.md deleted file mode 100644 index 8a1d8695ab..0000000000 --- a/charts/loki-distributed/helm_plugin_list.md +++ /dev/null @@ -1,49 +0,0 @@ -## helm plugin list - -list installed Helm plugins - -### Synopsis - -list installed Helm plugins - -``` -helm plugin list [flags] -``` - -### Options - -``` - -h, --help help for list -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm plugin](helm_plugin.md) - install, list, or uninstall Helm plugins - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_plugin_uninstall.md b/charts/loki-distributed/helm_plugin_uninstall.md deleted file mode 100644 index bf654cd0fb..0000000000 --- a/charts/loki-distributed/helm_plugin_uninstall.md +++ /dev/null @@ -1,49 +0,0 @@ -## helm plugin uninstall - -uninstall one or more Helm plugins - -### Synopsis - -uninstall one or more Helm plugins - -``` -helm plugin uninstall ... [flags] -``` - -### Options - -``` - -h, --help help for uninstall -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm plugin](helm_plugin.md) - install, list, or uninstall Helm plugins - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_plugin_update.md b/charts/loki-distributed/helm_plugin_update.md deleted file mode 100644 index 54f4509da8..0000000000 --- a/charts/loki-distributed/helm_plugin_update.md +++ /dev/null @@ -1,49 +0,0 @@ -## helm plugin update - -update one or more Helm plugins - -### Synopsis - -update one or more Helm plugins - -``` -helm plugin update ... [flags] -``` - -### Options - -``` - -h, --help help for update -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm plugin](helm_plugin.md) - install, list, or uninstall Helm plugins - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_pull.md b/charts/loki-distributed/helm_pull.md deleted file mode 100644 index 10421cd010..0000000000 --- a/charts/loki-distributed/helm_pull.md +++ /dev/null @@ -1,77 +0,0 @@ -## helm pull - -download a chart from a repository and (optionally) unpack it in local directory - -### Synopsis - - -Retrieve a package from a package repository, and download it locally. - -This is useful for fetching packages to inspect, modify, or repackage. It can -also be used to perform cryptographic verification of a chart without installing -the chart. - -There are options for unpacking the chart after download. This will create a -directory for the chart and uncompress into that directory. - -If the --verify flag is specified, the requested chart MUST have a provenance -file, and MUST pass the verification process. Failure in any part of this will -result in an error, and the chart will not be saved locally. - - -``` -helm pull [chart URL | repo/chartname] [...] [flags] -``` - -### Options - -``` - --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle - --cert-file string identify HTTPS client using this SSL certificate file - -d, --destination string location to write the chart. If this and tardir are specified, tardir is appended to this (default ".") - --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored. - -h, --help help for pull - --insecure-skip-tls-verify skip tls certificate checks for the chart download - --key-file string identify HTTPS client using this SSL key file - --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") - --password string chart repository password where to locate the requested chart - --prov fetch the provenance file, but don't perform verification - --repo string chart repository url where to locate the requested chart - --untar if set to true, will untar the chart after downloading it - --untardir string if untar is specified, this flag specifies the name of the directory into which the chart is expanded (default ".") - --username string chart repository username where to locate the requested chart - --verify verify the package before using it - --version string specify the exact chart version to use. If this is not specified, the latest version is used -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_repo.md b/charts/loki-distributed/helm_repo.md deleted file mode 100644 index 2e552bfe46..0000000000 --- a/charts/loki-distributed/helm_repo.md +++ /dev/null @@ -1,54 +0,0 @@ -## helm repo - -add, list, remove, update, and index chart repositories - -### Synopsis - - -This command consists of multiple subcommands to interact with chart repositories. - -It can be used to add, remove, list, and index chart repositories. - - -### Options - -``` - -h, --help help for repo -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. -* [helm repo add](helm_repo_add.md) - add a chart repository -* [helm repo index](helm_repo_index.md) - generate an index file given a directory containing packaged charts -* [helm repo list](helm_repo_list.md) - list chart repositories -* [helm repo remove](helm_repo_remove.md) - remove one or more chart repositories -* [helm repo update](helm_repo_update.md) - update information of available charts locally from chart repositories - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_repo_add.md b/charts/loki-distributed/helm_repo_add.md deleted file mode 100644 index dbb671a7b6..0000000000 --- a/charts/loki-distributed/helm_repo_add.md +++ /dev/null @@ -1,56 +0,0 @@ -## helm repo add - -add a chart repository - -### Synopsis - -add a chart repository - -``` -helm repo add [NAME] [URL] [flags] -``` - -### Options - -``` - --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle - --cert-file string identify HTTPS client using this SSL certificate file - -h, --help help for add - --insecure-skip-tls-verify skip tls certificate checks for the repository - --key-file string identify HTTPS client using this SSL key file - --no-update raise error if repo is already registered - --password string chart repository password - --username string chart repository username -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_repo_index.md b/charts/loki-distributed/helm_repo_index.md deleted file mode 100644 index ea7cf7fabe..0000000000 --- a/charts/loki-distributed/helm_repo_index.md +++ /dev/null @@ -1,60 +0,0 @@ -## helm repo index - -generate an index file given a directory containing packaged charts - -### Synopsis - - -Read the current directory and generate an index file based on the charts found. - -This tool is used for creating an 'index.yaml' file for a chart repository. To -set an absolute URL to the charts, use '--url' flag. - -To merge the generated index with an existing index file, use the '--merge' -flag. In this case, the charts found in the current directory will be merged -into the existing index, with local charts taking priority over existing charts. - - -``` -helm repo index [DIR] [flags] -``` - -### Options - -``` - -h, --help help for index - --merge string merge the generated index into the given index - --url string url of chart repository -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_repo_list.md b/charts/loki-distributed/helm_repo_list.md deleted file mode 100644 index abda07e94e..0000000000 --- a/charts/loki-distributed/helm_repo_list.md +++ /dev/null @@ -1,50 +0,0 @@ -## helm repo list - -list chart repositories - -### Synopsis - -list chart repositories - -``` -helm repo list [flags] -``` - -### Options - -``` - -h, --help help for list - -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_repo_remove.md b/charts/loki-distributed/helm_repo_remove.md deleted file mode 100644 index cc576790f9..0000000000 --- a/charts/loki-distributed/helm_repo_remove.md +++ /dev/null @@ -1,49 +0,0 @@ -## helm repo remove - -remove one or more chart repositories - -### Synopsis - -remove one or more chart repositories - -``` -helm repo remove [REPO1 [REPO2 ...]] [flags] -``` - -### Options - -``` - -h, --help help for remove -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_repo_update.md b/charts/loki-distributed/helm_repo_update.md deleted file mode 100644 index b222472b7d..0000000000 --- a/charts/loki-distributed/helm_repo_update.md +++ /dev/null @@ -1,52 +0,0 @@ -## helm repo update - -update information of available charts locally from chart repositories - -### Synopsis - - -Update gets the latest information about charts from the respective chart repositories. -Information is cached locally, where it is used by commands like 'helm search'. - - -``` -helm repo update [flags] -``` - -### Options - -``` - -h, --help help for update -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm repo](helm_repo.md) - add, list, remove, update, and index chart repositories - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_rollback.md b/charts/loki-distributed/helm_rollback.md deleted file mode 100644 index 5afbc1e6be..0000000000 --- a/charts/loki-distributed/helm_rollback.md +++ /dev/null @@ -1,64 +0,0 @@ -## helm rollback - -roll back a release to a previous revision - -### Synopsis - - -This command rolls back a release to a previous revision. - -The first argument of the rollback command is the name of a release, and the -second is a revision (version) number. If this argument is omitted, it will -roll back to the previous release. - -To see revision numbers, run 'helm history RELEASE'. - - -``` -helm rollback [REVISION] [flags] -``` - -### Options - -``` - --cleanup-on-fail allow deletion of new resources created in this rollback when rollback fails - --dry-run simulate a rollback - --force force resource update through delete/recreate if needed - -h, --help help for rollback - --no-hooks prevent hooks from running during rollback - --recreate-pods performs pods restart for the resource if applicable - --timeout duration time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s) - --wait if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_search.md b/charts/loki-distributed/helm_search.md deleted file mode 100644 index 81b01f4a0c..0000000000 --- a/charts/loki-distributed/helm_search.md +++ /dev/null @@ -1,51 +0,0 @@ -## helm search - -search for a keyword in charts - -### Synopsis - - -Search provides the ability to search for Helm charts in the various places -they can be stored including the Helm Hub and repositories you have added. Use -search subcommands to search different locations for charts. - - -### Options - -``` - -h, --help help for search -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. -* [helm search hub](helm_search_hub.md) - search for charts in the Helm Hub or an instance of Monocular -* [helm search repo](helm_search_repo.md) - search repositories for a keyword in charts - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_search_hub.md b/charts/loki-distributed/helm_search_hub.md deleted file mode 100644 index 3dee53f7d0..0000000000 --- a/charts/loki-distributed/helm_search_hub.md +++ /dev/null @@ -1,62 +0,0 @@ -## helm search hub - -search for charts in the Helm Hub or an instance of Monocular - -### Synopsis - - -Search the Helm Hub or an instance of Monocular for Helm charts. - -The Helm Hub provides a centralized search for publicly available distributed -charts. It is maintained by the Helm project. It can be visited at -https://hub.helm.sh - -Monocular is a web-based application that enables the search and discovery of -charts from multiple Helm Chart repositories. It is the codebase that powers the -Helm Hub. You can find it at https://github.com/helm/monocular - - -``` -helm search hub [keyword] [flags] -``` - -### Options - -``` - --endpoint string monocular instance to query for charts (default "https://hub.helm.sh") - -h, --help help for hub - --max-col-width uint maximum column width for output table (default 50) - -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm search](helm_search.md) - search for a keyword in charts - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_search_repo.md b/charts/loki-distributed/helm_search_repo.md deleted file mode 100644 index edd52bd55c..0000000000 --- a/charts/loki-distributed/helm_search_repo.md +++ /dev/null @@ -1,76 +0,0 @@ -## helm search repo - -search repositories for a keyword in charts - -### Synopsis - - -Search reads through all of the repositories configured on the system, and -looks for matches. Search of these repositories uses the metadata stored on -the system. - -It will display the latest stable versions of the charts found. If you -specify the --devel flag, the output will include pre-release versions. -If you want to search using a version constraint, use --version. - -Examples: - - # Search for stable release versions matching the keyword "nginx" - $ helm search repo nginx - - # Search for release versions matching the keyword "nginx", including pre-release versions - $ helm search repo nginx --devel - - # Search for the latest stable release for nginx-ingress with a major version of 1 - $ helm search repo nginx-ingress --version ^1.0.0 - -Repositories are managed with 'helm repo' commands. - - -``` -helm search repo [keyword] [flags] -``` - -### Options - -``` - --devel use development versions (alpha, beta, and release candidate releases), too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored - -h, --help help for repo - --max-col-width uint maximum column width for output table (default 50) - -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) - -r, --regexp use regular expressions for searching repositories you have added - --version string search using semantic versioning constraints on repositories you have added - -l, --versions show the long listing, with each version of each chart on its own line, for repositories you have added -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm search](helm_search.md) - search for a keyword in charts - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_show.md b/charts/loki-distributed/helm_show.md deleted file mode 100644 index 73594810fa..0000000000 --- a/charts/loki-distributed/helm_show.md +++ /dev/null @@ -1,51 +0,0 @@ -## helm show - -show information of a chart - -### Synopsis - - -This command consists of multiple subcommands to display information about a chart - - -### Options - -``` - -h, --help help for show -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. -* [helm show all](helm_show_all.md) - show all information of the chart -* [helm show chart](helm_show_chart.md) - show the chart's definition -* [helm show readme](helm_show_readme.md) - show the chart's README -* [helm show values](helm_show_values.md) - show the chart's values - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_show_all.md b/charts/loki-distributed/helm_show_all.md deleted file mode 100644 index 1eccc7092e..0000000000 --- a/charts/loki-distributed/helm_show_all.md +++ /dev/null @@ -1,63 +0,0 @@ -## helm show all - -show all information of the chart - -### Synopsis - - -This command inspects a chart (directory, file, or URL) and displays all its content -(values.yaml, Charts.yaml, README) - - -``` -helm show all [CHART] [flags] -``` - -### Options - -``` - --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle - --cert-file string identify HTTPS client using this SSL certificate file - --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored - -h, --help help for all - --insecure-skip-tls-verify skip tls certificate checks for the chart download - --key-file string identify HTTPS client using this SSL key file - --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") - --password string chart repository password where to locate the requested chart - --repo string chart repository url where to locate the requested chart - --username string chart repository username where to locate the requested chart - --verify verify the package before using it - --version string specify the exact chart version to use. If this is not specified, the latest version is used -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm show](helm_show.md) - show information of a chart - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_show_chart.md b/charts/loki-distributed/helm_show_chart.md deleted file mode 100644 index 328800900a..0000000000 --- a/charts/loki-distributed/helm_show_chart.md +++ /dev/null @@ -1,63 +0,0 @@ -## helm show chart - -show the chart's definition - -### Synopsis - - -This command inspects a chart (directory, file, or URL) and displays the contents -of the Charts.yaml file - - -``` -helm show chart [CHART] [flags] -``` - -### Options - -``` - --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle - --cert-file string identify HTTPS client using this SSL certificate file - --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored - -h, --help help for chart - --insecure-skip-tls-verify skip tls certificate checks for the chart download - --key-file string identify HTTPS client using this SSL key file - --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") - --password string chart repository password where to locate the requested chart - --repo string chart repository url where to locate the requested chart - --username string chart repository username where to locate the requested chart - --verify verify the package before using it - --version string specify the exact chart version to use. If this is not specified, the latest version is used -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm show](helm_show.md) - show information of a chart - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_show_readme.md b/charts/loki-distributed/helm_show_readme.md deleted file mode 100644 index b01c9e756b..0000000000 --- a/charts/loki-distributed/helm_show_readme.md +++ /dev/null @@ -1,63 +0,0 @@ -## helm show readme - -show the chart's README - -### Synopsis - - -This command inspects a chart (directory, file, or URL) and displays the contents -of the README file - - -``` -helm show readme [CHART] [flags] -``` - -### Options - -``` - --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle - --cert-file string identify HTTPS client using this SSL certificate file - --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored - -h, --help help for readme - --insecure-skip-tls-verify skip tls certificate checks for the chart download - --key-file string identify HTTPS client using this SSL key file - --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") - --password string chart repository password where to locate the requested chart - --repo string chart repository url where to locate the requested chart - --username string chart repository username where to locate the requested chart - --verify verify the package before using it - --version string specify the exact chart version to use. If this is not specified, the latest version is used -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm show](helm_show.md) - show information of a chart - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_show_values.md b/charts/loki-distributed/helm_show_values.md deleted file mode 100644 index cdf3b82920..0000000000 --- a/charts/loki-distributed/helm_show_values.md +++ /dev/null @@ -1,63 +0,0 @@ -## helm show values - -show the chart's values - -### Synopsis - - -This command inspects a chart (directory, file, or URL) and displays the contents -of the values.yaml file - - -``` -helm show values [CHART] [flags] -``` - -### Options - -``` - --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle - --cert-file string identify HTTPS client using this SSL certificate file - --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored - -h, --help help for values - --insecure-skip-tls-verify skip tls certificate checks for the chart download - --key-file string identify HTTPS client using this SSL key file - --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") - --password string chart repository password where to locate the requested chart - --repo string chart repository url where to locate the requested chart - --username string chart repository username where to locate the requested chart - --verify verify the package before using it - --version string specify the exact chart version to use. If this is not specified, the latest version is used -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm show](helm_show.md) - show information of a chart - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_status.md b/charts/loki-distributed/helm_status.md deleted file mode 100644 index f4fa9f8f52..0000000000 --- a/charts/loki-distributed/helm_status.md +++ /dev/null @@ -1,60 +0,0 @@ -## helm status - -display the status of the named release - -### Synopsis - - -This command shows the status of a named release. -The status consists of: -- last deployment time -- k8s namespace in which the release lives -- state of the release (can be: unknown, deployed, uninstalled, superseded, failed, uninstalling, pending-install, pending-upgrade or pending-rollback) -- list of resources that this release consists of, sorted by kind -- details on last test suite run, if applicable -- additional notes provided by the chart - - -``` -helm status RELEASE_NAME [flags] -``` - -### Options - -``` - -h, --help help for status - -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) - --revision int if set, display the status of the named release with revision -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_template.md b/charts/loki-distributed/helm_template.md deleted file mode 100644 index 71bac02761..0000000000 --- a/charts/loki-distributed/helm_template.md +++ /dev/null @@ -1,92 +0,0 @@ -## helm template - -locally render templates - -### Synopsis - - -Render chart templates locally and display the output. - -Any values that would normally be looked up or retrieved in-cluster will be -faked locally. Additionally, none of the server-side testing of chart validity -(e.g. whether an API is supported) is done. - - -``` -helm template [NAME] [CHART] [flags] -``` - -### Options - -``` - -a, --api-versions stringArray Kubernetes api versions used for Capabilities.APIVersions - --atomic if set, the installation process deletes the installation on failure. The --wait flag will be set automatically if --atomic is used - --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle - --cert-file string identify HTTPS client using this SSL certificate file - --create-namespace create the release namespace if not present - --dependency-update run helm dependency update before installing the chart - --description string add a custom description - --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored - --disable-openapi-validation if set, the installation process will not validate rendered templates against the Kubernetes OpenAPI Schema - --dry-run simulate an install - -g, --generate-name generate the name (and omit the NAME parameter) - -h, --help help for template - --include-crds include CRDs in the templated output - --insecure-skip-tls-verify skip tls certificate checks for the chart download - --is-upgrade set .Release.IsUpgrade instead of .Release.IsInstall - --key-file string identify HTTPS client using this SSL key file - --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") - --name-template string specify template used to name the release - --no-hooks prevent hooks from running during install - --output-dir string writes the executed templates to files in output-dir instead of stdout - --password string chart repository password where to locate the requested chart - --post-renderer postrenderer the path to an executable to be used for post rendering. If it exists in $PATH, the binary will be used, otherwise it will try to look for the executable at the given path (default exec) - --release-name use release name in the output-dir path. - --render-subchart-notes if set, render subchart notes along with the parent - --replace re-use the given name, only if that name is a deleted release which remains in the history. This is unsafe in production - --repo string chart repository url where to locate the requested chart - --set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) - --set-file stringArray set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2) - --set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) - -s, --show-only stringArray only show manifests rendered from the given templates - --skip-crds if set, no CRDs will be installed. By default, CRDs are installed if not already present - --timeout duration time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s) - --username string chart repository username where to locate the requested chart - --validate validate your manifests against the Kubernetes cluster you are currently pointing at. This is the same validation performed on an install - -f, --values strings specify values in a YAML file or a URL (can specify multiple) - --verify verify the package before using it - --version string specify the exact chart version to use. If this is not specified, the latest version is used - --wait if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_test.md b/charts/loki-distributed/helm_test.md deleted file mode 100644 index 75c65889bf..0000000000 --- a/charts/loki-distributed/helm_test.md +++ /dev/null @@ -1,56 +0,0 @@ -## helm test - -run tests for a release - -### Synopsis - - -The test command runs the tests for a release. - -The argument this command takes is the name of a deployed release. -The tests to be run are defined in the chart that was installed. - - -``` -helm test [RELEASE] [flags] -``` - -### Options - -``` - -h, --help help for test - --logs dump the logs from test pods (this runs after all tests are complete, but before any cleanup) - --timeout duration time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s) -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_uninstall.md b/charts/loki-distributed/helm_uninstall.md deleted file mode 100644 index efe58a00a8..0000000000 --- a/charts/loki-distributed/helm_uninstall.md +++ /dev/null @@ -1,62 +0,0 @@ -## helm uninstall - -uninstall a release - -### Synopsis - - -This command takes a release name and uninstalls the release. - -It removes all of the resources associated with the last release of the chart -as well as the release history, freeing it up for future use. - -Use the '--dry-run' flag to see which releases will be uninstalled without actually -uninstalling them. - - -``` -helm uninstall RELEASE_NAME [...] [flags] -``` - -### Options - -``` - --description string add a custom description - --dry-run simulate a uninstall - -h, --help help for uninstall - --keep-history remove all associated resources and mark the release as deleted, but retain the release history - --no-hooks prevent hooks from running during uninstallation - --timeout duration time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s) -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_upgrade.md b/charts/loki-distributed/helm_upgrade.md deleted file mode 100644 index 4bec354416..0000000000 --- a/charts/loki-distributed/helm_upgrade.md +++ /dev/null @@ -1,107 +0,0 @@ -## helm upgrade - -upgrade a release - -### Synopsis - - -This command upgrades a release to a new version of a chart. - -The upgrade arguments must be a release and chart. The chart -argument can be either: a chart reference('example/mariadb'), a path to a chart directory, -a packaged chart, or a fully qualified URL. For chart references, the latest -version will be specified unless the '--version' flag is set. - -To override values in a chart, use either the '--values' flag and pass in a file -or use the '--set' flag and pass configuration from the command line, to force string -values, use '--set-string'. In case a value is large and therefore -you want not to use neither '--values' nor '--set', use '--set-file' to read the -single large value from file. - -You can specify the '--values'/'-f' flag multiple times. The priority will be given to the -last (right-most) file specified. For example, if both myvalues.yaml and override.yaml -contained a key called 'Test', the value set in override.yaml would take precedence: - - $ helm upgrade -f myvalues.yaml -f override.yaml redis ./redis - -You can specify the '--set' flag multiple times. The priority will be given to the -last (right-most) set specified. For example, if both 'bar' and 'newbar' values are -set for a key called 'foo', the 'newbar' value would take precedence: - - $ helm upgrade --set foo=bar --set foo=newbar redis ./redis - - -``` -helm upgrade [RELEASE] [CHART] [flags] -``` - -### Options - -``` - --atomic if set, upgrade process rolls back changes made in case of failed upgrade. The --wait flag will be set automatically if --atomic is used - --ca-file string verify certificates of HTTPS-enabled servers using this CA bundle - --cert-file string identify HTTPS client using this SSL certificate file - --cleanup-on-fail allow deletion of new resources created in this upgrade when upgrade fails - --create-namespace if --install is set, create the release namespace if not present - --description string add a custom description - --devel use development versions, too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored - --disable-openapi-validation if set, the upgrade process will not validate rendered templates against the Kubernetes OpenAPI Schema - --dry-run simulate an upgrade - --force force resource updates through a replacement strategy - -h, --help help for upgrade - --history-max int limit the maximum number of revisions saved per release. Use 0 for no limit (default 10) - --insecure-skip-tls-verify skip tls certificate checks for the chart download - -i, --install if a release by this name doesn't already exist, run an install - --key-file string identify HTTPS client using this SSL key file - --keyring string location of public keys used for verification (default "/Users/cmooney/.gnupg/pubring.gpg") - --no-hooks disable pre/post upgrade hooks - -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table) - --password string chart repository password where to locate the requested chart - --post-renderer postrenderer the path to an executable to be used for post rendering. If it exists in $PATH, the binary will be used, otherwise it will try to look for the executable at the given path (default exec) - --render-subchart-notes if set, render subchart notes along with the parent - --repo string chart repository url where to locate the requested chart - --reset-values when upgrading, reset the values to the ones built into the chart - --reuse-values when upgrading, reuse the last release's values and merge in any overrides from the command line via --set and -f. If '--reset-values' is specified, this is ignored - --set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) - --set-file stringArray set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2) - --set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2) - --skip-crds if set, no CRDs will be installed when an upgrade is performed with install flag enabled. By default, CRDs are installed if not already present, when an upgrade is performed with install flag enabled - --timeout duration time to wait for any individual Kubernetes operation (like Jobs for hooks) (default 5m0s) - --username string chart repository username where to locate the requested chart - -f, --values strings specify values in a YAML file or a URL (can specify multiple) - --verify verify the package before using it - --version string specify the exact chart version to use. If this is not specified, the latest version is used - --wait if set, will wait until all Pods, PVCs, Services, and minimum number of Pods of a Deployment, StatefulSet, or ReplicaSet are in a ready state before marking the release as successful. It will wait for as long as --timeout -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_verify.md b/charts/loki-distributed/helm_verify.md deleted file mode 100644 index eceb46b371..0000000000 --- a/charts/loki-distributed/helm_verify.md +++ /dev/null @@ -1,59 +0,0 @@ -## helm verify - -verify that a chart at the given path has been signed and is valid - -### Synopsis - - -Verify that the given chart has a valid provenance file. - -Provenance files provide cryptographic verification that a chart has not been -tampered with, and was packaged by a trusted provider. - -This command can be used to verify a local chart. Several other commands provide -'--verify' flags that run the same validation. To generate a signed package, use -the 'helm package --sign' command. - - -``` -helm verify PATH [flags] -``` - -### Options - -``` - -h, --help help for verify - --keyring string keyring containing public keys (default "/Users/cmooney/.gnupg/pubring.gpg") -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 diff --git a/charts/loki-distributed/helm_version.md b/charts/loki-distributed/helm_version.md deleted file mode 100644 index bef498469b..0000000000 --- a/charts/loki-distributed/helm_version.md +++ /dev/null @@ -1,72 +0,0 @@ -## helm version - -print the client version information - -### Synopsis - - -Show the version for Helm. - -This will print a representation the version of Helm. -The output will look something like this: - -version.BuildInfo{Version:"v3.2.1", GitCommit:"fe51cd1e31e6a202cba7dead9552a6d418ded79a", GitTreeState:"clean", GoVersion:"go1.13.10"} - -- Version is the semantic version of the release. -- GitCommit is the SHA for the commit that this version was built from. -- GitTreeState is "clean" if there are no local code changes when this binary was - built, and "dirty" if the binary was built from locally modified code. -- GoVersion is the version of Go that was used to compile Helm. - -When using the --template flag the following properties are available to use in -the template: - -- .Version contains the semantic version of Helm -- .GitCommit is the git commit -- .GitTreeState is the state of the git tree when Helm was built -- .GoVersion contains the version of Go that Helm was compiled with - - -``` -helm version [flags] -``` - -### Options - -``` - -h, --help help for version - --short print the version number - --template string template for version string format -``` - -### Options inherited from parent commands - -``` - --add-dir-header If true, adds the file directory to the header - --alsologtostderr log to standard error as well as files - --debug enable verbose output - --kube-apiserver string the address and the port for the Kubernetes API server - --kube-context string name of the kubeconfig context to use - --kube-token string bearer token used for authentication - --kubeconfig string path to the kubeconfig file - --log-backtrace-at traceLocation when logging hits line file:N, emit a stack trace (default :0) - --log-dir string If non-empty, write log files in this directory - --log-file string If non-empty, use this log file - --log-file-max-size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800) - --logtostderr log to standard error instead of files (default true) - -n, --namespace string namespace scope for this request - --registry-config string path to the registry config file (default "/Users/cmooney/Library/Preferences/helm/registry.json") - --repository-cache string path to the file containing cached repository indexes (default "/Users/cmooney/Library/Caches/helm/repository") - --repository-config string path to the file containing repository names and URLs (default "/Users/cmooney/Library/Preferences/helm/repositories.yaml") - --skip-headers If true, avoid header prefixes in the log messages - --skip-log-headers If true, avoid headers when opening log files - --stderrthreshold severity logs at or above this threshold go to stderr (default 2) - -v, --v Level number for the log level verbosity - --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging -``` - -### SEE ALSO - -* [helm](helm.md) - The Helm package manager for Kubernetes. - -###### Auto generated by spf13/cobra on 20-Aug-2021 From 407fc5820d1e0fc0b2a6423069bb841cfc8e2d47 Mon Sep 17 00:00:00 2001 From: Kyle Schouviller Date: Fri, 3 Sep 2021 12:52:34 -0700 Subject: [PATCH 12/26] Adding envFromSecrets to allow multiple optional secrets to provide environment variables. Signed-off-by: Kyle Schouviller --- charts/grafana/Chart.yaml | 2 +- charts/grafana/templates/_pod.tpl | 10 ++++++++-- charts/grafana/values.yaml | 6 ++++++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/charts/grafana/Chart.yaml b/charts/grafana/Chart.yaml index 0075f117ab..a529632166 100644 --- a/charts/grafana/Chart.yaml +++ b/charts/grafana/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: grafana -version: 6.16.3 +version: 6.16.4 appVersion: 8.1.2 kubeVersion: '^1.8.0-0' description: The leading tool for querying and visualizing time series and metrics. diff --git a/charts/grafana/templates/_pod.tpl b/charts/grafana/templates/_pod.tpl index 3199fb3d41..1136028ca7 100644 --- a/charts/grafana/templates/_pod.tpl +++ b/charts/grafana/templates/_pod.tpl @@ -371,16 +371,22 @@ containers: - name: "{{ tpl $key $ }}" value: "{{ tpl (print $value) $ }}" {{- end }} - {{- if .Values.envFromSecret }} + {{- if or .Values.envFromSecret (or .Values.envRenderSecret .Values.envFromSecrets) }} envFrom: + {{- if .Values.envFromSecret }} - secretRef: name: {{ tpl .Values.envFromSecret . }} {{- end }} {{- if .Values.envRenderSecret }} - envFrom: - secretRef: name: {{ template "grafana.fullname" . }}-env {{- end }} + {{- range .Values.envFromSecrets }} + - secretRef: + name: {{ .name }} + optional: {{ .optional | default false }} + {{- end }} + {{- end }} livenessProbe: {{ toYaml .Values.livenessProbe | indent 6 }} readinessProbe: diff --git a/charts/grafana/values.yaml b/charts/grafana/values.yaml index 098dc43724..087c590d3e 100644 --- a/charts/grafana/values.yaml +++ b/charts/grafana/values.yaml @@ -384,6 +384,12 @@ envFromSecret: "" ## This can be useful for auth tokens, etc envRenderSecret: {} +## The names of secrets in the same kubernetes namespace which contain values to be added to the environment +## Each entry should contain a name key, and can optionally specify whether the secret must be defined with an optional key. +envFromSecrets: [] +## - name: secret-name +## optional: true + # Inject Kubernetes services as environment variables. # See https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#environment-variables enableServiceLinks: true From cd155185e8de534a3e5848811ac249707d66303d Mon Sep 17 00:00:00 2001 From: Sherif Ayad Date: Tue, 31 Aug 2021 11:28:18 +0200 Subject: [PATCH 13/26] enabled loki index gateway Signed-off-by: Sherif Ayad --- charts/loki-distributed/README.md.gotmpl | 9 ++ .../index-gateway/_helpers-index-gateway.tpl | 40 ++++++ .../poddisruptionbudget-index-gateway.yaml | 15 +++ .../service-index-gateway-headless.yaml | 22 ++++ .../index-gateway/service-index-gateway.yaml | 24 ++++ .../servicemonitor-index-gateway.yaml | 49 +++++++ .../statefulset-index-gateway.yaml | 120 ++++++++++++++++++ .../templates/querier/deployment-querier.yaml | 106 ++++++++++++++++ .../querier/service-querier-headless.yaml | 2 + .../querier/statefulset-querier.yaml | 2 + charts/loki-distributed/values.yaml | 69 ++++++++++ 11 files changed, 458 insertions(+) create mode 100644 charts/loki-distributed/templates/index-gateway/_helpers-index-gateway.tpl create mode 100644 charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml create mode 100644 charts/loki-distributed/templates/index-gateway/service-index-gateway-headless.yaml create mode 100644 charts/loki-distributed/templates/index-gateway/service-index-gateway.yaml create mode 100644 charts/loki-distributed/templates/index-gateway/servicemonitor-index-gateway.yaml create mode 100644 charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml create mode 100644 charts/loki-distributed/templates/querier/deployment-querier.yaml diff --git a/charts/loki-distributed/README.md.gotmpl b/charts/loki-distributed/README.md.gotmpl index dc44861974..68a56a85ed 100644 --- a/charts/loki-distributed/README.md.gotmpl +++ b/charts/loki-distributed/README.md.gotmpl @@ -22,6 +22,13 @@ helm repo add grafana https://grafana.github.io/helm-charts Major version upgrades listed here indicate that there is an incompatible breaking change needing manual actions. +### From 0.36.x to 0.37.0 +This version uses the Loki `index-gateway` component by default; which lets the Queriers run as `Deployment`s and not `StatefulSet`s and hence save some potential block storage costs associated with the queriers Persistent Volumes. If this behavior is not desired, make sure to set the following property: +```yaml +indexGateway: + enabled: false +``` + ### From 0.34.x to 0.35.0 This version updates the `Ingress` API Version of the Loki Gateway component to `networking.k8s.io/v1` of course given that the cluster supports it. Here it's important to notice the change in the `values.yml` with regards to the ingress configuration section and its new structure. ```yaml @@ -164,6 +171,8 @@ loki: active_index_directory: /var/loki/index shared_store: s3 cache_location: /var/loki/cache + index_gateway_client: + server_address: dns:///{{"{{"}} include "loki.indexGatewayFullname" . {{"}}"}}:9095 query_range: # make queries more cache-able by aligning them with their step intervals diff --git a/charts/loki-distributed/templates/index-gateway/_helpers-index-gateway.tpl b/charts/loki-distributed/templates/index-gateway/_helpers-index-gateway.tpl new file mode 100644 index 0000000000..f42dff3d06 --- /dev/null +++ b/charts/loki-distributed/templates/index-gateway/_helpers-index-gateway.tpl @@ -0,0 +1,40 @@ +{{/* +index-gateway fullname +*/}} +{{- define "loki.indexGatewayFullname" -}} +{{ include "loki.fullname" . }}-index-gateway +{{- end }} + +{{/* +index-gateway common labels +*/}} +{{- define "loki.indexGatewayLabels" -}} +{{ include "loki.labels" . }} +app.kubernetes.io/component: index-gateway +{{- end }} + +{{/* +index-gateway selector labels +*/}} +{{- define "loki.indexGatewaySelectorLabels" -}} +{{ include "loki.selectorLabels" . }} +app.kubernetes.io/component: index-gateway +{{- end }} + +{{/* +index-gateway image +*/}} +{{- define "loki.indexGatewayImage" -}} +{{- $dict := dict "loki" .Values.loki.image "service" .Values.indexGateway.image "global" .Values.global.image "defaultVersion" .Chart.AppVersion -}} +{{- include "loki.lokiImage" $dict -}} +{{- end }} + +{{/* +index-gateway priority class name +*/}} +{{- define "loki.indexGatewayPriorityClassName" -}} +{{- $pcn := coalesce .Values.global.priorityClassName .Values.indexGateway.priorityClassName -}} +{{- if $pcn }} +priorityClassName: {{ $pcn }} +{{- end }} +{{- end }} diff --git a/charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml b/charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml new file mode 100644 index 0000000000..d90062d400 --- /dev/null +++ b/charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml @@ -0,0 +1,15 @@ +{{- if .Values.indexGateway.enabled }} +{{- if gt (int .Values.indexGateway.replicas) 1 }} +apiVersion: policy/v1beta1 +kind: PodDisruptionBudget +metadata: + name: {{ include "loki.indexGatewayFullname" . }} + labels: + {{- include "loki.indexGatewayLabels" . | nindent 4 }} +spec: + selector: + matchLabels: + {{- include "loki.indexGatewaySelectorLabels" . | nindent 6 }} + maxUnavailable: 1 +{{- end }} +{{- end }} \ No newline at end of file diff --git a/charts/loki-distributed/templates/index-gateway/service-index-gateway-headless.yaml b/charts/loki-distributed/templates/index-gateway/service-index-gateway-headless.yaml new file mode 100644 index 0000000000..e4d9e6e368 --- /dev/null +++ b/charts/loki-distributed/templates/index-gateway/service-index-gateway-headless.yaml @@ -0,0 +1,22 @@ +{{- if .Values.indexGateway.enabled }} +apiVersion: v1 +kind: Service +metadata: + name: {{ include "loki.indexGatewayFullname" . }}-headless + labels: + {{- include "loki.indexGatewaySelectorLabels" . | nindent 4 }} +spec: + type: ClusterIP + clusterIP: None + ports: + - name: http + port: 3100 + targetPort: http + protocol: TCP + - name: grpc + port: 9095 + targetPort: grpc + protocol: TCP + selector: + {{- include "loki.indexGatewaySelectorLabels" . | nindent 4 }} +{{- end }} diff --git a/charts/loki-distributed/templates/index-gateway/service-index-gateway.yaml b/charts/loki-distributed/templates/index-gateway/service-index-gateway.yaml new file mode 100644 index 0000000000..814764f9a3 --- /dev/null +++ b/charts/loki-distributed/templates/index-gateway/service-index-gateway.yaml @@ -0,0 +1,24 @@ +{{- if .Values.indexGateway.enabled }} +apiVersion: v1 +kind: Service +metadata: + name: {{ include "loki.indexGatewayFullname" . }} + labels: + {{- include "loki.indexGatewayLabels" . | nindent 4 }} + {{- with .Values.indexGateway.serviceLabels }} + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + type: ClusterIP + ports: + - name: http + port: 3100 + targetPort: http + protocol: TCP + - name: grpc + port: 9095 + targetPort: grpc + protocol: TCP + selector: + {{- include "loki.indexGatewaySelectorLabels" . | nindent 4 }} +{{- end }} diff --git a/charts/loki-distributed/templates/index-gateway/servicemonitor-index-gateway.yaml b/charts/loki-distributed/templates/index-gateway/servicemonitor-index-gateway.yaml new file mode 100644 index 0000000000..38f59cf12c --- /dev/null +++ b/charts/loki-distributed/templates/index-gateway/servicemonitor-index-gateway.yaml @@ -0,0 +1,49 @@ +{{- if .Values.indexGateway.enabled }} +{{- with .Values.serviceMonitor }} +{{- if .enabled }} +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + name: {{ include "loki.indexGatewayFullname" $ }} + {{- with .namespace }} + namespace: {{ . }} + {{- end }} + {{- with .annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} + labels: + {{- include "loki.indexGatewayLabels" $ | nindent 4 }} + {{- with .labels }} + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + {{- with .namespaceSelector }} + namespaceSelector: + {{- toYaml . | nindent 4 }} + {{- end }} + selector: + matchLabels: + {{- include "loki.indexGatewaySelectorLabels" $ | nindent 6 }} + endpoints: + - port: http + {{- with .interval }} + interval: {{ . }} + {{- end }} + {{- with .scrapeTimeout }} + scrapeTimeout: {{ . }} + {{- end }} + {{- with .relabelings }} + relabelings: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .scheme }} + scheme: {{ . }} + {{- end }} + {{- with .tlsConfig }} + tlsConfig: + {{- toYaml . | nindent 8 }} + {{- end }} +{{- end }} +{{- end }} +{{- end }} diff --git a/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml b/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml new file mode 100644 index 0000000000..eb37f530a7 --- /dev/null +++ b/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml @@ -0,0 +1,120 @@ +{{- if .Values.indexGateway.enabled }} +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: {{ include "loki.indexGatewayFullname" . }} + labels: + {{- include "loki.indexGatewayLabels" . | nindent 4 }} +spec: + replicas: {{ .Values.indexGateway.replicas }} + updateStrategy: + rollingUpdate: + partition: 0 + serviceName: {{ include "loki.indexGatewayFullname" . }}-headless + revisionHistoryLimit: {{ .Values.loki.revisionHistoryLimit }} + selector: + matchLabels: + {{- include "loki.indexGatewaySelectorLabels" . | nindent 6 }} + template: + metadata: + annotations: + checksum/config: {{ include (print .Template.BasePath "/configmap.yaml") . | sha256sum }} + {{- with .Values.loki.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.indexGateway.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} + labels: + {{- include "loki.indexGatewaySelectorLabels" . | nindent 8 }} + spec: + serviceAccountName: {{ include "loki.serviceAccountName" . }} + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- include "loki.indexGatewayPriorityClassName" . | nindent 6 }} + securityContext: + {{- toYaml .Values.loki.podSecurityContext | nindent 8 }} + terminationGracePeriodSeconds: {{ .Values.indexGateway.terminationGracePeriodSeconds }} + containers: + - name: loki + image: {{ include "loki.indexGatewayImage" . }} + imagePullPolicy: {{ .Values.loki.image.pullPolicy }} + args: + - -config.file=/etc/loki/config/config.yaml + - -target=index-gateway + {{- with .Values.indexGateway.extraArgs }} + {{- toYaml . | nindent 12 }} + {{- end }} + ports: + - name: http + containerPort: 3100 + protocol: TCP + - name: grpc + containerPort: 9095 + protocol: TCP + {{- with .Values.indexGateway.extraEnv }} + env: + {{- toYaml . | nindent 12 }} + {{- end }} + {{- with .Values.indexGateway.extraEnvFrom }} + envFrom: + {{- toYaml . | nindent 12 }} + {{- end }} + securityContext: + {{- toYaml .Values.loki.containerSecurityContext | nindent 12 }} + readinessProbe: + {{- toYaml .Values.loki.readinessProbe | nindent 12 }} + volumeMounts: + - name: config + mountPath: /etc/loki/config + - name: data + mountPath: /var/loki + {{- with .Values.indexGateway.extraVolumeMounts }} + {{- toYaml . | nindent 12 }} + {{- end }} + resources: + {{- toYaml .Values.indexGateway.resources | nindent 12 }} + {{- with .Values.indexGateway.affinity }} + affinity: + {{- tpl . $ | nindent 8 }} + {{- end }} + {{- with .Values.indexGateway.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.indexGateway.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} + volumes: + - name: config + {{- if .Values.loki.existingSecretForConfig }} + secret: + secretName: {{ .Values.loki.existingSecretForConfig }} + {{- else }} + configMap: + name: {{ include "loki.fullname" . }} + {{- end }} + {{- with .Values.indexGateway.extraVolumes }} + {{- toYaml . | nindent 8 }} + {{- end }} + {{- if not .Values.indexGateway.persistence.enabled }} + - name: data + emptyDir: {} + {{- else }} + volumeClaimTemplates: + - metadata: + name: data + spec: + accessModes: + - ReadWriteOnce + {{- with .Values.indexGateway.persistence.storageClass }} + storageClassName: {{ if (eq "-" .) }}""{{ else }}{{ . }}{{ end }} + {{- end }} + resources: + requests: + storage: {{ .Values.indexGateway.persistence.size | quote }} + {{- end }} +{{- end }} diff --git a/charts/loki-distributed/templates/querier/deployment-querier.yaml b/charts/loki-distributed/templates/querier/deployment-querier.yaml new file mode 100644 index 0000000000..22d4406eb8 --- /dev/null +++ b/charts/loki-distributed/templates/querier/deployment-querier.yaml @@ -0,0 +1,106 @@ +{{- if .Values.indexGateway.enabled }} +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "loki.querierFullname" . }} + labels: + {{- include "loki.querierLabels" . | nindent 4 }} + app.kubernetes.io/part-of: memberlist +spec: + replicas: {{ .Values.querier.replicas }} + revisionHistoryLimit: {{ .Values.loki.revisionHistoryLimit }} + selector: + matchLabels: + {{- include "loki.querierSelectorLabels" . | nindent 6 }} + template: + metadata: + annotations: + checksum/config: {{ include (print .Template.BasePath "/configmap.yaml") . | sha256sum }} + {{- with .Values.loki.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.querier.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} + labels: + {{- include "loki.querierSelectorLabels" . | nindent 8 }} + app.kubernetes.io/part-of: memberlist + spec: + serviceAccountName: {{ include "loki.serviceAccountName" . }} + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- include "loki.querierPriorityClassName" . | nindent 6 }} + securityContext: + {{- toYaml .Values.loki.podSecurityContext | nindent 8 }} + terminationGracePeriodSeconds: {{ .Values.querier.terminationGracePeriodSeconds }} + containers: + - name: loki + image: {{ include "loki.querierImage" . }} + imagePullPolicy: {{ .Values.loki.image.pullPolicy }} + args: + - -config.file=/etc/loki/config/config.yaml + - -target=querier + {{- with .Values.querier.extraArgs }} + {{- toYaml . | nindent 12 }} + {{- end }} + ports: + - name: http + containerPort: 3100 + protocol: TCP + - name: grpc + containerPort: 9095 + protocol: TCP + - name: http-memberlist + containerPort: 7946 + protocol: TCP + {{- with .Values.querier.extraEnv }} + env: + {{- toYaml . | nindent 12 }} + {{- end }} + {{- with .Values.querier.extraEnvFrom }} + envFrom: + {{- toYaml . | nindent 12 }} + {{- end }} + securityContext: + {{- toYaml .Values.loki.containerSecurityContext | nindent 12 }} + readinessProbe: + {{- toYaml .Values.loki.readinessProbe | nindent 12 }} + volumeMounts: + - name: config + mountPath: /etc/loki/config + - name: data + mountPath: /var/loki + {{- with .Values.querier.extraVolumeMounts }} + {{- toYaml . | nindent 12 }} + {{- end }} + resources: + {{- toYaml .Values.querier.resources | nindent 12 }} + {{- with .Values.querier.affinity }} + affinity: + {{- tpl . $ | nindent 8 }} + {{- end }} + {{- with .Values.querier.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.querier.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} + volumes: + - name: config + {{- if .Values.loki.existingSecretForConfig }} + secret: + secretName: {{ .Values.loki.existingSecretForConfig }} + {{- else }} + configMap: + name: {{ include "loki.fullname" . }} + {{- end }} + {{- with .Values.querier.extraVolumes }} + {{- toYaml . | nindent 8 }} + {{- end }} + - name: data + emptyDir: {} +{{- end }} diff --git a/charts/loki-distributed/templates/querier/service-querier-headless.yaml b/charts/loki-distributed/templates/querier/service-querier-headless.yaml index e2044bd097..6c0b14a8e8 100644 --- a/charts/loki-distributed/templates/querier/service-querier-headless.yaml +++ b/charts/loki-distributed/templates/querier/service-querier-headless.yaml @@ -1,3 +1,4 @@ +{{- if not .Values.indexGateway.enabled }} apiVersion: v1 kind: Service metadata: @@ -19,3 +20,4 @@ spec: protocol: TCP selector: {{- include "loki.querierSelectorLabels" . | nindent 4 }} +{{- end }} \ No newline at end of file diff --git a/charts/loki-distributed/templates/querier/statefulset-querier.yaml b/charts/loki-distributed/templates/querier/statefulset-querier.yaml index df4b3d4b08..49e9763d89 100644 --- a/charts/loki-distributed/templates/querier/statefulset-querier.yaml +++ b/charts/loki-distributed/templates/querier/statefulset-querier.yaml @@ -1,3 +1,4 @@ +{{- if not .Values.indexGateway.enabled }} apiVersion: apps/v1 kind: StatefulSet metadata: @@ -123,3 +124,4 @@ spec: requests: storage: {{ .Values.querier.persistence.size | quote }} {{- end }} +{{- end }} diff --git a/charts/loki-distributed/values.yaml b/charts/loki-distributed/values.yaml index 0d1c3dd596..0c5cd355d0 100644 --- a/charts/loki-distributed/values.yaml +++ b/charts/loki-distributed/values.yaml @@ -107,6 +107,10 @@ loki: active_index_directory: /var/loki/index cache_location: /var/loki/cache cache_ttl: 168h + {{- if .Values.indexGateway.enabled }} + index_gateway_client: + server_address: dns:///{{ include "loki.indexGatewayFullname" . }}:9095 + {{- end }} filesystem: directory: /var/loki/chunks @@ -904,6 +908,71 @@ ruler: # expr: sum by(container) (rate({job=~"loki-dev/.*"}[1m])) > 1000 # for: 2m +# Configuration for the index-gateway +indexGateway: + # -- Specifies whether the index-gateway should be enabled + enabled: true + # -- Number of replicas for the index-gateway + replicas: 1 + image: + # -- The Docker registry for the index-gateway image. Overrides `loki.image.registry` + registry: null + # -- Docker image repository for the index-gateway image. Overrides `loki.image.repository` + repository: null + # -- Docker image tag for the index-gateway image. Overrides `loki.image.tag` + tag: null + # -- The name of the PriorityClass for index-gateway pods + priorityClassName: null + # -- Annotations for index-gateway pods + podAnnotations: {} + # -- Labels for index-gateway service + serviceLabels: {} + # -- Additional CLI args for the index-gateway + extraArgs: [] + # -- Environment variables to add to the index-gateway pods + extraEnv: [] + # -- Environment variables from secrets or configmaps to add to the index-gateway pods + extraEnvFrom: [] + # -- Volume mounts to add to the index-gateway pods + extraVolumeMounts: [] + # -- Volumes to add to the index-gateway pods + extraVolumes: [] + # -- Resource requests and limits for the index-gateway + resources: {} + # -- Grace period to allow the index-gateway to shutdown before it is killed. + terminationGracePeriodSeconds: 300 + # -- Affinity for index-gateway pods. Passed through `tpl` and, thus, to be configured as string + # @default -- Hard node and soft zone anti-affinity + affinity: | + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchLabels: + {{- include "loki.indexGatewaySelectorLabels" . | nindent 10 }} + topologyKey: kubernetes.io/hostname + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 100 + podAffinityTerm: + labelSelector: + matchLabels: + {{- include "loki.indexGatewaySelectorLabels" . | nindent 12 }} + topologyKey: failure-domain.beta.kubernetes.io/zone + # -- Node selector for index-gateway pods + nodeSelector: {} + # -- Tolerations for index-gateway pods + tolerations: [] + persistence: + # -- Enable creating PVCs which is required when using boltdb-shipper + enabled: false + # -- Size of persistent disk + size: 10Gi + # -- Storage class to be used. + # If defined, storageClassName: . + # If set to "-", storageClassName: "", which disables dynamic provisioning. + # If empty or set to null, no storageClassName spec is + # set, choosing the default provisioner (gp2 on AWS, standard on GKE, AWS, and OpenStack). + storageClass: null + memcached: image: # -- The Docker registry for the memcached From e74e35df527014d5286fce9045ecedafca8db103 Mon Sep 17 00:00:00 2001 From: Sherif Ayad Date: Tue, 31 Aug 2021 11:36:35 +0200 Subject: [PATCH 14/26] generated README.md using helm-docs Signed-off-by: Sherif Ayad --- charts/loki-distributed/Chart.yaml | 2 +- charts/loki-distributed/README.md | 35 +++++++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 2 deletions(-) diff --git a/charts/loki-distributed/Chart.yaml b/charts/loki-distributed/Chart.yaml index 43b1ef78c6..e67ca3b6b5 100644 --- a/charts/loki-distributed/Chart.yaml +++ b/charts/loki-distributed/Chart.yaml @@ -3,7 +3,7 @@ name: loki-distributed description: Helm chart for Grafana Loki in microservices mode type: application appVersion: 2.3.0 -version: 0.37.0 +version: 0.37.1 home: https://grafana.github.io/helm-charts sources: - https://github.com/grafana/loki diff --git a/charts/loki-distributed/README.md b/charts/loki-distributed/README.md index 133431ea67..52a7fc6a10 100644 --- a/charts/loki-distributed/README.md +++ b/charts/loki-distributed/README.md @@ -1,6 +1,7 @@ # loki-distributed -![Version: 0.37.0](https://img.shields.io/badge/Version-0.37.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.0](https://img.shields.io/badge/AppVersion-2.3.0-informational?style=flat-square) + +![Version: 0.37.1](https://img.shields.io/badge/Version-0.37.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.0](https://img.shields.io/badge/AppVersion-2.3.0-informational?style=flat-square) Helm chart for Grafana Loki in microservices mode @@ -10,6 +11,8 @@ Helm chart for Grafana Loki in microservices mode * * + + ## Chart Repo Add the following repo to use the chart: @@ -24,6 +27,13 @@ helm repo add grafana https://grafana.github.io/helm-charts Major version upgrades listed here indicate that there is an incompatible breaking change needing manual actions. +### From 0.36.x to 0.37.0 +This version uses the Loki `index-gateway` component by default; which lets the Queriers run as `Deployment`s and not `StatefulSet`s and hence save some potential block storage costs associated with the queriers Persistent Volumes. If this behavior is not desired, make sure to set the following property: +```yaml +indexGateway: + enabled: false +``` + ### From 0.34.x to 0.35.0 This version updates the `Ingress` API Version of the Loki Gateway component to `networking.k8s.io/v1` of course given that the cluster supports it. Here it's important to notice the change in the `values.yml` with regards to the ingress configuration section and its new structure. ```yaml @@ -147,6 +157,27 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | global.image.registry | string | `nil` | Overrides the Docker registry globally for all images | | global.priorityClassName | string | `nil` | Overrides the priorityClassName for all pods | | imagePullSecrets | list | `[]` | Image pull secrets for Docker images | +| indexGateway.affinity | string | Hard node and soft zone anti-affinity | Affinity for index-gateway pods. Passed through `tpl` and, thus, to be configured as string | +| indexGateway.enabled | bool | `true` | Specifies whether the index-gateway should be enabled | +| indexGateway.extraArgs | list | `[]` | Additional CLI args for the index-gateway | +| indexGateway.extraEnv | list | `[]` | Environment variables to add to the index-gateway pods | +| indexGateway.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the index-gateway pods | +| indexGateway.extraVolumeMounts | list | `[]` | Volume mounts to add to the index-gateway pods | +| indexGateway.extraVolumes | list | `[]` | Volumes to add to the index-gateway pods | +| indexGateway.image.registry | string | `nil` | The Docker registry for the index-gateway image. Overrides `loki.image.registry` | +| indexGateway.image.repository | string | `nil` | Docker image repository for the index-gateway image. Overrides `loki.image.repository` | +| indexGateway.image.tag | string | `nil` | Docker image tag for the index-gateway image. Overrides `loki.image.tag` | +| indexGateway.nodeSelector | object | `{}` | Node selector for index-gateway pods | +| indexGateway.persistence.enabled | bool | `false` | Enable creating PVCs which is required when using boltdb-shipper | +| indexGateway.persistence.size | string | `"10Gi"` | Size of persistent disk | +| indexGateway.persistence.storageClass | string | `nil` | Storage class to be used. If defined, storageClassName: . If set to "-", storageClassName: "", which disables dynamic provisioning. If empty or set to null, no storageClassName spec is set, choosing the default provisioner (gp2 on AWS, standard on GKE, AWS, and OpenStack). | +| indexGateway.podAnnotations | object | `{}` | Annotations for index-gateway pods | +| indexGateway.priorityClassName | string | `nil` | The name of the PriorityClass for index-gateway pods | +| indexGateway.replicas | int | `1` | Number of replicas for the index-gateway | +| indexGateway.resources | object | `{}` | Resource requests and limits for the index-gateway | +| indexGateway.serviceLabels | object | `{}` | Labels for index-gateway service | +| indexGateway.terminationGracePeriodSeconds | int | `300` | Grace period to allow the index-gateway to shutdown before it is killed. | +| indexGateway.tolerations | list | `[]` | Tolerations for index-gateway pods | | ingester.affinity | string | Hard node and soft zone anti-affinity | Affinity for ingester pods. Passed through `tpl` and, thus, to be configured as string | | ingester.extraArgs | list | `[]` | Additional CLI args for the ingester | | ingester.extraEnv | list | `[]` | Environment variables to add to the ingester pods | @@ -472,6 +503,8 @@ loki: active_index_directory: /var/loki/index shared_store: s3 cache_location: /var/loki/cache + index_gateway_client: + server_address: dns:///{{ include "loki.indexGatewayFullname" . }}:9095 query_range: # make queries more cache-able by aligning them with their step intervals From 6f1bd6d07e5359c52f70f5188017bb5adaef4431 Mon Sep 17 00:00:00 2001 From: Sherif Ayad Date: Tue, 31 Aug 2021 15:02:23 +0200 Subject: [PATCH 15/26] added new line at the end of the YAML files Signed-off-by: Sherif Ayad --- Dockerfile | 5 +++++ .../index-gateway/poddisruptionbudget-index-gateway.yaml | 2 +- .../templates/querier/service-querier-headless.yaml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..e449186a44 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM jnorwood/helm-docs:latest +USER root +RUN apk update +ENTRYPOINT /bin/sh + diff --git a/charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml b/charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml index d90062d400..649ca884ac 100644 --- a/charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml +++ b/charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml @@ -12,4 +12,4 @@ spec: {{- include "loki.indexGatewaySelectorLabels" . | nindent 6 }} maxUnavailable: 1 {{- end }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/charts/loki-distributed/templates/querier/service-querier-headless.yaml b/charts/loki-distributed/templates/querier/service-querier-headless.yaml index 6c0b14a8e8..6edb87c829 100644 --- a/charts/loki-distributed/templates/querier/service-querier-headless.yaml +++ b/charts/loki-distributed/templates/querier/service-querier-headless.yaml @@ -20,4 +20,4 @@ spec: protocol: TCP selector: {{- include "loki.querierSelectorLabels" . | nindent 4 }} -{{- end }} \ No newline at end of file +{{- end }} From 7cb5e8dd1ba2c4e27778574ab6bfc11aa0102c60 Mon Sep 17 00:00:00 2001 From: Sherif Ayad Date: Tue, 31 Aug 2021 15:03:19 +0200 Subject: [PATCH 16/26] removed helm-docs Dockerfile wrongfully added Signed-off-by: Sherif Ayad --- Dockerfile | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index e449186a44..0000000000 --- a/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM jnorwood/helm-docs:latest -USER root -RUN apk update -ENTRYPOINT /bin/sh - From 27c7a91ce5ade32024e4aac5867cdf42fa613994 Mon Sep 17 00:00:00 2001 From: Sherif Ayad Date: Tue, 31 Aug 2021 13:19:19 +0000 Subject: [PATCH 17/26] re-run helm-docs from a linux machine Signed-off-by: Sherif Ayad --- charts/loki-distributed/README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/charts/loki-distributed/README.md b/charts/loki-distributed/README.md index 52a7fc6a10..18223ce0d2 100644 --- a/charts/loki-distributed/README.md +++ b/charts/loki-distributed/README.md @@ -11,8 +11,6 @@ Helm chart for Grafana Loki in microservices mode * * - - ## Chart Repo Add the following repo to use the chart: From 409a12b67e8277568046a869cb6259298fde7fc6 Mon Sep 17 00:00:00 2001 From: Sherif Ayad Date: Tue, 31 Aug 2021 15:27:26 +0200 Subject: [PATCH 18/26] added index-gateway to the list of installed components in the NOTES.txt Signed-off-by: Sherif Ayad --- charts/loki-distributed/templates/NOTES.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/loki-distributed/templates/NOTES.txt b/charts/loki-distributed/templates/NOTES.txt index 8e175468c0..c5170bd5ff 100644 --- a/charts/loki-distributed/templates/NOTES.txt +++ b/charts/loki-distributed/templates/NOTES.txt @@ -21,6 +21,9 @@ Installed components: {{- if .Values.ruler.enabled }} * ruler {{- end }} +{{- if .Values.indexGateway.enabled }} +* index-gateway +{{- end }} {{- if .Values.memcachedChunks.enabled }} * memcached-chunks {{- end }} From 963ad60b67852f97ca210d8b4fd4db7cc8f93ad2 Mon Sep 17 00:00:00 2001 From: Sherif Ayad Date: Fri, 3 Sep 2021 08:45:40 +0200 Subject: [PATCH 19/26] switched off the index gateway by default and changed the version to be a minor version Signed-off-by: Sherif Ayad --- charts/loki-distributed/README.md | 9 +-------- charts/loki-distributed/README.md.gotmpl | 7 ------- charts/loki-distributed/values.yaml | 2 +- 3 files changed, 2 insertions(+), 16 deletions(-) diff --git a/charts/loki-distributed/README.md b/charts/loki-distributed/README.md index 18223ce0d2..ad9ad40333 100644 --- a/charts/loki-distributed/README.md +++ b/charts/loki-distributed/README.md @@ -25,13 +25,6 @@ helm repo add grafana https://grafana.github.io/helm-charts Major version upgrades listed here indicate that there is an incompatible breaking change needing manual actions. -### From 0.36.x to 0.37.0 -This version uses the Loki `index-gateway` component by default; which lets the Queriers run as `Deployment`s and not `StatefulSet`s and hence save some potential block storage costs associated with the queriers Persistent Volumes. If this behavior is not desired, make sure to set the following property: -```yaml -indexGateway: - enabled: false -``` - ### From 0.34.x to 0.35.0 This version updates the `Ingress` API Version of the Loki Gateway component to `networking.k8s.io/v1` of course given that the cluster supports it. Here it's important to notice the change in the `values.yml` with regards to the ingress configuration section and its new structure. ```yaml @@ -156,7 +149,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | global.priorityClassName | string | `nil` | Overrides the priorityClassName for all pods | | imagePullSecrets | list | `[]` | Image pull secrets for Docker images | | indexGateway.affinity | string | Hard node and soft zone anti-affinity | Affinity for index-gateway pods. Passed through `tpl` and, thus, to be configured as string | -| indexGateway.enabled | bool | `true` | Specifies whether the index-gateway should be enabled | +| indexGateway.enabled | bool | `false` | Specifies whether the index-gateway should be enabled | | indexGateway.extraArgs | list | `[]` | Additional CLI args for the index-gateway | | indexGateway.extraEnv | list | `[]` | Environment variables to add to the index-gateway pods | | indexGateway.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the index-gateway pods | diff --git a/charts/loki-distributed/README.md.gotmpl b/charts/loki-distributed/README.md.gotmpl index 68a56a85ed..4ba596af6f 100644 --- a/charts/loki-distributed/README.md.gotmpl +++ b/charts/loki-distributed/README.md.gotmpl @@ -22,13 +22,6 @@ helm repo add grafana https://grafana.github.io/helm-charts Major version upgrades listed here indicate that there is an incompatible breaking change needing manual actions. -### From 0.36.x to 0.37.0 -This version uses the Loki `index-gateway` component by default; which lets the Queriers run as `Deployment`s and not `StatefulSet`s and hence save some potential block storage costs associated with the queriers Persistent Volumes. If this behavior is not desired, make sure to set the following property: -```yaml -indexGateway: - enabled: false -``` - ### From 0.34.x to 0.35.0 This version updates the `Ingress` API Version of the Loki Gateway component to `networking.k8s.io/v1` of course given that the cluster supports it. Here it's important to notice the change in the `values.yml` with regards to the ingress configuration section and its new structure. ```yaml diff --git a/charts/loki-distributed/values.yaml b/charts/loki-distributed/values.yaml index 0c5cd355d0..fd65cc5b24 100644 --- a/charts/loki-distributed/values.yaml +++ b/charts/loki-distributed/values.yaml @@ -911,7 +911,7 @@ ruler: # Configuration for the index-gateway indexGateway: # -- Specifies whether the index-gateway should be enabled - enabled: true + enabled: false # -- Number of replicas for the index-gateway replicas: 1 image: From 7c6c45b54226ebe873ae36623cc2cf4878087f77 Mon Sep 17 00:00:00 2001 From: Sherif Ayad Date: Mon, 6 Sep 2021 06:38:07 +0000 Subject: [PATCH 20/26] fixed helm-docs Signed-off-by: Sherif Ayad --- charts/loki-distributed/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/charts/loki-distributed/README.md b/charts/loki-distributed/README.md index ad9ad40333..b4dde51c66 100644 --- a/charts/loki-distributed/README.md +++ b/charts/loki-distributed/README.md @@ -1,7 +1,6 @@ # loki-distributed - -![Version: 0.37.1](https://img.shields.io/badge/Version-0.37.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.0](https://img.shields.io/badge/AppVersion-2.3.0-informational?style=flat-square) +![Version: 0.37.1](https://img.shields.io/badge/Version-0.37.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.0](https://img.shields.io/badge/AppVersion-2.3.0-informational?style=flat-square) Helm chart for Grafana Loki in microservices mode From ed8f0919a10346cfdf5458fe676669a2429cb32f Mon Sep 17 00:00:00 2001 From: Sherif Ayad Date: Mon, 6 Sep 2021 11:33:55 +0200 Subject: [PATCH 21/26] fixed the namespace declaration Release.Namespace on the ruler and added it for the index-gateway components Signed-off-by: Sherif Ayad --- charts/loki-distributed/Chart.yaml | 2 +- charts/loki-distributed/README.md | 2 +- .../index-gateway/poddisruptionbudget-index-gateway.yaml | 1 + .../templates/index-gateway/service-index-gateway-headless.yaml | 1 + .../templates/index-gateway/service-index-gateway.yaml | 1 + .../templates/index-gateway/statefulset-index-gateway.yaml | 1 + charts/loki-distributed/templates/ruler/configmap-ruler.yaml | 1 - 7 files changed, 6 insertions(+), 3 deletions(-) diff --git a/charts/loki-distributed/Chart.yaml b/charts/loki-distributed/Chart.yaml index e67ca3b6b5..0b5ee8688d 100644 --- a/charts/loki-distributed/Chart.yaml +++ b/charts/loki-distributed/Chart.yaml @@ -3,7 +3,7 @@ name: loki-distributed description: Helm chart for Grafana Loki in microservices mode type: application appVersion: 2.3.0 -version: 0.37.1 +version: 0.37.2 home: https://grafana.github.io/helm-charts sources: - https://github.com/grafana/loki diff --git a/charts/loki-distributed/README.md b/charts/loki-distributed/README.md index b4dde51c66..000bea308f 100644 --- a/charts/loki-distributed/README.md +++ b/charts/loki-distributed/README.md @@ -1,6 +1,6 @@ # loki-distributed -![Version: 0.37.1](https://img.shields.io/badge/Version-0.37.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.0](https://img.shields.io/badge/AppVersion-2.3.0-informational?style=flat-square) +![Version: 0.37.2](https://img.shields.io/badge/Version-0.37.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.0](https://img.shields.io/badge/AppVersion-2.3.0-informational?style=flat-square) Helm chart for Grafana Loki in microservices mode diff --git a/charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml b/charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml index 649ca884ac..f7a1672d82 100644 --- a/charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml +++ b/charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml @@ -4,6 +4,7 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.indexGatewayFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.indexGatewayLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/index-gateway/service-index-gateway-headless.yaml b/charts/loki-distributed/templates/index-gateway/service-index-gateway-headless.yaml index e4d9e6e368..715fa2ccbb 100644 --- a/charts/loki-distributed/templates/index-gateway/service-index-gateway-headless.yaml +++ b/charts/loki-distributed/templates/index-gateway/service-index-gateway-headless.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.indexGatewayFullname" . }}-headless + namespace: {{ .Release.Namespace }} labels: {{- include "loki.indexGatewaySelectorLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/index-gateway/service-index-gateway.yaml b/charts/loki-distributed/templates/index-gateway/service-index-gateway.yaml index 814764f9a3..d5bdaa40af 100644 --- a/charts/loki-distributed/templates/index-gateway/service-index-gateway.yaml +++ b/charts/loki-distributed/templates/index-gateway/service-index-gateway.yaml @@ -3,6 +3,7 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.indexGatewayFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.indexGatewayLabels" . | nindent 4 }} {{- with .Values.indexGateway.serviceLabels }} diff --git a/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml b/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml index eb37f530a7..cab95e31f4 100644 --- a/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml +++ b/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml @@ -3,6 +3,7 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "loki.indexGatewayFullname" . }} + namespace: {{ .Release.Namespace }} labels: {{- include "loki.indexGatewayLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/ruler/configmap-ruler.yaml b/charts/loki-distributed/templates/ruler/configmap-ruler.yaml index d54672135d..c0599d5431 100644 --- a/charts/loki-distributed/templates/ruler/configmap-ruler.yaml +++ b/charts/loki-distributed/templates/ruler/configmap-ruler.yaml @@ -5,7 +5,6 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ include "loki.rulerFullname" $ }}-{{ include "loki.rulerRulesDirName" $dir }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.rulerLabels" $ | nindent 4 }} data: From fac6840552627a91a546ef1db23ebcd35ceae293 Mon Sep 17 00:00:00 2001 From: Sherif Ayad Date: Mon, 6 Sep 2021 12:12:22 +0200 Subject: [PATCH 22/26] reverted PR #627 by removing the namespace declarations on all template files Signed-off-by: Sherif Ayad --- .../templates/compactor/deployment-compactor.yaml | 1 - .../compactor/persistentvolumeclaim-compactor.yaml | 1 - .../templates/compactor/service-compactor.yaml | 1 - .../templates/compactor/serviceaccount-compactor.yaml | 1 - charts/loki-distributed/templates/configmap.yaml | 1 - .../templates/distributor/deployment-distributor.yaml | 1 - .../distributor/poddisruptionbudget-distributor.yaml | 1 - .../templates/distributor/service-distributor.yaml | 1 - .../templates/gateway/configmap-gateway.yaml | 1 - .../templates/gateway/deployment-gateway.yaml | 1 - .../templates/gateway/ingress-gateway.yaml | 1 - .../templates/gateway/poddisruptionbudget-gateway.yaml | 1 - .../templates/gateway/service-gateway.yaml | 1 - .../index-gateway/poddisruptionbudget-index-gateway.yaml | 1 - .../index-gateway/service-index-gateway-headless.yaml | 1 - .../templates/index-gateway/service-index-gateway.yaml | 1 - .../templates/index-gateway/statefulset-index-gateway.yaml | 1 - .../templates/ingester/poddisruptionbudget-ingester.yaml | 1 - .../templates/ingester/service-ingester-headless.yaml | 1 - .../templates/ingester/service-ingester.yaml | 1 - .../templates/ingester/statefulset-ingester.yaml | 1 - .../poddisruptionbudget-memcached-chunks.yaml | 1 - .../memcached-chunks/service-memcached-chunks.yaml | 1 - .../memcached-chunks/statefulset-memcached-chunks.yaml | 1 - .../poddisruptionbudget-memcached-frontend.yaml | 1 - .../memcached-frontend/service-memcached-frontend.yaml | 1 - .../memcached-frontend/statefulset-memcached-frontend.yaml | 1 - .../poddisruptionbudget-memcached-index-queries.yaml | 1 - .../service-memcached-index-queries.yaml | 1 - .../statefulset-memcached-index-queries.yaml | 1 - .../poddisruptionbudget-memcached-index-writes.yaml | 1 - .../service-memcached-index-writes.yaml | 1 - .../statefulset-memcached-index-writes.yaml | 1 - charts/loki-distributed/templates/networkpolicy.yaml | 7 ------- charts/loki-distributed/templates/podsecuritypolicy.yaml | 1 - .../templates/querier/poddisruptionbudget-querier.yaml | 1 - .../templates/querier/service-querier-headless.yaml | 1 - .../templates/querier/service-querier.yaml | 1 - .../templates/querier/statefulset-querier.yaml | 1 - .../query-frontend/deployment-query-frontend.yaml | 1 - .../query-frontend/poddisruptionbudget-query-frontent.yaml | 1 - .../templates/query-frontend/service-query-frontend.yaml | 1 - charts/loki-distributed/templates/role.yaml | 1 - charts/loki-distributed/templates/rolebinding.yaml | 2 -- .../loki-distributed/templates/ruler/deployment-ruler.yaml | 1 - .../templates/ruler/persistentvolumeclaim-ruler.yaml | 1 - .../templates/ruler/poddisruptionbudget-ruler.yaml | 1 - charts/loki-distributed/templates/ruler/service-ruler.yaml | 1 - charts/loki-distributed/templates/service-memberlist.yaml | 1 - charts/loki-distributed/templates/serviceaccount.yaml | 1 - .../templates/table-manager/deployment-table-manager.yaml | 1 - .../templates/table-manager/service-table-manager.yaml | 1 - 52 files changed, 59 deletions(-) diff --git a/charts/loki-distributed/templates/compactor/deployment-compactor.yaml b/charts/loki-distributed/templates/compactor/deployment-compactor.yaml index 532535f4ff..a57817c9d6 100644 --- a/charts/loki-distributed/templates/compactor/deployment-compactor.yaml +++ b/charts/loki-distributed/templates/compactor/deployment-compactor.yaml @@ -3,7 +3,6 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "loki.compactorFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.compactorLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/compactor/persistentvolumeclaim-compactor.yaml b/charts/loki-distributed/templates/compactor/persistentvolumeclaim-compactor.yaml index 8c32f20115..3170fe6dc9 100644 --- a/charts/loki-distributed/templates/compactor/persistentvolumeclaim-compactor.yaml +++ b/charts/loki-distributed/templates/compactor/persistentvolumeclaim-compactor.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: data-{{ include "loki.compactorFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.compactorLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/compactor/service-compactor.yaml b/charts/loki-distributed/templates/compactor/service-compactor.yaml index 0ee9a762bc..05c79f057f 100644 --- a/charts/loki-distributed/templates/compactor/service-compactor.yaml +++ b/charts/loki-distributed/templates/compactor/service-compactor.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.compactorFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} {{- with .Values.compactor.serviceLabels }} diff --git a/charts/loki-distributed/templates/compactor/serviceaccount-compactor.yaml b/charts/loki-distributed/templates/compactor/serviceaccount-compactor.yaml index 9c949bd492..7b961c0770 100644 --- a/charts/loki-distributed/templates/compactor/serviceaccount-compactor.yaml +++ b/charts/loki-distributed/templates/compactor/serviceaccount-compactor.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: ServiceAccount metadata: name: {{ include "loki.compactorServiceAccountName" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} {{- with .Values.compactor.serviceAccount.annotations }} diff --git a/charts/loki-distributed/templates/configmap.yaml b/charts/loki-distributed/templates/configmap.yaml index 1cf1a806d8..2d895cea51 100644 --- a/charts/loki-distributed/templates/configmap.yaml +++ b/charts/loki-distributed/templates/configmap.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ include "loki.fullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} data: diff --git a/charts/loki-distributed/templates/distributor/deployment-distributor.yaml b/charts/loki-distributed/templates/distributor/deployment-distributor.yaml index 5b8a254f1b..17aa0104ad 100644 --- a/charts/loki-distributed/templates/distributor/deployment-distributor.yaml +++ b/charts/loki-distributed/templates/distributor/deployment-distributor.yaml @@ -2,7 +2,6 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "loki.distributorFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.distributorLabels" . | nindent 4 }} app.kubernetes.io/part-of: memberlist diff --git a/charts/loki-distributed/templates/distributor/poddisruptionbudget-distributor.yaml b/charts/loki-distributed/templates/distributor/poddisruptionbudget-distributor.yaml index 0fb45ba814..029d3359de 100644 --- a/charts/loki-distributed/templates/distributor/poddisruptionbudget-distributor.yaml +++ b/charts/loki-distributed/templates/distributor/poddisruptionbudget-distributor.yaml @@ -3,7 +3,6 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.distributorFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.distributorLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/distributor/service-distributor.yaml b/charts/loki-distributed/templates/distributor/service-distributor.yaml index 37626107c3..963c2f4bbd 100644 --- a/charts/loki-distributed/templates/distributor/service-distributor.yaml +++ b/charts/loki-distributed/templates/distributor/service-distributor.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.distributorFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.distributorLabels" . | nindent 4 }} {{- with .Values.distributor.serviceLabels }} diff --git a/charts/loki-distributed/templates/gateway/configmap-gateway.yaml b/charts/loki-distributed/templates/gateway/configmap-gateway.yaml index 1eb3e2e4f4..9d99b3ed00 100644 --- a/charts/loki-distributed/templates/gateway/configmap-gateway.yaml +++ b/charts/loki-distributed/templates/gateway/configmap-gateway.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: ConfigMap metadata: name: {{ include "loki.gatewayFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.gatewayLabels" . | nindent 4 }} data: diff --git a/charts/loki-distributed/templates/gateway/deployment-gateway.yaml b/charts/loki-distributed/templates/gateway/deployment-gateway.yaml index 4943b114c5..ae8e4c480a 100644 --- a/charts/loki-distributed/templates/gateway/deployment-gateway.yaml +++ b/charts/loki-distributed/templates/gateway/deployment-gateway.yaml @@ -3,7 +3,6 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "loki.gatewayFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.gatewayLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/gateway/ingress-gateway.yaml b/charts/loki-distributed/templates/gateway/ingress-gateway.yaml index e45e7d05ea..9242a3e7bb 100644 --- a/charts/loki-distributed/templates/gateway/ingress-gateway.yaml +++ b/charts/loki-distributed/templates/gateway/ingress-gateway.yaml @@ -7,7 +7,6 @@ apiVersion: {{ include "loki.ingress.apiVersion" . }} kind: Ingress metadata: name: {{ include "loki.gatewayFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.gatewayLabels" . | nindent 4 }} {{- with .Values.gateway.ingress.annotations }} diff --git a/charts/loki-distributed/templates/gateway/poddisruptionbudget-gateway.yaml b/charts/loki-distributed/templates/gateway/poddisruptionbudget-gateway.yaml index 58fb131875..98cd7aaee2 100644 --- a/charts/loki-distributed/templates/gateway/poddisruptionbudget-gateway.yaml +++ b/charts/loki-distributed/templates/gateway/poddisruptionbudget-gateway.yaml @@ -4,7 +4,6 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.gatewayFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.gatewayLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/gateway/service-gateway.yaml b/charts/loki-distributed/templates/gateway/service-gateway.yaml index 0a1fa81d48..8e7b6c0111 100644 --- a/charts/loki-distributed/templates/gateway/service-gateway.yaml +++ b/charts/loki-distributed/templates/gateway/service-gateway.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.gatewayFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.gatewayLabels" . | nindent 4 }} {{- with .Values.gateway.service.labels }} diff --git a/charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml b/charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml index f7a1672d82..649ca884ac 100644 --- a/charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml +++ b/charts/loki-distributed/templates/index-gateway/poddisruptionbudget-index-gateway.yaml @@ -4,7 +4,6 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.indexGatewayFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.indexGatewayLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/index-gateway/service-index-gateway-headless.yaml b/charts/loki-distributed/templates/index-gateway/service-index-gateway-headless.yaml index 715fa2ccbb..e4d9e6e368 100644 --- a/charts/loki-distributed/templates/index-gateway/service-index-gateway-headless.yaml +++ b/charts/loki-distributed/templates/index-gateway/service-index-gateway-headless.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.indexGatewayFullname" . }}-headless - namespace: {{ .Release.Namespace }} labels: {{- include "loki.indexGatewaySelectorLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/index-gateway/service-index-gateway.yaml b/charts/loki-distributed/templates/index-gateway/service-index-gateway.yaml index d5bdaa40af..814764f9a3 100644 --- a/charts/loki-distributed/templates/index-gateway/service-index-gateway.yaml +++ b/charts/loki-distributed/templates/index-gateway/service-index-gateway.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.indexGatewayFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.indexGatewayLabels" . | nindent 4 }} {{- with .Values.indexGateway.serviceLabels }} diff --git a/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml b/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml index cab95e31f4..eb37f530a7 100644 --- a/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml +++ b/charts/loki-distributed/templates/index-gateway/statefulset-index-gateway.yaml @@ -3,7 +3,6 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "loki.indexGatewayFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.indexGatewayLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/ingester/poddisruptionbudget-ingester.yaml b/charts/loki-distributed/templates/ingester/poddisruptionbudget-ingester.yaml index 3ff507a15d..5dee04e60c 100644 --- a/charts/loki-distributed/templates/ingester/poddisruptionbudget-ingester.yaml +++ b/charts/loki-distributed/templates/ingester/poddisruptionbudget-ingester.yaml @@ -3,7 +3,6 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.ingesterFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.ingesterLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/ingester/service-ingester-headless.yaml b/charts/loki-distributed/templates/ingester/service-ingester-headless.yaml index d5cf4c172b..9576b56526 100644 --- a/charts/loki-distributed/templates/ingester/service-ingester-headless.yaml +++ b/charts/loki-distributed/templates/ingester/service-ingester-headless.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.ingesterFullname" . }}-headless - namespace: {{ .Release.Namespace }} labels: {{- include "loki.ingesterSelectorLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/ingester/service-ingester.yaml b/charts/loki-distributed/templates/ingester/service-ingester.yaml index 58a0f03c3e..8a5ef5339e 100644 --- a/charts/loki-distributed/templates/ingester/service-ingester.yaml +++ b/charts/loki-distributed/templates/ingester/service-ingester.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.ingesterFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.ingesterLabels" . | nindent 4 }} {{- with .Values.ingester.serviceLabels }} diff --git a/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml b/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml index d242aaa1b1..163bc9d268 100644 --- a/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml +++ b/charts/loki-distributed/templates/ingester/statefulset-ingester.yaml @@ -2,7 +2,6 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "loki.ingesterFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.ingesterLabels" . | nindent 4 }} app.kubernetes.io/part-of: memberlist diff --git a/charts/loki-distributed/templates/memcached-chunks/poddisruptionbudget-memcached-chunks.yaml b/charts/loki-distributed/templates/memcached-chunks/poddisruptionbudget-memcached-chunks.yaml index 6f871a1d98..1fb656beda 100644 --- a/charts/loki-distributed/templates/memcached-chunks/poddisruptionbudget-memcached-chunks.yaml +++ b/charts/loki-distributed/templates/memcached-chunks/poddisruptionbudget-memcached-chunks.yaml @@ -3,7 +3,6 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.memcachedChunksFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedChunksLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/memcached-chunks/service-memcached-chunks.yaml b/charts/loki-distributed/templates/memcached-chunks/service-memcached-chunks.yaml index 8038f52755..82654eeb48 100644 --- a/charts/loki-distributed/templates/memcached-chunks/service-memcached-chunks.yaml +++ b/charts/loki-distributed/templates/memcached-chunks/service-memcached-chunks.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.memcachedChunksFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedChunksSelectorLabels" . | nindent 4 }} {{- with .Values.memcachedChunks.serviceLabels }} diff --git a/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml b/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml index a499e0fdf3..7d8e30aafc 100644 --- a/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml +++ b/charts/loki-distributed/templates/memcached-chunks/statefulset-memcached-chunks.yaml @@ -3,7 +3,6 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "loki.memcachedChunksFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedChunksLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/memcached-frontend/poddisruptionbudget-memcached-frontend.yaml b/charts/loki-distributed/templates/memcached-frontend/poddisruptionbudget-memcached-frontend.yaml index e241234bc0..0cb5854e15 100644 --- a/charts/loki-distributed/templates/memcached-frontend/poddisruptionbudget-memcached-frontend.yaml +++ b/charts/loki-distributed/templates/memcached-frontend/poddisruptionbudget-memcached-frontend.yaml @@ -3,7 +3,6 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.memcachedFrontendFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedFrontendLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/memcached-frontend/service-memcached-frontend.yaml b/charts/loki-distributed/templates/memcached-frontend/service-memcached-frontend.yaml index ed7c988498..4a2f5f283e 100644 --- a/charts/loki-distributed/templates/memcached-frontend/service-memcached-frontend.yaml +++ b/charts/loki-distributed/templates/memcached-frontend/service-memcached-frontend.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.memcachedFrontendFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedFrontendSelectorLabels" . | nindent 4 }} {{- with .Values.memcachedFrontend.serviceLabels }} diff --git a/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml b/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml index a22d9edadd..a3a172d9f6 100644 --- a/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml +++ b/charts/loki-distributed/templates/memcached-frontend/statefulset-memcached-frontend.yaml @@ -3,7 +3,6 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "loki.memcachedFrontendFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedFrontendLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/memcached-index-queries/poddisruptionbudget-memcached-index-queries.yaml b/charts/loki-distributed/templates/memcached-index-queries/poddisruptionbudget-memcached-index-queries.yaml index 03325a37b4..433945de2f 100644 --- a/charts/loki-distributed/templates/memcached-index-queries/poddisruptionbudget-memcached-index-queries.yaml +++ b/charts/loki-distributed/templates/memcached-index-queries/poddisruptionbudget-memcached-index-queries.yaml @@ -3,7 +3,6 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.memcachedIndexQueriesFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedIndexQueriesLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/memcached-index-queries/service-memcached-index-queries.yaml b/charts/loki-distributed/templates/memcached-index-queries/service-memcached-index-queries.yaml index abbcf049c0..571dab3db9 100644 --- a/charts/loki-distributed/templates/memcached-index-queries/service-memcached-index-queries.yaml +++ b/charts/loki-distributed/templates/memcached-index-queries/service-memcached-index-queries.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.memcachedIndexQueriesFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedIndexQueriesSelectorLabels" . | nindent 4 }} {{- with .Values.memcachedIndexQueries.serviceLabels }} diff --git a/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml b/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml index 28b2f6c9b5..1802c81095 100644 --- a/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml +++ b/charts/loki-distributed/templates/memcached-index-queries/statefulset-memcached-index-queries.yaml @@ -3,7 +3,6 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "loki.memcachedIndexQueriesFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedIndexQueriesLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/memcached-index-writes/poddisruptionbudget-memcached-index-writes.yaml b/charts/loki-distributed/templates/memcached-index-writes/poddisruptionbudget-memcached-index-writes.yaml index c96a30f33b..71d0d48795 100644 --- a/charts/loki-distributed/templates/memcached-index-writes/poddisruptionbudget-memcached-index-writes.yaml +++ b/charts/loki-distributed/templates/memcached-index-writes/poddisruptionbudget-memcached-index-writes.yaml @@ -3,7 +3,6 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.memcachedIndexWritesFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedIndexWritesLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/memcached-index-writes/service-memcached-index-writes.yaml b/charts/loki-distributed/templates/memcached-index-writes/service-memcached-index-writes.yaml index 4a42d73fd8..fbf2f442c2 100644 --- a/charts/loki-distributed/templates/memcached-index-writes/service-memcached-index-writes.yaml +++ b/charts/loki-distributed/templates/memcached-index-writes/service-memcached-index-writes.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.memcachedIndexWritesFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedIndexWritesSelectorLabels" . | nindent 4 }} {{- with .Values.memcachedIndexWrites.serviceLabels }} diff --git a/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml b/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml index 0087ff3ecd..c93befa764 100644 --- a/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml +++ b/charts/loki-distributed/templates/memcached-index-writes/statefulset-memcached-index-writes.yaml @@ -3,7 +3,6 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "loki.memcachedIndexWritesFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.memcachedIndexWritesLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/networkpolicy.yaml b/charts/loki-distributed/templates/networkpolicy.yaml index 952f26ea29..75a5011d20 100644 --- a/charts/loki-distributed/templates/networkpolicy.yaml +++ b/charts/loki-distributed/templates/networkpolicy.yaml @@ -4,7 +4,6 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: {{ include "loki.name" . }}-namespace-only - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: @@ -24,7 +23,6 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: {{ include "loki.name" . }}-egress-dns - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: @@ -45,7 +43,6 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: {{ include "loki.name" . }}-ingress - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: @@ -84,7 +81,6 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: {{ include "loki.name" . }}-ingress-metrics - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: @@ -119,7 +115,6 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: {{ include "loki.name" . }}-egress-alertmanager - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: @@ -149,7 +144,6 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: {{ include "loki.name" . }}-egress-external-storage - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: @@ -181,7 +175,6 @@ apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: {{ include "loki.name" . }}-egress-discovery - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/podsecuritypolicy.yaml b/charts/loki-distributed/templates/podsecuritypolicy.yaml index 60b11e3753..cf8a2e6ab7 100644 --- a/charts/loki-distributed/templates/podsecuritypolicy.yaml +++ b/charts/loki-distributed/templates/podsecuritypolicy.yaml @@ -3,7 +3,6 @@ apiVersion: policy/v1beta1 kind: PodSecurityPolicy metadata: name: {{ include "loki.fullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/querier/poddisruptionbudget-querier.yaml b/charts/loki-distributed/templates/querier/poddisruptionbudget-querier.yaml index 62af1adbfd..dda35fc4da 100644 --- a/charts/loki-distributed/templates/querier/poddisruptionbudget-querier.yaml +++ b/charts/loki-distributed/templates/querier/poddisruptionbudget-querier.yaml @@ -3,7 +3,6 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.querierFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.querierLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/querier/service-querier-headless.yaml b/charts/loki-distributed/templates/querier/service-querier-headless.yaml index 6edb87c829..2bba108f75 100644 --- a/charts/loki-distributed/templates/querier/service-querier-headless.yaml +++ b/charts/loki-distributed/templates/querier/service-querier-headless.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.querierFullname" . }}-headless - namespace: {{ .Release.Namespace }} labels: {{- include "loki.querierSelectorLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/querier/service-querier.yaml b/charts/loki-distributed/templates/querier/service-querier.yaml index 1e1cbc0b10..07fe64c64f 100644 --- a/charts/loki-distributed/templates/querier/service-querier.yaml +++ b/charts/loki-distributed/templates/querier/service-querier.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.querierFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.querierLabels" . | nindent 4 }} {{- with .Values.querier.serviceLabels }} diff --git a/charts/loki-distributed/templates/querier/statefulset-querier.yaml b/charts/loki-distributed/templates/querier/statefulset-querier.yaml index 49e9763d89..497446d100 100644 --- a/charts/loki-distributed/templates/querier/statefulset-querier.yaml +++ b/charts/loki-distributed/templates/querier/statefulset-querier.yaml @@ -3,7 +3,6 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "loki.querierFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.querierLabels" . | nindent 4 }} app.kubernetes.io/part-of: memberlist diff --git a/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml b/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml index fc56bf58ce..fb18a6d59f 100644 --- a/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml +++ b/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml @@ -2,7 +2,6 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "loki.queryFrontendFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.queryFrontendLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/query-frontend/poddisruptionbudget-query-frontent.yaml b/charts/loki-distributed/templates/query-frontend/poddisruptionbudget-query-frontent.yaml index 5ff6a0106f..61cd56e110 100644 --- a/charts/loki-distributed/templates/query-frontend/poddisruptionbudget-query-frontent.yaml +++ b/charts/loki-distributed/templates/query-frontend/poddisruptionbudget-query-frontent.yaml @@ -3,7 +3,6 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.queryFrontendFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.queryFrontendLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/query-frontend/service-query-frontend.yaml b/charts/loki-distributed/templates/query-frontend/service-query-frontend.yaml index 986b0455e4..a701a10269 100644 --- a/charts/loki-distributed/templates/query-frontend/service-query-frontend.yaml +++ b/charts/loki-distributed/templates/query-frontend/service-query-frontend.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.queryFrontendFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.queryFrontendLabels" . | nindent 4 }} {{- with .Values.queryFrontend.serviceLabels }} diff --git a/charts/loki-distributed/templates/role.yaml b/charts/loki-distributed/templates/role.yaml index dbdba77944..9ea22abd08 100644 --- a/charts/loki-distributed/templates/role.yaml +++ b/charts/loki-distributed/templates/role.yaml @@ -3,7 +3,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: name: {{ include "loki.fullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} rules: diff --git a/charts/loki-distributed/templates/rolebinding.yaml b/charts/loki-distributed/templates/rolebinding.yaml index 90401915a0..cb881b315e 100644 --- a/charts/loki-distributed/templates/rolebinding.yaml +++ b/charts/loki-distributed/templates/rolebinding.yaml @@ -3,7 +3,6 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: {{ include "loki.fullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} roleRef: @@ -13,5 +12,4 @@ roleRef: subjects: - kind: ServiceAccount name: {{ include "loki.serviceAccountName" . }} - namespace: {{ .Release.Namespace }} {{- end }} diff --git a/charts/loki-distributed/templates/ruler/deployment-ruler.yaml b/charts/loki-distributed/templates/ruler/deployment-ruler.yaml index a5d6ad724d..a7fc700461 100644 --- a/charts/loki-distributed/templates/ruler/deployment-ruler.yaml +++ b/charts/loki-distributed/templates/ruler/deployment-ruler.yaml @@ -3,7 +3,6 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "loki.rulerFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.rulerLabels" . | nindent 4 }} app.kubernetes.io/part-of: memberlist diff --git a/charts/loki-distributed/templates/ruler/persistentvolumeclaim-ruler.yaml b/charts/loki-distributed/templates/ruler/persistentvolumeclaim-ruler.yaml index ff323eb33d..e51e76efe5 100644 --- a/charts/loki-distributed/templates/ruler/persistentvolumeclaim-ruler.yaml +++ b/charts/loki-distributed/templates/ruler/persistentvolumeclaim-ruler.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: data-{{ include "loki.rulerFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.rulerLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/ruler/poddisruptionbudget-ruler.yaml b/charts/loki-distributed/templates/ruler/poddisruptionbudget-ruler.yaml index d9d906c9ed..e1df528961 100644 --- a/charts/loki-distributed/templates/ruler/poddisruptionbudget-ruler.yaml +++ b/charts/loki-distributed/templates/ruler/poddisruptionbudget-ruler.yaml @@ -4,7 +4,6 @@ apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: name: {{ include "loki.rulerFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.rulerLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/ruler/service-ruler.yaml b/charts/loki-distributed/templates/ruler/service-ruler.yaml index 9887e83809..329a71d762 100644 --- a/charts/loki-distributed/templates/ruler/service-ruler.yaml +++ b/charts/loki-distributed/templates/ruler/service-ruler.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.rulerFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.rulerSelectorLabels" . | nindent 4 }} {{- with .Values.ruler.serviceLabels }} diff --git a/charts/loki-distributed/templates/service-memberlist.yaml b/charts/loki-distributed/templates/service-memberlist.yaml index 14a97933c2..d370810096 100644 --- a/charts/loki-distributed/templates/service-memberlist.yaml +++ b/charts/loki-distributed/templates/service-memberlist.yaml @@ -2,7 +2,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.fullname" . }}-memberlist - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/serviceaccount.yaml b/charts/loki-distributed/templates/serviceaccount.yaml index f2f17ae4bb..676adad207 100644 --- a/charts/loki-distributed/templates/serviceaccount.yaml +++ b/charts/loki-distributed/templates/serviceaccount.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: ServiceAccount metadata: name: {{ include "loki.serviceAccountName" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} {{- with .Values.serviceAccount.annotations }} diff --git a/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml b/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml index a85fbcba62..f754d4752e 100644 --- a/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml +++ b/charts/loki-distributed/templates/table-manager/deployment-table-manager.yaml @@ -3,7 +3,6 @@ apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "loki.tableManagerFullname" . }} - namespace: {{ .Release.Namespace }} labels: {{- include "loki.tableManagerLabels" . | nindent 4 }} spec: diff --git a/charts/loki-distributed/templates/table-manager/service-table-manager.yaml b/charts/loki-distributed/templates/table-manager/service-table-manager.yaml index 1df8ba21da..af626e57b8 100644 --- a/charts/loki-distributed/templates/table-manager/service-table-manager.yaml +++ b/charts/loki-distributed/templates/table-manager/service-table-manager.yaml @@ -3,7 +3,6 @@ apiVersion: v1 kind: Service metadata: name: {{ include "loki.fullname" . }}-table-manager - namespace: {{ .Release.Namespace }} labels: {{- include "loki.labels" . | nindent 4 }} {{- with .Values.tableManager.serviceLabels }} From bfb0685c7a00c06a051f45c09014ed2bb3c7690c Mon Sep 17 00:00:00 2001 From: Steve Hipwell Date: Mon, 6 Sep 2021 11:09:47 +0100 Subject: [PATCH 23/26] [loki-distributed] Add autoscaling support Signed-off-by: Steve Hipwell --- charts/loki-distributed/Chart.yaml | 2 +- charts/loki-distributed/README.md | 29 ++++++++++-- charts/loki-distributed/README.md.gotmpl | 7 +-- .../distributor/deployment-distributor.yaml | 2 + .../templates/distributor/hpa.yaml | 28 ++++++++++++ .../templates/gateway/deployment-gateway.yaml | 2 + .../templates/gateway/hpa.yaml | 28 ++++++++++++ .../templates/querier/deployment-querier.yaml | 6 +++ .../templates/querier/hpa.yaml | 28 ++++++++++++ .../deployment-query-frontend.yaml | 2 + .../templates/query-frontend/hpa.yaml | 28 ++++++++++++ charts/loki-distributed/values.yaml | 45 ++++++++++++++++++- 12 files changed, 198 insertions(+), 9 deletions(-) create mode 100644 charts/loki-distributed/templates/distributor/hpa.yaml create mode 100644 charts/loki-distributed/templates/gateway/hpa.yaml create mode 100644 charts/loki-distributed/templates/querier/hpa.yaml create mode 100644 charts/loki-distributed/templates/query-frontend/hpa.yaml diff --git a/charts/loki-distributed/Chart.yaml b/charts/loki-distributed/Chart.yaml index 0b5ee8688d..85d1914b50 100644 --- a/charts/loki-distributed/Chart.yaml +++ b/charts/loki-distributed/Chart.yaml @@ -3,7 +3,7 @@ name: loki-distributed description: Helm chart for Grafana Loki in microservices mode type: application appVersion: 2.3.0 -version: 0.37.2 +version: 0.37.3 home: https://grafana.github.io/helm-charts sources: - https://github.com/grafana/loki diff --git a/charts/loki-distributed/README.md b/charts/loki-distributed/README.md index 000bea308f..af493e1e63 100644 --- a/charts/loki-distributed/README.md +++ b/charts/loki-distributed/README.md @@ -1,6 +1,6 @@ # loki-distributed -![Version: 0.37.2](https://img.shields.io/badge/Version-0.37.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.0](https://img.shields.io/badge/AppVersion-2.3.0-informational?style=flat-square) +![Version: 0.37.3](https://img.shields.io/badge/Version-0.37.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.0](https://img.shields.io/badge/AppVersion-2.3.0-informational?style=flat-square) Helm chart for Grafana Loki in microservices mode @@ -79,6 +79,11 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | compactor.terminationGracePeriodSeconds | int | `30` | Grace period to allow the compactor to shutdown before it is killed | | compactor.tolerations | list | `[]` | Tolerations for compactor pods | | distributor.affinity | string | Hard node and soft zone anti-affinity | Affinity for distributor pods. Passed through `tpl` and, thus, to be configured as string | +| distributor.autoscaling.enabled | bool | `false` | Enable autoscaling for the distributor | +| distributor.autoscaling.maxReplicas | int | `3` | Maximum autoscaling replicas for the distributor | +| distributor.autoscaling.minReplicas | int | `1` | Minimum autoscaling replicas for the distributor | +| distributor.autoscaling.targetCPUUtilizationPercentage | int | `60` | Target CPU utilisation percentage for the distributor | +| distributor.autoscaling.targetMemoryUtilizationPercentage | string | `nil` | Target memory utilisation percentage for the distributor | | distributor.extraArgs | list | `[]` | Additional CLI args for the distributor | | distributor.extraEnv | list | `[]` | Environment variables to add to the distributor pods | | distributor.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the distributor pods | @@ -97,6 +102,11 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | distributor.tolerations | list | `[]` | Tolerations for distributor pods | | fullnameOverride | string | `nil` | Overrides the chart's computed fullname | | gateway.affinity | string | Hard node and soft zone anti-affinity | Affinity for gateway pods. Passed through `tpl` and, thus, to be configured as string | +| gateway.autoscaling.enabled | bool | `false` | Enable autoscaling for the gateway | +| gateway.autoscaling.maxReplicas | int | `3` | Maximum autoscaling replicas for the gateway | +| gateway.autoscaling.minReplicas | int | `1` | Minimum autoscaling replicas for the gateway | +| gateway.autoscaling.targetCPUUtilizationPercentage | int | `60` | Target CPU utilisation percentage for the gateway | +| gateway.autoscaling.targetMemoryUtilizationPercentage | string | `nil` | Target memory utilisation percentage for the gateway | | gateway.basicAuth.enabled | bool | `false` | Enables basic authentication for the gateway | | gateway.basicAuth.existingSecret | string | `nil` | Existing basic auth secret to use. Must contain '.htpasswd' | | gateway.basicAuth.htpasswd | string | `"{{ htpasswd (required \"'gateway.basicAuth.username' is required\" .Values.gateway.basicAuth.username) (required \"'gateway.basicAuth.password' is required\" .Values.gateway.basicAuth.password) }}"` | Uses the specified username and password to compute a htpasswd using Sprig's `htpasswd` function. The value is templated using `tpl`. Override this to use a custom htpasswd, e.g. in case the default causes high CPU load. | @@ -287,6 +297,11 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | prometheusRule.labels | object | `{}` | Additional PrometheusRule labels | | prometheusRule.namespace | string | `nil` | Alternative namespace for the PrometheusRule resource | | querier.affinity | string | Hard node and soft zone anti-affinity | Affinity for querier pods. Passed through `tpl` and, thus, to be configured as string | +| querier.autoscaling.enabled | bool | `false` | Enable autoscaling for the querier, this is only used if `queryIndex.enabled: true` | +| querier.autoscaling.maxReplicas | int | `3` | Maximum autoscaling replicas for the querier | +| querier.autoscaling.minReplicas | int | `1` | Minimum autoscaling replicas for the querier | +| querier.autoscaling.targetCPUUtilizationPercentage | int | `60` | Target CPU utilisation percentage for the querier | +| querier.autoscaling.targetMemoryUtilizationPercentage | string | `nil` | Target memory utilisation percentage for the querier | | querier.extraArgs | list | `[]` | Additional CLI args for the querier | | querier.extraEnv | list | `[]` | Environment variables to add to the querier pods | | querier.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the querier pods | @@ -307,6 +322,11 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA | querier.terminationGracePeriodSeconds | int | `30` | Grace period to allow the querier to shutdown before it is killed | | querier.tolerations | list | `[]` | Tolerations for querier pods | | queryFrontend.affinity | string | Hard node and soft zone anti-affinity | Affinity for query-frontend pods. Passed through `tpl` and, thus, to be configured as string | +| queryFrontend.autoscaling.enabled | bool | `false` | Enable autoscaling for the query-frontend | +| queryFrontend.autoscaling.maxReplicas | int | `3` | Maximum autoscaling replicas for the query-frontend | +| queryFrontend.autoscaling.minReplicas | int | `1` | Minimum autoscaling replicas for the query-frontend | +| queryFrontend.autoscaling.targetCPUUtilizationPercentage | int | `60` | Target CPU utilisation percentage for the query-frontend | +| queryFrontend.autoscaling.targetMemoryUtilizationPercentage | string | `nil` | Target memory utilisation percentage for the query-frontend | | queryFrontend.extraArgs | list | `[]` | Additional CLI args for the query-frontend | | queryFrontend.extraEnv | list | `[]` | Environment variables to add to the query-frontend pods | | queryFrontend.extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the query-frontend pods | @@ -381,7 +401,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA ## Components -The chart supports the compontents shown in the following table. +The chart supports the components shown in the following table. Ingester, distributor, querier, and query-frontend are always installed. The other components are optional. @@ -393,8 +413,9 @@ The other components are optional. | querier | ❎ | n/a | | query-frontend | ❎ | n/a | | table-manager | ✅ | ❎ | -| compactor | ✅ | n/a | ❎ | -| ruler | ✅ | n/a | ❎ | +| compactor | ✅ | ❎ | +| ruler | ✅ | ❎ | +| index-gateway | ✅ | ❎ | | memcached-chunks | ✅ | ❎ | | memcached-frontend | ✅ | ❎ | | memcached-index-queries | ✅ | ❎ | diff --git a/charts/loki-distributed/README.md.gotmpl b/charts/loki-distributed/README.md.gotmpl index 4ba596af6f..5422a6ae60 100644 --- a/charts/loki-distributed/README.md.gotmpl +++ b/charts/loki-distributed/README.md.gotmpl @@ -52,7 +52,7 @@ kubectl delete statefulset RELEASE_NAME-loki-distributed-querier -n LOKI_NAMESPA ## Components -The chart supports the compontents shown in the following table. +The chart supports the components shown in the following table. Ingester, distributor, querier, and query-frontend are always installed. The other components are optional. @@ -64,8 +64,9 @@ The other components are optional. | querier | ❎ | n/a | | query-frontend | ❎ | n/a | | table-manager | ✅ | ❎ | -| compactor | ✅ | n/a | ❎ | -| ruler | ✅ | n/a | ❎ | +| compactor | ✅ | ❎ | +| ruler | ✅ | ❎ | +| index-gateway | ✅ | ❎ | | memcached-chunks | ✅ | ❎ | | memcached-frontend | ✅ | ❎ | | memcached-index-queries | ✅ | ❎ | diff --git a/charts/loki-distributed/templates/distributor/deployment-distributor.yaml b/charts/loki-distributed/templates/distributor/deployment-distributor.yaml index 17aa0104ad..d08e01cedf 100644 --- a/charts/loki-distributed/templates/distributor/deployment-distributor.yaml +++ b/charts/loki-distributed/templates/distributor/deployment-distributor.yaml @@ -6,7 +6,9 @@ metadata: {{- include "loki.distributorLabels" . | nindent 4 }} app.kubernetes.io/part-of: memberlist spec: +{{- if not .Values.distributor.autoscaling.enabled }} replicas: {{ .Values.distributor.replicas }} +{{- end }} strategy: rollingUpdate: maxSurge: 0 diff --git a/charts/loki-distributed/templates/distributor/hpa.yaml b/charts/loki-distributed/templates/distributor/hpa.yaml new file mode 100644 index 0000000000..23747c3dff --- /dev/null +++ b/charts/loki-distributed/templates/distributor/hpa.yaml @@ -0,0 +1,28 @@ +{{- if .Values.distributor.autoscaling.enabled }} +apiVersion: autoscaling/v2beta1 +kind: HorizontalPodAutoscaler +metadata: + name: {{ include "loki.distributorFullname" . }} + labels: + {{- include "loki.distributorLabels" . | nindent 4 }} +spec: + scaleTargetRef: + apiVersion: apps/v1 + kind: Deployment + name: {{ include "loki.distributorFullname" . }} + minReplicas: {{ .Values.distributor.autoscaling.minReplicas }} + maxReplicas: {{ .Values.distributor.autoscaling.maxReplicas }} + metrics: + {{- with .Values.distributor.autoscaling.targetCPUUtilizationPercentage }} + - type: Resource + resource: + name: cpu + targetAverageUtilization: {{ . }} + {{- end }} + {{- with .Values.distributor.autoscaling.targetMemoryUtilizationPercentage }} + - type: Resource + resource: + name: memory + targetAverageUtilization: {{ . }} + {{- end }} +{{- end }} diff --git a/charts/loki-distributed/templates/gateway/deployment-gateway.yaml b/charts/loki-distributed/templates/gateway/deployment-gateway.yaml index ae8e4c480a..aada790cd0 100644 --- a/charts/loki-distributed/templates/gateway/deployment-gateway.yaml +++ b/charts/loki-distributed/templates/gateway/deployment-gateway.yaml @@ -6,7 +6,9 @@ metadata: labels: {{- include "loki.gatewayLabels" . | nindent 4 }} spec: +{{- if not .Values.gateway.autoscaling.enabled }} replicas: {{ .Values.gateway.replicas }} +{{- end }} {{- with .Values.gateway.deploymentStrategy }} strategy: {{ toYaml . | trim | indent 4 }} diff --git a/charts/loki-distributed/templates/gateway/hpa.yaml b/charts/loki-distributed/templates/gateway/hpa.yaml new file mode 100644 index 0000000000..ffd31bac87 --- /dev/null +++ b/charts/loki-distributed/templates/gateway/hpa.yaml @@ -0,0 +1,28 @@ +{{- if .Values.gateway.autoscaling.enabled }} +apiVersion: autoscaling/v2beta1 +kind: HorizontalPodAutoscaler +metadata: + name: {{ include "loki.gatewayFullname" . }} + labels: + {{- include "loki.gatewayLabels" . | nindent 4 }} +spec: + scaleTargetRef: + apiVersion: apps/v1 + kind: Deployment + name: {{ include "loki.gatewayFullname" . }} + minReplicas: {{ .Values.gateway.autoscaling.minReplicas }} + maxReplicas: {{ .Values.gateway.autoscaling.maxReplicas }} + metrics: + {{- with .Values.gateway.autoscaling.targetCPUUtilizationPercentage }} + - type: Resource + resource: + name: cpu + targetAverageUtilization: {{ . }} + {{- end }} + {{- with .Values.gateway.autoscaling.targetMemoryUtilizationPercentage }} + - type: Resource + resource: + name: memory + targetAverageUtilization: {{ . }} + {{- end }} +{{- end }} diff --git a/charts/loki-distributed/templates/querier/deployment-querier.yaml b/charts/loki-distributed/templates/querier/deployment-querier.yaml index 22d4406eb8..32021c8033 100644 --- a/charts/loki-distributed/templates/querier/deployment-querier.yaml +++ b/charts/loki-distributed/templates/querier/deployment-querier.yaml @@ -7,7 +7,13 @@ metadata: {{- include "loki.querierLabels" . | nindent 4 }} app.kubernetes.io/part-of: memberlist spec: +{{- if not .Values.querier.autoscaling.enabled }} replicas: {{ .Values.querier.replicas }} +{{- end }} + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 revisionHistoryLimit: {{ .Values.loki.revisionHistoryLimit }} selector: matchLabels: diff --git a/charts/loki-distributed/templates/querier/hpa.yaml b/charts/loki-distributed/templates/querier/hpa.yaml new file mode 100644 index 0000000000..cfc84712e4 --- /dev/null +++ b/charts/loki-distributed/templates/querier/hpa.yaml @@ -0,0 +1,28 @@ +{{- if and .Values.indexGateway.enabled .Values.querier.autoscaling.enabled }} +apiVersion: autoscaling/v2beta1 +kind: HorizontalPodAutoscaler +metadata: + name: {{ include "loki.querierFullname" . }} + labels: + {{- include "loki.querierLabels" . | nindent 4 }} +spec: + scaleTargetRef: + apiVersion: apps/v1 + kind: Deployment + name: {{ include "loki.querierFullname" . }} + minReplicas: {{ .Values.querier.autoscaling.minReplicas }} + maxReplicas: {{ .Values.querier.autoscaling.maxReplicas }} + metrics: + {{- with .Values.querier.autoscaling.targetCPUUtilizationPercentage }} + - type: Resource + resource: + name: cpu + targetAverageUtilization: {{ . }} + {{- end }} + {{- with .Values.querier.autoscaling.targetMemoryUtilizationPercentage }} + - type: Resource + resource: + name: memory + targetAverageUtilization: {{ . }} + {{- end }} +{{- end }} diff --git a/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml b/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml index fb18a6d59f..c177579cae 100644 --- a/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml +++ b/charts/loki-distributed/templates/query-frontend/deployment-query-frontend.yaml @@ -5,7 +5,9 @@ metadata: labels: {{- include "loki.queryFrontendLabels" . | nindent 4 }} spec: +{{- if not .Values.queryFrontend.autoscaling.enabled }} replicas: {{ .Values.queryFrontend.replicas }} +{{- end }} strategy: rollingUpdate: maxSurge: 0 diff --git a/charts/loki-distributed/templates/query-frontend/hpa.yaml b/charts/loki-distributed/templates/query-frontend/hpa.yaml new file mode 100644 index 0000000000..c42231717a --- /dev/null +++ b/charts/loki-distributed/templates/query-frontend/hpa.yaml @@ -0,0 +1,28 @@ +{{- if .Values.queryFrontend.autoscaling.enabled }} +apiVersion: autoscaling/v2beta1 +kind: HorizontalPodAutoscaler +metadata: + name: {{ include "loki.queryFrontendFullname" . }} + labels: + {{- include "loki.queryFrontendLabels" . | nindent 4 }} +spec: + scaleTargetRef: + apiVersion: apps/v1 + kind: Deployment + name: {{ include "loki.queryFrontendFullname" . }} + minReplicas: {{ .Values.queryFrontend.autoscaling.minReplicas }} + maxReplicas: {{ .Values.queryFrontend.autoscaling.maxReplicas }} + metrics: + {{- with .Values.queryFrontend.autoscaling.targetCPUUtilizationPercentage }} + - type: Resource + resource: + name: cpu + targetAverageUtilization: {{ . }} + {{- end }} + {{- with .Values.queryFrontend.autoscaling.targetMemoryUtilizationPercentage }} + - type: Resource + resource: + name: memory + targetAverageUtilization: {{ . }} + {{- end }} +{{- end }} diff --git a/charts/loki-distributed/values.yaml b/charts/loki-distributed/values.yaml index fd65cc5b24..0306d32a73 100644 --- a/charts/loki-distributed/values.yaml +++ b/charts/loki-distributed/values.yaml @@ -288,6 +288,17 @@ ingester: distributor: # -- Number of replicas for the distributor replicas: 1 + autoscaling: + # -- Enable autoscaling for the distributor + enabled: false + # -- Minimum autoscaling replicas for the distributor + minReplicas: 1 + # -- Maximum autoscaling replicas for the distributor + maxReplicas: 3 + # -- Target CPU utilisation percentage for the distributor + targetCPUUtilizationPercentage: 60 + # -- Target memory utilisation percentage for the distributor + targetMemoryUtilizationPercentage: image: # -- The Docker registry for the distributor image. Overrides `loki.image.registry` registry: null @@ -340,6 +351,17 @@ distributor: querier: # -- Number of replicas for the querier replicas: 1 + autoscaling: + # -- Enable autoscaling for the querier, this is only used if `queryIndex.enabled: true` + enabled: false + # -- Minimum autoscaling replicas for the querier + minReplicas: 1 + # -- Maximum autoscaling replicas for the querier + maxReplicas: 3 + # -- Target CPU utilisation percentage for the querier + targetCPUUtilizationPercentage: 60 + # -- Target memory utilisation percentage for the querier + targetMemoryUtilizationPercentage: image: # -- The Docker registry for the querier image. Overrides `loki.image.registry` registry: null @@ -403,6 +425,17 @@ querier: queryFrontend: # -- Number of replicas for the query-frontend replicas: 1 + autoscaling: + # -- Enable autoscaling for the query-frontend + enabled: false + # -- Minimum autoscaling replicas for the query-frontend + minReplicas: 1 + # -- Maximum autoscaling replicas for the query-frontend + maxReplicas: 3 + # -- Target CPU utilisation percentage for the query-frontend + targetCPUUtilizationPercentage: 60 + # -- Target memory utilisation percentage for the query-frontend + targetMemoryUtilizationPercentage: image: # -- The Docker registry for the query-frontend image. Overrides `loki.image.registry` registry: null @@ -509,6 +542,17 @@ gateway: enabled: true # -- Number of replicas for the gateway replicas: 1 + autoscaling: + # -- Enable autoscaling for the gateway + enabled: false + # -- Minimum autoscaling replicas for the gateway + minReplicas: 1 + # -- Maximum autoscaling replicas for the gateway + maxReplicas: 3 + # -- Target CPU utilisation percentage for the gateway + targetCPUUtilizationPercentage: 60 + # -- Target memory utilisation percentage for the gateway + targetMemoryUtilizationPercentage: # -- See `kubectl explain deployment.spec.strategy` for more # -- ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy deploymentStrategy: @@ -997,7 +1041,6 @@ memcached: - ALL allowPrivilegeEscalation: false - memcachedExporter: # -- Specifies whether the Memcached Exporter should be enabled enabled: false From 49f53a73b1872628be06be496a3102223a7c4f9d Mon Sep 17 00:00:00 2001 From: Jennifer Villa Date: Wed, 8 Sep 2021 03:04:52 +0000 Subject: [PATCH 24/26] Removed consul references from GEM Helm chart. Signed-off-by: Jennifer Villa --- charts/enterprise-metrics/Chart.lock | 3 --- charts/enterprise-metrics/Chart.yaml | 5 ----- charts/enterprise-metrics/capped-large.yaml | 9 --------- charts/enterprise-metrics/capped-small.yaml | 11 ----------- charts/enterprise-metrics/large.yaml | 9 --------- .../multi-kv-consul-primary-values.yaml | 13 ------------- .../multi-kv-memberlist-primary-values.yaml | 17 ----------------- charts/enterprise-metrics/small.yaml | 11 ----------- .../templates/distributor-dep.yaml | 3 --- .../templates/ingester-dep.yaml | 3 --- .../templates/ingester-statefulset.yaml | 3 --- .../templates/querier-dep.yaml | 3 --- .../enterprise-metrics/templates/ruler-dep.yaml | 6 ------ charts/enterprise-metrics/values.yaml | 12 ------------ 14 files changed, 108 deletions(-) delete mode 100644 charts/enterprise-metrics/multi-kv-consul-primary-values.yaml delete mode 100644 charts/enterprise-metrics/multi-kv-memberlist-primary-values.yaml diff --git a/charts/enterprise-metrics/Chart.lock b/charts/enterprise-metrics/Chart.lock index 37f6541107..18dbdf676f 100644 --- a/charts/enterprise-metrics/Chart.lock +++ b/charts/enterprise-metrics/Chart.lock @@ -11,8 +11,5 @@ dependencies: - name: minio repository: https://helm.min.io/ version: 8.0.9 -- name: consul - repository: https://helm.releases.hashicorp.com - version: 0.25.0 digest: sha256:c9c729462e364f64e476603ece88e30288f66662b337ac35bbde7dc8eba95719 generated: "2021-03-22T17:15:44.263441129Z" diff --git a/charts/enterprise-metrics/Chart.yaml b/charts/enterprise-metrics/Chart.yaml index c588cf049a..4e6a8b6f38 100755 --- a/charts/enterprise-metrics/Chart.yaml +++ b/charts/enterprise-metrics/Chart.yaml @@ -28,8 +28,3 @@ dependencies: version: 8.0.9 repository: https://helm.min.io/ condition: minio.enabled - - name: consul - alias: consul - version: 0.25.0 - repository: https://helm.releases.hashicorp.com - condition: consul.enabled diff --git a/charts/enterprise-metrics/capped-large.yaml b/charts/enterprise-metrics/capped-large.yaml index 336f72a41b..be3cfeea5b 100644 --- a/charts/enterprise-metrics/capped-large.yaml +++ b/charts/enterprise-metrics/capped-large.yaml @@ -46,15 +46,6 @@ compactor: cpu: 2 memory: 2Gi -consul: - resources: - requests: - cpu: 4 - memory: 4Gi - server: - replicas: 3 - bootstrapExpect: 3 - distributor: replicas: 15 resources: diff --git a/charts/enterprise-metrics/capped-small.yaml b/charts/enterprise-metrics/capped-small.yaml index 6b057dc16a..c89596c198 100644 --- a/charts/enterprise-metrics/capped-small.yaml +++ b/charts/enterprise-metrics/capped-small.yaml @@ -46,17 +46,6 @@ compactor: cpu: 2 memory: 2Gi -consul: - client: - enabled: false - resources: - requests: - cpu: 1 - memory: 2Gi - server: - replicas: 3 - bootstrapExpect: 3 - distributor: replicas: 3 resources: diff --git a/charts/enterprise-metrics/large.yaml b/charts/enterprise-metrics/large.yaml index 56f56ce3d0..0e1a771512 100644 --- a/charts/enterprise-metrics/large.yaml +++ b/charts/enterprise-metrics/large.yaml @@ -45,15 +45,6 @@ compactor: cpu: 1 memory: 1Gi -consul: - resources: - requests: - cpu: 4 - memory: 4Gi - server: - replicas: 3 - bootstrapExpect: 3 - distributor: replicas: 15 resources: diff --git a/charts/enterprise-metrics/multi-kv-consul-primary-values.yaml b/charts/enterprise-metrics/multi-kv-consul-primary-values.yaml deleted file mode 100644 index 88e6e6a848..0000000000 --- a/charts/enterprise-metrics/multi-kv-consul-primary-values.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -config: - distributor: - ring: - kvstore: - store: multi - consul: - http_client_timeout: '20s' - consistent_reads: true - multi: - mirror_enabled: true - primary: consul - secondary: memberlist diff --git a/charts/enterprise-metrics/multi-kv-memberlist-primary-values.yaml b/charts/enterprise-metrics/multi-kv-memberlist-primary-values.yaml deleted file mode 100644 index 7128052525..0000000000 --- a/charts/enterprise-metrics/multi-kv-memberlist-primary-values.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -config: - distributor: - ring: - kvstore: - store: multi - consul: - http_client_timeout: '20s' - consistent_reads: true - multi: - mirror_enabled: true - primary: consul - secondary: memberlist - -runtimeConfig: - multi_kv_config: - primary: memberlist diff --git a/charts/enterprise-metrics/small.yaml b/charts/enterprise-metrics/small.yaml index 4cbdce23ac..f872e37bdf 100644 --- a/charts/enterprise-metrics/small.yaml +++ b/charts/enterprise-metrics/small.yaml @@ -45,17 +45,6 @@ compactor: cpu: 1 memory: 1Gi -consul: - client: - enabled: false - resources: - requests: - cpu: 1 - memory: 2Gi - server: - replicas: 3 - bootstrapExpect: 3 - distributor: replicas: 3 resources: diff --git a/charts/enterprise-metrics/templates/distributor-dep.yaml b/charts/enterprise-metrics/templates/distributor-dep.yaml index 54e4b33157..a54d1827ed 100755 --- a/charts/enterprise-metrics/templates/distributor-dep.yaml +++ b/charts/enterprise-metrics/templates/distributor-dep.yaml @@ -61,9 +61,6 @@ spec: - "-target=distributor" - "-config.file=/etc/enterprise-metrics/enterprise-metrics.yaml" - "-memberlist.join={{ template "enterprise-metrics.fullname" . }}-gossip-ring" - {{- if .Values.consul.enabled }} - - -consul.hostname={{ .Release.Name }}-consul-server.{{ .Release.Namespace }}.svc:8500 - {{- end }} {{- if .Values.minio.enabled }} - -admin.client.backend-type=s3 - -admin.client.s3.endpoint={{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc:9000 diff --git a/charts/enterprise-metrics/templates/ingester-dep.yaml b/charts/enterprise-metrics/templates/ingester-dep.yaml index 8af383a165..01ea098c31 100755 --- a/charts/enterprise-metrics/templates/ingester-dep.yaml +++ b/charts/enterprise-metrics/templates/ingester-dep.yaml @@ -60,9 +60,6 @@ spec: args: - "-target=ingester" - "-config.file=/etc/enterprise-metrics/enterprise-metrics.yaml" - {{- if .Values.consul.enabled }} - - -consul.hostname={{ .Release.Name }}-consul-server.{{ .Release.Namespace }}.svc:8500 - {{- end }} {{- if .Values.minio.enabled }} - -admin.client.backend-type=s3 - -admin.client.s3.endpoint={{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc:9000 diff --git a/charts/enterprise-metrics/templates/ingester-statefulset.yaml b/charts/enterprise-metrics/templates/ingester-statefulset.yaml index c47cf457b8..d8774215cb 100644 --- a/charts/enterprise-metrics/templates/ingester-statefulset.yaml +++ b/charts/enterprise-metrics/templates/ingester-statefulset.yaml @@ -116,9 +116,6 @@ spec: - "-target=ingester" - "-config.file=/etc/enterprise-metrics/enterprise-metrics.yaml" - "-memberlist.join={{ template "enterprise-metrics.fullname" . }}-gossip-ring" - {{- if .Values.consul.enabled }} - - -consul.hostname={{ .Release.Name }}-consul-server.{{ .Release.Namespace }}.svc:8500 - {{- end }} {{- if .Values.minio.enabled }} - -admin.client.backend-type=s3 - -admin.client.s3.endpoint={{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc:9000 diff --git a/charts/enterprise-metrics/templates/querier-dep.yaml b/charts/enterprise-metrics/templates/querier-dep.yaml index 84c3378aa8..7be64a3f1a 100755 --- a/charts/enterprise-metrics/templates/querier-dep.yaml +++ b/charts/enterprise-metrics/templates/querier-dep.yaml @@ -62,9 +62,6 @@ spec: - "-config.file=/etc/enterprise-metrics/enterprise-metrics.yaml" - "-querier.frontend-address={{ template "enterprise-metrics.fullname" . }}-query-frontend-headless.{{ .Release.Namespace }}.svc:{{ .Values.config.server.grpc_listen_port }}" - "-memberlist.join={{ template "enterprise-metrics.fullname" . }}-gossip-ring" - {{- if .Values.consul.enabled }} - - -consul.hostname={{ .Release.Name }}-consul-server.{{ .Release.Namespace }}.svc:8500 - {{- end }} {{- if .Values.minio.enabled }} - -admin.client.backend-type=s3 - -admin.client.s3.endpoint={{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc:9000 diff --git a/charts/enterprise-metrics/templates/ruler-dep.yaml b/charts/enterprise-metrics/templates/ruler-dep.yaml index 5cc316fa44..a4fb5cc1f3 100755 --- a/charts/enterprise-metrics/templates/ruler-dep.yaml +++ b/charts/enterprise-metrics/templates/ruler-dep.yaml @@ -61,12 +61,6 @@ spec: - "-target=ruler" - "-config.file=/etc/enterprise-metrics/enterprise-metrics.yaml" - "-memberlist.join={{ template "enterprise-metrics.fullname" . }}-gossip-ring" - {{- if .Values.consul.enabled }} - - -consul.hostname={{ .Release.Name }}-consul-server.{{ .Release.Namespace }}.svc:8500 - - -ruler.ring.store=consul - - -ruler.ring.consul.hostname={{ .Release.Name }}-consul-server.{{ .Release.Namespace }}.svc:8500 - - -ruler.enable-sharding=true - {{- end }} {{- if .Values.minio.enabled }} - -admin.client.backend-type=s3 - -admin.client.s3.endpoint={{ .Release.Name }}-minio.{{ .Release.Namespace }}.svc:9000 diff --git a/charts/enterprise-metrics/values.yaml b/charts/enterprise-metrics/values.yaml index e2be62f0dd..23fb56cd66 100644 --- a/charts/enterprise-metrics/values.yaml +++ b/charts/enterprise-metrics/values.yaml @@ -1086,15 +1086,3 @@ minio: cpu: 100m memory: 128Mi secretKey: supersecret - -consul: - enabled: false - client: - enabled: false - resources: - requests: - cpu: 100m - memory: 128Mi - server: - replicas: 1 - bootstrapExpect: 1 From 425c2935890b791b87fd69573efa40d9dc2aa2be Mon Sep 17 00:00:00 2001 From: Jennifer Villa Date: Wed, 8 Sep 2021 03:06:40 +0000 Subject: [PATCH 25/26] Updating the Changelog and bumping the chart version. Signed-off-by: Jennifer Villa --- charts/enterprise-metrics/CHANGELOG.md | 4 ++++ charts/enterprise-metrics/Chart.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/enterprise-metrics/CHANGELOG.md b/charts/enterprise-metrics/CHANGELOG.md index b1037e7a13..4fa0fe4402 100644 --- a/charts/enterprise-metrics/CHANGELOG.md +++ b/charts/enterprise-metrics/CHANGELOG.md @@ -10,6 +10,10 @@ Entries should be ordered as follows: Entries should include a reference to the Pull Request that introduced the change. +## 1.5.2 + +* [CHANGE] Removed all references to Consul in the yaml files since GEM will be focused on deploying with memberlist. Deleted the multi-kv-consul-primary-values.yaml and multi-kv-memberlist-primary-values.yaml files since they assume you're running Consul as your primary or second kvstore. #674 + ## 1.5.1 * [BUGFIX] Unused `ingress` configuration section removed from `values.yaml`. #658 diff --git a/charts/enterprise-metrics/Chart.yaml b/charts/enterprise-metrics/Chart.yaml index 4e6a8b6f38..814cbd81d0 100755 --- a/charts/enterprise-metrics/Chart.yaml +++ b/charts/enterprise-metrics/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -version: 1.5.1 +version: 1.5.2 appVersion: v1.5.0 description: 'Grafana Enterprise Metrics' engine: gotpl From 80ff3111bafda8c1271521eab79abac683454749 Mon Sep 17 00:00:00 2001 From: Jennifer Villa Date: Wed, 8 Sep 2021 03:07:58 +0000 Subject: [PATCH 26/26] Updating the exports. Signed-off-by: Jennifer Villa Signed-off-by: Jack Baldry --- charts/enterprise-metrics/Chart.lock | 4 +- ...ployment-enterprise-metrics-admin-api.yaml | 117 ++++++++++++++++++ ...oyment-enterprise-metrics-distributor.yaml | 105 ++++++++++++++++ ...Deployment-enterprise-metrics-gateway.yaml | 100 +++++++++++++++ ...1.Deployment-enterprise-metrics-minio.yaml | 72 +++++++++++ ...enterprise-metrics-overrides-exporter.yaml | 105 ++++++++++++++++ ...Deployment-enterprise-metrics-querier.yaml | 114 +++++++++++++++++ ...ent-enterprise-metrics-query-frontend.yaml | 100 +++++++++++++++ ...1.Deployment-enterprise-metrics-ruler.yaml | 110 ++++++++++++++++ ...ulSet-enterprise-metrics-alertmanager.yaml | 106 ++++++++++++++++ ...tefulSet-enterprise-metrics-compactor.yaml | 116 +++++++++++++++++ ...atefulSet-enterprise-metrics-ingester.yaml | 114 +++++++++++++++++ ...lSet-enterprise-metrics-store-gateway.yaml | 114 +++++++++++++++++ ...erprise-metrics-minio-make-bucket-job.yaml | 49 ++++++++ ...ch-v1.Job-enterprise-metrics-tokengen.yaml | 57 +++++++++ .../exports/default/manifest.json | 44 +++++++ ....PodSecurityPolicy-enterprise-metrics.yaml | 38 ++++++ ...etrics-minio-update-prometheus-secret.yaml | 37 ++++++ ...ion.k8s.io-v1.Role-enterprise-metrics.yaml | 20 +++ ...etrics-minio-update-prometheus-secret.yaml | 19 +++ ....io-v1.RoleBinding-enterprise-metrics.yaml | 18 +++ ...v1.ConfigMap-enterprise-metrics-minio.yaml | 48 +++++++ ....ConfigMap-enterprise-metrics-runtime.yaml | 15 +++ ...tVolumeClaim-enterprise-metrics-minio.yaml | 17 +++ .../v1.Secret-enterprise-metrics-license.yaml | 13 ++ .../v1.Secret-enterprise-metrics-minio.yaml | 15 +++ .../default/v1.Secret-enterprise-metrics.yaml | 13 ++ ....Service-enterprise-metrics-admin-api.yaml | 25 ++++ ...erprise-metrics-alertmanager-headless.yaml | 29 +++++ ...rvice-enterprise-metrics-alertmanager.yaml | 25 ++++ ...ervice-enterprise-metrics-distributor.yaml | 25 ++++ ...v1.Service-enterprise-metrics-gateway.yaml | 21 ++++ ...ervice-enterprise-metrics-gossip-ring.yaml | 22 ++++ ...1.Service-enterprise-metrics-ingester.yaml | 25 ++++ .../v1.Service-enterprise-metrics-minio.yaml | 21 ++++ ...enterprise-metrics-overrides-exporter.yaml | 25 ++++ ...v1.Service-enterprise-metrics-querier.yaml | 25 ++++ ...prise-metrics-query-frontend-headless.yaml | 27 ++++ ...ice-enterprise-metrics-query-frontend.yaml | 25 ++++ .../v1.Service-enterprise-metrics-ruler.yaml | 21 ++++ ...vice-enterprise-metrics-store-gateway.yaml | 25 ++++ ...etrics-minio-update-prometheus-secret.yaml | 11 ++ ...rviceAccount-enterprise-metrics-minio.yaml | 10 ++ .../v1.ServiceAccount-enterprise-metrics.yaml | 11 ++ ...ployment-enterprise-metrics-admin-api.yaml | 93 ++++++++++++++ ...oyment-enterprise-metrics-distributor.yaml | 101 +++++++++++++++ ...Deployment-enterprise-metrics-gateway.yaml | 94 ++++++++++++++ ...enterprise-metrics-overrides-exporter.yaml | 94 ++++++++++++++ ...Deployment-enterprise-metrics-querier.yaml | 108 ++++++++++++++++ ...ent-enterprise-metrics-query-frontend.yaml | 96 ++++++++++++++ ...1.Deployment-enterprise-metrics-ruler.yaml | 97 +++++++++++++++ ...ulSet-enterprise-metrics-alertmanager.yaml | 99 +++++++++++++++ ...tefulSet-enterprise-metrics-compactor.yaml | 108 ++++++++++++++++ ...atefulSet-enterprise-metrics-ingester.yaml | 105 ++++++++++++++++ ...enterprise-metrics-memcached-metadata.yaml | 106 ++++++++++++++++ ...-enterprise-metrics-memcached-queries.yaml | 106 ++++++++++++++++ ...tefulSet-enterprise-metrics-memcached.yaml | 106 ++++++++++++++++ ...lSet-enterprise-metrics-store-gateway.yaml | 112 +++++++++++++++++ ...ch-v1.Job-enterprise-metrics-tokengen.yaml | 51 ++++++++ .../exports/large/manifest.json | 43 +++++++ ....PodSecurityPolicy-enterprise-metrics.yaml | 38 ++++++ ...ion.k8s.io-v1.Role-enterprise-metrics.yaml | 20 +++ ....io-v1.RoleBinding-enterprise-metrics.yaml | 18 +++ ....ConfigMap-enterprise-metrics-runtime.yaml | 15 +++ .../v1.Secret-enterprise-metrics-license.yaml | 13 ++ .../large/v1.Secret-enterprise-metrics.yaml | 13 ++ ....Service-enterprise-metrics-admin-api.yaml | 25 ++++ ...erprise-metrics-alertmanager-headless.yaml | 29 +++++ ...rvice-enterprise-metrics-alertmanager.yaml | 25 ++++ ...ervice-enterprise-metrics-distributor.yaml | 25 ++++ ...v1.Service-enterprise-metrics-gateway.yaml | 21 ++++ ...ervice-enterprise-metrics-gossip-ring.yaml | 22 ++++ ...1.Service-enterprise-metrics-ingester.yaml | 25 ++++ ...se-metrics-memcached-metadata-metrics.yaml | 23 ++++ ...enterprise-metrics-memcached-metadata.yaml | 21 ++++ ...-enterprise-metrics-memcached-metrics.yaml | 23 ++++ ...ise-metrics-memcached-queries-metrics.yaml | 23 ++++ ...-enterprise-metrics-memcached-queries.yaml | 21 ++++ ....Service-enterprise-metrics-memcached.yaml | 21 ++++ ...enterprise-metrics-overrides-exporter.yaml | 25 ++++ ...v1.Service-enterprise-metrics-querier.yaml | 25 ++++ ...prise-metrics-query-frontend-headless.yaml | 27 ++++ ...ice-enterprise-metrics-query-frontend.yaml | 25 ++++ .../v1.Service-enterprise-metrics-ruler.yaml | 21 ++++ ...vice-enterprise-metrics-store-gateway.yaml | 25 ++++ .../v1.ServiceAccount-enterprise-metrics.yaml | 11 ++ ...ployment-enterprise-metrics-admin-api.yaml | 93 ++++++++++++++ ...oyment-enterprise-metrics-distributor.yaml | 101 +++++++++++++++ ...Deployment-enterprise-metrics-gateway.yaml | 94 ++++++++++++++ ...enterprise-metrics-overrides-exporter.yaml | 94 ++++++++++++++ ...Deployment-enterprise-metrics-querier.yaml | 108 ++++++++++++++++ ...ent-enterprise-metrics-query-frontend.yaml | 96 ++++++++++++++ ...1.Deployment-enterprise-metrics-ruler.yaml | 97 +++++++++++++++ ...ulSet-enterprise-metrics-alertmanager.yaml | 99 +++++++++++++++ ...tefulSet-enterprise-metrics-compactor.yaml | 108 ++++++++++++++++ ...atefulSet-enterprise-metrics-ingester.yaml | 105 ++++++++++++++++ ...enterprise-metrics-memcached-metadata.yaml | 106 ++++++++++++++++ ...-enterprise-metrics-memcached-queries.yaml | 106 ++++++++++++++++ ...tefulSet-enterprise-metrics-memcached.yaml | 106 ++++++++++++++++ ...lSet-enterprise-metrics-store-gateway.yaml | 112 +++++++++++++++++ ...ch-v1.Job-enterprise-metrics-tokengen.yaml | 51 ++++++++ .../exports/small/manifest.json | 43 +++++++ ....PodSecurityPolicy-enterprise-metrics.yaml | 38 ++++++ ...ion.k8s.io-v1.Role-enterprise-metrics.yaml | 20 +++ ....io-v1.RoleBinding-enterprise-metrics.yaml | 18 +++ ....ConfigMap-enterprise-metrics-runtime.yaml | 15 +++ .../v1.Secret-enterprise-metrics-license.yaml | 13 ++ .../small/v1.Secret-enterprise-metrics.yaml | 13 ++ ....Service-enterprise-metrics-admin-api.yaml | 25 ++++ ...erprise-metrics-alertmanager-headless.yaml | 29 +++++ ...rvice-enterprise-metrics-alertmanager.yaml | 25 ++++ ...ervice-enterprise-metrics-distributor.yaml | 25 ++++ ...v1.Service-enterprise-metrics-gateway.yaml | 21 ++++ ...ervice-enterprise-metrics-gossip-ring.yaml | 22 ++++ ...1.Service-enterprise-metrics-ingester.yaml | 25 ++++ ...se-metrics-memcached-metadata-metrics.yaml | 23 ++++ ...enterprise-metrics-memcached-metadata.yaml | 21 ++++ ...-enterprise-metrics-memcached-metrics.yaml | 23 ++++ ...ise-metrics-memcached-queries-metrics.yaml | 23 ++++ ...-enterprise-metrics-memcached-queries.yaml | 21 ++++ ....Service-enterprise-metrics-memcached.yaml | 21 ++++ ...enterprise-metrics-overrides-exporter.yaml | 25 ++++ ...v1.Service-enterprise-metrics-querier.yaml | 25 ++++ ...prise-metrics-query-frontend-headless.yaml | 27 ++++ ...ice-enterprise-metrics-query-frontend.yaml | 25 ++++ .../v1.Service-enterprise-metrics-ruler.yaml | 21 ++++ ...vice-enterprise-metrics-store-gateway.yaml | 25 ++++ .../v1.ServiceAccount-enterprise-metrics.yaml | 11 ++ 128 files changed, 6249 insertions(+), 2 deletions(-) create mode 100644 charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-admin-api.yaml create mode 100644 charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-distributor.yaml create mode 100644 charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-gateway.yaml create mode 100644 charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-minio.yaml create mode 100644 charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-overrides-exporter.yaml create mode 100644 charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-querier.yaml create mode 100644 charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-query-frontend.yaml create mode 100644 charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-ruler.yaml create mode 100644 charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-alertmanager.yaml create mode 100644 charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-compactor.yaml create mode 100644 charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-ingester.yaml create mode 100644 charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-store-gateway.yaml create mode 100644 charts/enterprise-metrics/exports/default/batch-v1.Job-enterprise-metrics-minio-make-bucket-job.yaml create mode 100644 charts/enterprise-metrics/exports/default/batch-v1.Job-enterprise-metrics-tokengen.yaml create mode 100644 charts/enterprise-metrics/exports/default/manifest.json create mode 100644 charts/enterprise-metrics/exports/default/policy-v1beta1.PodSecurityPolicy-enterprise-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.Role-enterprise-metrics-minio-update-prometheus-secret.yaml create mode 100644 charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.Role-enterprise-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics-minio-update-prometheus-secret.yaml create mode 100644 charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.ConfigMap-enterprise-metrics-minio.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.ConfigMap-enterprise-metrics-runtime.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.PersistentVolumeClaim-enterprise-metrics-minio.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Secret-enterprise-metrics-license.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Secret-enterprise-metrics-minio.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Secret-enterprise-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-admin-api.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-alertmanager-headless.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-alertmanager.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-distributor.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-gateway.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-gossip-ring.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-ingester.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-minio.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-overrides-exporter.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-querier.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-query-frontend-headless.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-query-frontend.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-ruler.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-store-gateway.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.ServiceAccount-enterprise-metrics-minio-update-prometheus-secret.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.ServiceAccount-enterprise-metrics-minio.yaml create mode 100644 charts/enterprise-metrics/exports/default/v1.ServiceAccount-enterprise-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-admin-api.yaml create mode 100644 charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-distributor.yaml create mode 100644 charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-gateway.yaml create mode 100644 charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-overrides-exporter.yaml create mode 100644 charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-querier.yaml create mode 100644 charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-query-frontend.yaml create mode 100644 charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-ruler.yaml create mode 100644 charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-alertmanager.yaml create mode 100644 charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-compactor.yaml create mode 100644 charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-ingester.yaml create mode 100644 charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-memcached-metadata.yaml create mode 100644 charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-memcached-queries.yaml create mode 100644 charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-memcached.yaml create mode 100644 charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-store-gateway.yaml create mode 100644 charts/enterprise-metrics/exports/large/batch-v1.Job-enterprise-metrics-tokengen.yaml create mode 100644 charts/enterprise-metrics/exports/large/manifest.json create mode 100644 charts/enterprise-metrics/exports/large/policy-v1beta1.PodSecurityPolicy-enterprise-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/large/rbac.authorization.k8s.io-v1.Role-enterprise-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/large/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.ConfigMap-enterprise-metrics-runtime.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Secret-enterprise-metrics-license.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Secret-enterprise-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-admin-api.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-alertmanager-headless.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-alertmanager.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-distributor.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-gateway.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-gossip-ring.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-ingester.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-metadata-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-metadata.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-queries-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-queries.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-overrides-exporter.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-querier.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-query-frontend-headless.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-query-frontend.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-ruler.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-store-gateway.yaml create mode 100644 charts/enterprise-metrics/exports/large/v1.ServiceAccount-enterprise-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-admin-api.yaml create mode 100644 charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-distributor.yaml create mode 100644 charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-gateway.yaml create mode 100644 charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-overrides-exporter.yaml create mode 100644 charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-querier.yaml create mode 100644 charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-query-frontend.yaml create mode 100644 charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-ruler.yaml create mode 100644 charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-alertmanager.yaml create mode 100644 charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-compactor.yaml create mode 100644 charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-ingester.yaml create mode 100644 charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-memcached-metadata.yaml create mode 100644 charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-memcached-queries.yaml create mode 100644 charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-memcached.yaml create mode 100644 charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-store-gateway.yaml create mode 100644 charts/enterprise-metrics/exports/small/batch-v1.Job-enterprise-metrics-tokengen.yaml create mode 100644 charts/enterprise-metrics/exports/small/manifest.json create mode 100644 charts/enterprise-metrics/exports/small/policy-v1beta1.PodSecurityPolicy-enterprise-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/small/rbac.authorization.k8s.io-v1.Role-enterprise-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/small/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.ConfigMap-enterprise-metrics-runtime.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Secret-enterprise-metrics-license.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Secret-enterprise-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-admin-api.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-alertmanager-headless.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-alertmanager.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-distributor.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-gateway.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-gossip-ring.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-ingester.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-metadata-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-metadata.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-queries-metrics.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-queries.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-overrides-exporter.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-querier.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-query-frontend-headless.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-query-frontend.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-ruler.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-store-gateway.yaml create mode 100644 charts/enterprise-metrics/exports/small/v1.ServiceAccount-enterprise-metrics.yaml diff --git a/charts/enterprise-metrics/Chart.lock b/charts/enterprise-metrics/Chart.lock index 18dbdf676f..ee08d4b68f 100644 --- a/charts/enterprise-metrics/Chart.lock +++ b/charts/enterprise-metrics/Chart.lock @@ -11,5 +11,5 @@ dependencies: - name: minio repository: https://helm.min.io/ version: 8.0.9 -digest: sha256:c9c729462e364f64e476603ece88e30288f66662b337ac35bbde7dc8eba95719 -generated: "2021-03-22T17:15:44.263441129Z" +digest: sha256:a4f19f16d818da7216c6386eb1a8ff941619f100796525098fec318940c7f755 +generated: "2021-09-08T03:07:20.793390675Z" diff --git a/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-admin-api.yaml b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-admin-api.yaml new file mode 100644 index 0000000000..b91fe48c26 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-admin-api.yaml @@ -0,0 +1,117 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-admin-api + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-admin-api + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-admin-api + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-admin-api + gossip_ring_member: "true" + name: admin-api + release: enterprise-metrics + target: admin-api + spec: + affinity: {} + containers: + - args: + - -target=admin-api + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + - -admin.client.backend-type=s3 + - -admin.client.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -admin.client.s3.bucket-name=enterprise-metrics-admin + - -admin.client.s3.access-key-id=enterprise-metrics + - -admin.client.s3.secret-access-key=supersecret + - -admin.client.s3.insecure=true + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 10m + memory: 32Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + initContainers: + - command: + - /bin/sh + - /config/initialize + env: + - name: MINIO_ENDPOINT + value: enterprise-metrics-minio + - name: MINIO_PORT + value: "9000" + image: minio/mc:RELEASE.2020-11-25T23-04-07Z + imagePullPolicy: IfNotPresent + name: minio-mc + volumeMounts: + - mountPath: /config + name: minio-configuration + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 60 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage + - name: minio-configuration + projected: + sources: + - configMap: + name: enterprise-metrics-minio + - secret: + name: enterprise-metrics-minio diff --git a/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-distributor.yaml b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-distributor.yaml new file mode 100644 index 0000000000..523207942d --- /dev/null +++ b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-distributor.yaml @@ -0,0 +1,105 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-distributor + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-distributor + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-distributor + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-distributor + gossip_ring_member: "true" + name: distributor + release: enterprise-metrics + target: distributor + spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: target + operator: In + values: + - distributor + topologyKey: kubernetes.io/hostname + containers: + - args: + - -target=distributor + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + - -admin.client.backend-type=s3 + - -admin.client.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -admin.client.s3.bucket-name=enterprise-metrics-admin + - -admin.client.s3.access-key-id=enterprise-metrics + - -admin.client.s3.secret-access-key=supersecret + - -admin.client.s3.insecure=true + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 100m + memory: 512Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 60 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-gateway.yaml b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-gateway.yaml new file mode 100644 index 0000000000..e7dd368c73 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-gateway.yaml @@ -0,0 +1,100 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-gateway + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-gateway + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-gateway + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-gateway + name: gateway + release: enterprise-metrics + target: gateway + spec: + affinity: {} + containers: + - args: + - -target=gateway + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -admin.client.backend-type=s3 + - -admin.client.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -admin.client.s3.bucket-name=enterprise-metrics-admin + - -admin.client.s3.access-key-id=enterprise-metrics + - -admin.client.s3.secret-access-key=supersecret + - -admin.client.s3.insecure=true + - -gateway.proxy.default.url=http://enterprise-metrics-admin-api.enterprise-metrics.svc:8080 + - -gateway.proxy.admin-api.url=http://enterprise-metrics-admin-api.enterprise-metrics.svc:8080 + - -gateway.proxy.alertmanager.url=http://enterprise-metrics-alertmanager.enterprise-metrics.svc:8080 + - -gateway.proxy.distributor.url=http://enterprise-metrics-distributor.enterprise-metrics.svc:8080 + - -gateway.proxy.graphite.url=http://enterprise-metrics-graphite.enterprise-metrics.svc:8080 + - -gateway.proxy.ingester.url=http://enterprise-metrics-ingester.enterprise-metrics.svc:8080 + - -gateway.proxy.query-frontend.url=http://enterprise-metrics-query-frontend.enterprise-metrics.svc:8080 + - -gateway.proxy.ruler.url=http://enterprise-metrics-ruler.enterprise-metrics.svc:8080 + - -gateway.proxy.store-gateway.url=http://enterprise-metrics-store-gateway.enterprise-metrics.svc:8080 + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 10m + memory: 32Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 60 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-minio.yaml b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-minio.yaml new file mode 100644 index 0000000000..6385f7f4c9 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-minio.yaml @@ -0,0 +1,72 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: minio + app.kubernetes.io/managed-by: Helmraiser + chart: minio-8.0.9 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-minio + namespace: enterprise-metrics +spec: + selector: + matchLabels: + app: minio + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 100% + maxUnavailable: 0 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: e3aaae66dd9e59f719313257fcc8dc72b8f9c46f65284bcb27e80e5fc00dca2d + checksum/secrets: 7bc6746c52c8c0eb9b78f91bed2d3f8cfa21de7d0599131149e2a55b439d9252 + labels: + app: minio + release: enterprise-metrics + name: enterprise-metrics-minio + spec: + containers: + - command: + - /bin/sh + - -ce + - /usr/bin/docker-entrypoint.sh minio -S /etc/minio/certs/ server /export + env: + - name: MINIO_ACCESS_KEY + valueFrom: + secretKeyRef: + key: accesskey + name: enterprise-metrics-minio + - name: MINIO_SECRET_KEY + valueFrom: + secretKeyRef: + key: secretkey + name: enterprise-metrics-minio + image: minio/minio:RELEASE.2020-12-03T05-49-24Z + imagePullPolicy: IfNotPresent + name: minio + ports: + - containerPort: 9000 + name: http + resources: + requests: + cpu: 100m + memory: 128Mi + volumeMounts: + - mountPath: /export + name: export + securityContext: + fsGroup: 1000 + runAsGroup: 1000 + runAsUser: 1000 + serviceAccountName: enterprise-metrics-minio + volumes: + - name: export + persistentVolumeClaim: + claimName: enterprise-metrics-minio + - name: minio-user + secret: + secretName: enterprise-metrics-minio diff --git a/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-overrides-exporter.yaml b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-overrides-exporter.yaml new file mode 100644 index 0000000000..e20a5900e8 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-overrides-exporter.yaml @@ -0,0 +1,105 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-overrides-exporter + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-overrides-exporter + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-overrides-exporter + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-overrides-exporter + gossip_ring_member: "true" + name: overrides-exporter + release: enterprise-metrics + target: overrides-exporter + spec: + affinity: {} + containers: + - args: + - -target=overrides-exporter + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -admin.client.backend-type=s3 + - -admin.client.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -admin.client.s3.bucket-name=enterprise-metrics-admin + - -admin.client.s3.access-key-id=enterprise-metrics + - -admin.client.s3.secret-access-key=supersecret + - -admin.client.s3.insecure=true + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 100m + memory: 128Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 60 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage + - name: minio-configuration + projected: + sources: + - configMap: + name: enterprise-metrics-minio + - secret: + name: enterprise-metrics-minio diff --git a/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-querier.yaml b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-querier.yaml new file mode 100644 index 0000000000..e76e7fd77d --- /dev/null +++ b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-querier.yaml @@ -0,0 +1,114 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-querier + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-querier + namespace: enterprise-metrics +spec: + replicas: 2 + selector: + matchLabels: + app: enterprise-metrics-querier + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-querier + gossip_ring_member: "true" + name: querier + release: enterprise-metrics + target: querier + spec: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: target + operator: In + values: + - querier + topologyKey: kubernetes.io/hostname + weight: 100 + containers: + - args: + - -target=querier + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -querier.frontend-address=enterprise-metrics-query-frontend-headless.enterprise-metrics.svc:9095 + - -memberlist.join=enterprise-metrics-gossip-ring + - -admin.client.backend-type=s3 + - -admin.client.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -admin.client.s3.bucket-name=enterprise-metrics-admin + - -admin.client.s3.access-key-id=enterprise-metrics + - -admin.client.s3.secret-access-key=supersecret + - -admin.client.s3.insecure=true + - -blocks-storage.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -blocks-storage.s3.bucket-name=enterprise-metrics-tsdb + - -blocks-storage.s3.access-key-id=enterprise-metrics + - -blocks-storage.s3.secret-access-key=supersecret + - -blocks-storage.s3.insecure=true + - -querier.store-gateway-addresses=dns+enterprise-metrics-store-gateway.enterprise-metrics.svc:9095 + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 100m + memory: 128Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 180 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-query-frontend.yaml b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-query-frontend.yaml new file mode 100644 index 0000000000..1485ad0140 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-query-frontend.yaml @@ -0,0 +1,100 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-query-frontend + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-query-frontend + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-query-frontend + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-query-frontend + name: query-frontend + release: enterprise-metrics + target: query-frontend + spec: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: target + operator: In + values: + - query-frontend + topologyKey: kubernetes.io/hostname + weight: 100 + containers: + - args: + - -target=query-frontend + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -admin.client.backend-type=s3 + - -admin.client.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -admin.client.s3.bucket-name=enterprise-metrics-admin + - -admin.client.s3.access-key-id=enterprise-metrics + - -admin.client.s3.secret-access-key=supersecret + - -admin.client.s3.insecure=true + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 100m + memory: 128Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /etc/enterprise-metrics + name: config + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 180 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license diff --git a/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-ruler.yaml b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-ruler.yaml new file mode 100644 index 0000000000..c5d13ba1e7 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/apps-v1.Deployment-enterprise-metrics-ruler.yaml @@ -0,0 +1,110 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-ruler + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-ruler + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-ruler + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-ruler + gossip_ring_member: "true" + name: ruler + release: enterprise-metrics + target: ruler + spec: + affinity: {} + containers: + - args: + - -target=ruler + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + - -admin.client.backend-type=s3 + - -admin.client.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -admin.client.s3.bucket-name=enterprise-metrics-admin + - -admin.client.s3.access-key-id=enterprise-metrics + - -admin.client.s3.secret-access-key=supersecret + - -admin.client.s3.insecure=true + - -blocks-storage.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -blocks-storage.s3.bucket-name=enterprise-metrics-tsdb + - -blocks-storage.s3.access-key-id=enterprise-metrics + - -blocks-storage.s3.secret-access-key=supersecret + - -blocks-storage.s3.insecure=true + - -ruler.storage.type=s3 + - -ruler.storage.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -ruler.storage.s3.buckets=enterprise-metrics-ruler + - -ruler.storage.s3.access-key-id=enterprise-metrics + - -ruler.storage.s3.secret-access-key=supersecret + - -ruler.storage.s3.insecure=true + - -ruler.storage.s3.force-path-style=true + - -ruler.alertmanager-url=http://enterprise-metrics-alertmanager.enterprise-metrics.svc:8080/api/prom/alertmanager/ + - -querier.store-gateway-addresses=dns+enterprise-metrics-store-gateway.enterprise-metrics.svc:9095 + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 100m + memory: 128Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 180 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-alertmanager.yaml b/charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-alertmanager.yaml new file mode 100644 index 0000000000..a31b021f7d --- /dev/null +++ b/charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-alertmanager.yaml @@ -0,0 +1,106 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app: enterprise-metrics-alertmanager + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-alertmanager + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-alertmanager + release: enterprise-metrics + serviceName: enterprise-metrics-alertmanager + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-alertmanager + gossip_ring_member: "true" + name: alertmanager + release: enterprise-metrics + target: alertmanager + spec: + affinity: {} + containers: + - args: + - -target=alertmanager + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + - -admin.client.backend-type=s3 + - -admin.client.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -admin.client.s3.bucket-name=enterprise-metrics-admin + - -admin.client.s3.access-key-id=enterprise-metrics + - -admin.client.s3.secret-access-key=supersecret + - -admin.client.s3.insecure=true + - -alertmanager-storage.backend=s3 + - -alertmanager-storage.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -alertmanager-storage.s3.bucket-name=enterprise-metrics-ruler + - -alertmanager-storage.s3.access-key-id=enterprise-metrics + - -alertmanager-storage.s3.secret-access-key=supersecret + - -alertmanager-storage.s3.insecure=true + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 10m + memory: 32Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 60 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + updateStrategy: + type: RollingUpdate + volumeClaimTemplates: + - metadata: + name: storage + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-compactor.yaml b/charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-compactor.yaml new file mode 100644 index 0000000000..0be6db58c3 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-compactor.yaml @@ -0,0 +1,116 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app: enterprise-metrics-compactor + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-compactor + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-compactor + release: enterprise-metrics + serviceName: enterprise-metrics-compactor + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-compactor + gossip_ring_member: "true" + name: compactor + release: enterprise-metrics + target: compactor + spec: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: target + operator: In + values: + - compactor + topologyKey: kubernetes.io/hostname + weight: 100 + containers: + - args: + - -target=compactor + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + - -admin.client.backend-type=s3 + - -admin.client.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -admin.client.s3.bucket-name=enterprise-metrics-admin + - -admin.client.s3.access-key-id=enterprise-metrics + - -admin.client.s3.secret-access-key=supersecret + - -admin.client.s3.insecure=true + - -blocks-storage.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -blocks-storage.s3.bucket-name=enterprise-metrics-tsdb + - -blocks-storage.s3.access-key-id=enterprise-metrics + - -blocks-storage.s3.secret-access-key=supersecret + - -blocks-storage.s3.insecure=true + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 60 + resources: + requests: + cpu: 100m + memory: 512Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 240 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + updateStrategy: + type: RollingUpdate + volumeClaimTemplates: + - metadata: + name: storage + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 2Gi diff --git a/charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-ingester.yaml b/charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-ingester.yaml new file mode 100644 index 0000000000..e53b56f289 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-ingester.yaml @@ -0,0 +1,114 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app: enterprise-metrics-ingester + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-ingester + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-ingester + release: enterprise-metrics + serviceName: enterprise-metrics-ingester + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-ingester + gossip_ring_member: "true" + name: ingester + release: enterprise-metrics + target: ingester + spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: target + operator: In + values: + - ingester + topologyKey: kubernetes.io/hostname + containers: + - args: + - -target=ingester + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + - -admin.client.backend-type=s3 + - -admin.client.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -admin.client.s3.bucket-name=enterprise-metrics-admin + - -admin.client.s3.access-key-id=enterprise-metrics + - -admin.client.s3.secret-access-key=supersecret + - -admin.client.s3.insecure=true + - -blocks-storage.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -blocks-storage.s3.bucket-name=enterprise-metrics-tsdb + - -blocks-storage.s3.access-key-id=enterprise-metrics + - -blocks-storage.s3.secret-access-key=supersecret + - -blocks-storage.s3.insecure=true + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 60 + resources: + requests: + cpu: 100m + memory: 512Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 240 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + updateStrategy: + type: RollingUpdate + volumeClaimTemplates: + - metadata: + name: storage + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 2Gi diff --git a/charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-store-gateway.yaml b/charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-store-gateway.yaml new file mode 100644 index 0000000000..08617aa551 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/apps-v1.StatefulSet-enterprise-metrics-store-gateway.yaml @@ -0,0 +1,114 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app: enterprise-metrics-store-gateway + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-store-gateway + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-store-gateway + release: enterprise-metrics + serviceName: enterprise-metrics-store-gateway + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-store-gateway + gossip_ring_member: "true" + name: store-gateway + release: enterprise-metrics + target: store-gateway + spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: target + operator: In + values: + - store-gateway + topologyKey: kubernetes.io/hostname + containers: + - args: + - -target=store-gateway + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + - -admin.client.backend-type=s3 + - -admin.client.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -admin.client.s3.bucket-name=enterprise-metrics-admin + - -admin.client.s3.access-key-id=enterprise-metrics + - -admin.client.s3.secret-access-key=supersecret + - -admin.client.s3.insecure=true + - -blocks-storage.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -blocks-storage.s3.bucket-name=enterprise-metrics-tsdb + - -blocks-storage.s3.access-key-id=enterprise-metrics + - -blocks-storage.s3.secret-access-key=supersecret + - -blocks-storage.s3.insecure=true + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 60 + resources: + requests: + cpu: 100m + memory: 512Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 240 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + updateStrategy: + type: RollingUpdate + volumeClaimTemplates: + - metadata: + name: storage + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 2Gi diff --git a/charts/enterprise-metrics/exports/default/batch-v1.Job-enterprise-metrics-minio-make-bucket-job.yaml b/charts/enterprise-metrics/exports/default/batch-v1.Job-enterprise-metrics-minio-make-bucket-job.yaml new file mode 100644 index 0000000000..0efec65c00 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/batch-v1.Job-enterprise-metrics-minio-make-bucket-job.yaml @@ -0,0 +1,49 @@ +apiVersion: batch/v1 +kind: Job +metadata: + annotations: + helm.sh/hook: post-install,post-upgrade + helm.sh/hook-delete-policy: hook-succeeded,before-hook-creation + labels: + app: minio-make-bucket-job + app.kubernetes.io/managed-by: Helmraiser + chart: minio-8.0.9 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-minio-make-bucket-job + namespace: enterprise-metrics +spec: + template: + metadata: + labels: + app: minio-job + release: enterprise-metrics + spec: + containers: + - command: + - /bin/sh + - /config/initialize + env: + - name: MINIO_ENDPOINT + value: enterprise-metrics-minio + - name: MINIO_PORT + value: "9000" + image: minio/mc:RELEASE.2020-11-25T23-04-07Z + imagePullPolicy: IfNotPresent + name: minio-mc + resources: + requests: + memory: 128Mi + volumeMounts: + - mountPath: /config + name: minio-configuration + restartPolicy: OnFailure + serviceAccountName: enterprise-metrics-minio + volumes: + - name: minio-configuration + projected: + sources: + - configMap: + name: enterprise-metrics-minio + - secret: + name: enterprise-metrics-minio diff --git a/charts/enterprise-metrics/exports/default/batch-v1.Job-enterprise-metrics-tokengen.yaml b/charts/enterprise-metrics/exports/default/batch-v1.Job-enterprise-metrics-tokengen.yaml new file mode 100644 index 0000000000..a14d38e5e7 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/batch-v1.Job-enterprise-metrics-tokengen.yaml @@ -0,0 +1,57 @@ +apiVersion: batch/v1 +kind: Job +metadata: + annotations: + helm.sh/hook: post-install + labels: + app: enterprise-metrics-tokengen + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-tokengen + namespace: enterprise-metrics +spec: + backoffLimit: 6 + completions: 1 + parallelism: 1 + selector: null + template: + metadata: + labels: + app: enterprise-metrics-tokengen + name: tokengen + release: enterprise-metrics + target: tokengen + spec: + containers: + - args: + - -target=tokengen + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -admin.client.backend-type=s3 + - -admin.client.s3.endpoint=enterprise-metrics-minio.enterprise-metrics.svc:9000 + - -admin.client.s3.bucket-name=enterprise-metrics-admin + - -admin.client.s3.access-key-id=enterprise-metrics + - -admin.client.s3.secret-access-key=supersecret + - -admin.client.s3.insecure=true + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + name: enterprise-metrics + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /license + name: license + restartPolicy: OnFailure + securityContext: null + serviceAccountName: enterprise-metrics + volumes: + - name: config + secret: + secretName: enterprise-metrics + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/default/manifest.json b/charts/enterprise-metrics/exports/default/manifest.json new file mode 100644 index 0000000000..a2f3a32b42 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/manifest.json @@ -0,0 +1,44 @@ +{ + "apps-v1.Deployment-enterprise-metrics-admin-api.yaml": "environments/default/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-distributor.yaml": "environments/default/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-gateway.yaml": "environments/default/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-minio.yaml": "environments/default/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-overrides-exporter.yaml": "environments/default/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-querier.yaml": "environments/default/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-query-frontend.yaml": "environments/default/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-ruler.yaml": "environments/default/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-alertmanager.yaml": "environments/default/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-compactor.yaml": "environments/default/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-ingester.yaml": "environments/default/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-store-gateway.yaml": "environments/default/main.jsonnet", + "batch-v1.Job-enterprise-metrics-minio-make-bucket-job.yaml": "environments/default/main.jsonnet", + "batch-v1.Job-enterprise-metrics-tokengen.yaml": "environments/default/main.jsonnet", + "policy-v1beta1.PodSecurityPolicy-enterprise-metrics.yaml": "environments/default/main.jsonnet", + "rbac.authorization.k8s.io-v1.Role-enterprise-metrics-minio-update-prometheus-secret.yaml": "environments/default/main.jsonnet", + "rbac.authorization.k8s.io-v1.Role-enterprise-metrics.yaml": "environments/default/main.jsonnet", + "rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics-minio-update-prometheus-secret.yaml": "environments/default/main.jsonnet", + "rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics.yaml": "environments/default/main.jsonnet", + "v1.ConfigMap-enterprise-metrics-minio.yaml": "environments/default/main.jsonnet", + "v1.ConfigMap-enterprise-metrics-runtime.yaml": "environments/default/main.jsonnet", + "v1.PersistentVolumeClaim-enterprise-metrics-minio.yaml": "environments/default/main.jsonnet", + "v1.Secret-enterprise-metrics-license.yaml": "environments/default/main.jsonnet", + "v1.Secret-enterprise-metrics-minio.yaml": "environments/default/main.jsonnet", + "v1.Secret-enterprise-metrics.yaml": "environments/default/main.jsonnet", + "v1.Service-enterprise-metrics-admin-api.yaml": "environments/default/main.jsonnet", + "v1.Service-enterprise-metrics-alertmanager-headless.yaml": "environments/default/main.jsonnet", + "v1.Service-enterprise-metrics-alertmanager.yaml": "environments/default/main.jsonnet", + "v1.Service-enterprise-metrics-distributor.yaml": "environments/default/main.jsonnet", + "v1.Service-enterprise-metrics-gateway.yaml": "environments/default/main.jsonnet", + "v1.Service-enterprise-metrics-gossip-ring.yaml": "environments/default/main.jsonnet", + "v1.Service-enterprise-metrics-ingester.yaml": "environments/default/main.jsonnet", + "v1.Service-enterprise-metrics-minio.yaml": "environments/default/main.jsonnet", + "v1.Service-enterprise-metrics-overrides-exporter.yaml": "environments/default/main.jsonnet", + "v1.Service-enterprise-metrics-querier.yaml": "environments/default/main.jsonnet", + "v1.Service-enterprise-metrics-query-frontend-headless.yaml": "environments/default/main.jsonnet", + "v1.Service-enterprise-metrics-query-frontend.yaml": "environments/default/main.jsonnet", + "v1.Service-enterprise-metrics-ruler.yaml": "environments/default/main.jsonnet", + "v1.Service-enterprise-metrics-store-gateway.yaml": "environments/default/main.jsonnet", + "v1.ServiceAccount-enterprise-metrics-minio-update-prometheus-secret.yaml": "environments/default/main.jsonnet", + "v1.ServiceAccount-enterprise-metrics-minio.yaml": "environments/default/main.jsonnet", + "v1.ServiceAccount-enterprise-metrics.yaml": "environments/default/main.jsonnet" +} \ No newline at end of file diff --git a/charts/enterprise-metrics/exports/default/policy-v1beta1.PodSecurityPolicy-enterprise-metrics.yaml b/charts/enterprise-metrics/exports/default/policy-v1beta1.PodSecurityPolicy-enterprise-metrics.yaml new file mode 100644 index 0000000000..fdb4fbf7b7 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/policy-v1beta1.PodSecurityPolicy-enterprise-metrics.yaml @@ -0,0 +1,38 @@ +apiVersion: policy/v1beta1 +kind: PodSecurityPolicy +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics +spec: + allowPrivilegeEscalation: false + fsGroup: + ranges: + - max: 65535 + min: 1 + rule: MustRunAs + hostIPC: false + hostNetwork: false + hostPID: false + privileged: false + readOnlyRootFilesystem: true + requiredDropCapabilities: + - ALL + runAsUser: + rule: MustRunAsNonRoot + seLinux: + rule: RunAsAny + supplementalGroups: + ranges: + - max: 65535 + min: 1 + rule: MustRunAs + volumes: + - configMap + - emptyDir + - persistentVolumeClaim + - secret diff --git a/charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.Role-enterprise-metrics-minio-update-prometheus-secret.yaml b/charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.Role-enterprise-metrics-minio-update-prometheus-secret.yaml new file mode 100644 index 0000000000..69977905c9 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.Role-enterprise-metrics-minio-update-prometheus-secret.yaml @@ -0,0 +1,37 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + labels: + app: minio-update-prometheus-secret + app.kubernetes.io/managed-by: Helmraiser + chart: minio-8.0.9 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-minio-update-prometheus-secret + namespace: enterprise-metrics +rules: +- apiGroups: + - "" + resourceNames: + - enterprise-metrics-minio-prometheus + resources: + - secrets + verbs: + - get + - create + - update + - patch +- apiGroups: + - "" + resources: + - secrets + verbs: + - create +- apiGroups: + - monitoring.coreos.com + resourceNames: + - enterprise-metrics-minio + resources: + - servicemonitors + verbs: + - get diff --git a/charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.Role-enterprise-metrics.yaml b/charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.Role-enterprise-metrics.yaml new file mode 100644 index 0000000000..94845ceff2 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.Role-enterprise-metrics.yaml @@ -0,0 +1,20 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics + namespace: enterprise-metrics +rules: +- apiGroups: + - extensions + resourceNames: + - enterprise-metrics + resources: + - podsecuritypolicies + verbs: + - use diff --git a/charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics-minio-update-prometheus-secret.yaml b/charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics-minio-update-prometheus-secret.yaml new file mode 100644 index 0000000000..f7d9d9e124 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics-minio-update-prometheus-secret.yaml @@ -0,0 +1,19 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + labels: + app: minio-update-prometheus-secret + app.kubernetes.io/managed-by: Helmraiser + chart: minio-8.0.9 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-minio-update-prometheus-secret + namespace: enterprise-metrics +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: enterprise-metrics-minio-update-prometheus-secret +subjects: +- kind: ServiceAccount + name: enterprise-metrics-minio-update-prometheus-secret + namespace: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics.yaml b/charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics.yaml new file mode 100644 index 0000000000..bf59bb9b68 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics.yaml @@ -0,0 +1,18 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics + namespace: enterprise-metrics +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: enterprise-metrics +subjects: +- kind: ServiceAccount + name: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/default/v1.ConfigMap-enterprise-metrics-minio.yaml b/charts/enterprise-metrics/exports/default/v1.ConfigMap-enterprise-metrics-minio.yaml new file mode 100644 index 0000000000..6053a1b218 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.ConfigMap-enterprise-metrics-minio.yaml @@ -0,0 +1,48 @@ +apiVersion: v1 +data: + initialize: "#!/bin/sh\nset -e ; # Have script exit in the event of a failed command.\nMC_CONFIG_DIR=\"/etc/minio/mc/\"\nMC=\"/usr/bin/mc + --insecure --config-dir ${MC_CONFIG_DIR}\"\n\n# connectToMinio\n# Use a check-sleep-check + loop to wait for Minio service to be available\nconnectToMinio() {\n SCHEME=$1\n + \ ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts\n set -e ; # fail if we can't read + the keys.\n ACCESS=$(cat /config/accesskey) ; SECRET=$(cat /config/secretkey) + ;\n set +e ; # The connections to minio are allowed to fail.\n echo \"Connecting + to Minio server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT\" ;\n MC_COMMAND=\"${MC} + config host add myminio $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT $ACCESS $SECRET\" + ;\n $MC_COMMAND ;\n STATUS=$? ;\n until [ $STATUS = 0 ]\n do\n ATTEMPTS=`expr + $ATTEMPTS + 1` ;\n echo \\\"Failed attempts: $ATTEMPTS\\\" ;\n if [ $ATTEMPTS + -gt $LIMIT ]; then\n exit 1 ;\n fi ;\n sleep 2 ; # 1 second intervals + between attempts\n $MC_COMMAND ;\n STATUS=$? ;\n done ;\n set -e ; # reset + `e` as active\n return 0\n}\n\n# checkBucketExists ($bucket)\n# Check if the + bucket exists, by using the exit code of `mc ls`\ncheckBucketExists() {\n BUCKET=$1\n + \ CMD=$(${MC} ls myminio/$BUCKET > /dev/null 2>&1)\n return $?\n}\n\n# createBucket + ($bucket, $policy, $purge)\n# Ensure bucket exists, purging if asked to\ncreateBucket() + {\n BUCKET=$1\n POLICY=$2\n PURGE=$3\n VERSIONING=$4\n\n # Purge the bucket, + if set & exists\n # Since PURGE is user input, check explicitly for `true`\n + \ if [ $PURGE = true ]; then\n if checkBucketExists $BUCKET ; then\n echo + \"Purging bucket '$BUCKET'.\"\n set +e ; # don't exit if this fails\n ${MC} + rm -r --force myminio/$BUCKET\n set -e ; # reset `e` as active\n else\n + \ echo \"Bucket '$BUCKET' does not exist, skipping purge.\"\n fi\n fi\n\n + \ # Create the bucket if it does not exist\n if ! checkBucketExists $BUCKET ; + then\n echo \"Creating bucket '$BUCKET'\"\n ${MC} mb myminio/$BUCKET\n else\n + \ echo \"Bucket '$BUCKET' already exists.\"\n fi\n\n\n # set versioning for + bucket\n if [ ! -z $VERSIONING ] ; then\n if [ $VERSIONING = true ] ; then\n + \ echo \"Enabling versioning for '$BUCKET'\"\n ${MC} version enable + myminio/$BUCKET\n elif [ $VERSIONING = false ] ; then\n echo \"Suspending + versioning for '$BUCKET'\"\n ${MC} version suspend myminio/$BUCKET\n fi\n + \ else\n echo \"Bucket '$BUCKET' versioning unchanged.\"\n fi\n\n # At + this point, the bucket should exist, skip checking for existence\n # Set policy + on the bucket\n echo \"Setting policy of bucket '$BUCKET' to '$POLICY'.\"\n ${MC} + policy set $POLICY myminio/$BUCKET\n}\n\n# Try connecting to Minio instance\nscheme=http\nconnectToMinio + $scheme\n# Create the buckets\ncreateBucket enterprise-metrics-tsdb none false + \ncreateBucket enterprise-metrics-admin none false \ncreateBucket enterprise-metrics-ruler + none false" +kind: ConfigMap +metadata: + labels: + app: minio + app.kubernetes.io/managed-by: Helmraiser + chart: minio-8.0.9 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-minio + namespace: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/default/v1.ConfigMap-enterprise-metrics-runtime.yaml b/charts/enterprise-metrics/exports/default/v1.ConfigMap-enterprise-metrics-runtime.yaml new file mode 100644 index 0000000000..8339be9f30 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.ConfigMap-enterprise-metrics-runtime.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +data: + runtime.yaml: |2 + + {} +kind: ConfigMap +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-runtime + namespace: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/default/v1.PersistentVolumeClaim-enterprise-metrics-minio.yaml b/charts/enterprise-metrics/exports/default/v1.PersistentVolumeClaim-enterprise-metrics-minio.yaml new file mode 100644 index 0000000000..419a8c8c3a --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.PersistentVolumeClaim-enterprise-metrics-minio.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + labels: + app: minio + app.kubernetes.io/managed-by: Helmraiser + chart: minio-8.0.9 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-minio + namespace: enterprise-metrics +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 5Gi diff --git a/charts/enterprise-metrics/exports/default/v1.Secret-enterprise-metrics-license.yaml b/charts/enterprise-metrics/exports/default/v1.Secret-enterprise-metrics-license.yaml new file mode 100644 index 0000000000..2b2cbea251 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Secret-enterprise-metrics-license.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +data: + license.jwt: Tk9UQVZBTElETElDRU5TRQ== +kind: Secret +metadata: + labels: + app: enterprise-metrics-license + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-license + namespace: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/default/v1.Secret-enterprise-metrics-minio.yaml b/charts/enterprise-metrics/exports/default/v1.Secret-enterprise-metrics-minio.yaml new file mode 100644 index 0000000000..06a1a93ab5 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Secret-enterprise-metrics-minio.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +data: + accesskey: ZW50ZXJwcmlzZS1tZXRyaWNz + secretkey: c3VwZXJzZWNyZXQ= +kind: Secret +metadata: + labels: + app: minio + app.kubernetes.io/managed-by: Helmraiser + chart: minio-8.0.9 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-minio + namespace: enterprise-metrics +type: Opaque diff --git a/charts/enterprise-metrics/exports/default/v1.Secret-enterprise-metrics.yaml b/charts/enterprise-metrics/exports/default/v1.Secret-enterprise-metrics.yaml new file mode 100644 index 0000000000..ed13cd9af1 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Secret-enterprise-metrics.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +data: + enterprise-metrics.yaml: YWRtaW5fY2xpZW50OgogIHN0b3JhZ2U6CiAgICB0eXBlOiBzMwphbGVydG1hbmFnZXI6CiAgZGF0YV9kaXI6IC9kYXRhCiAgZW5hYmxlX2FwaTogdHJ1ZQogIGV4dGVybmFsX3VybDogL2FsZXJ0bWFuYWdlcgogIHNoYXJkaW5nX2VuYWJsZWQ6IHRydWUKICBzaGFyZGluZ19yaW5nOgogICAga3ZzdG9yZToKICAgICAgc3RvcmU6IG1lbWJlcmxpc3QKYXBpOgogIHJlc3BvbnNlX2NvbXByZXNzaW9uX2VuYWJsZWQ6IHRydWUKYXV0aDoKICB0eXBlOiBlbnRlcnByaXNlCmF1dGhfZW5hYmxlZDogdHJ1ZQpibG9ja3Nfc3RvcmFnZToKICBiYWNrZW5kOiBzMwogIGJ1Y2tldF9zdG9yZToKICAgIHN5bmNfZGlyOiAvZGF0YS90c2RiLXN5bmMKICB0c2RiOgogICAgZGlyOiAvZGF0YS90c2RiCmNsdXN0ZXJfbmFtZTogJ2VudGVycHJpc2UtbWV0cmljcycKY29tcGFjdG9yOgogIGRhdGFfZGlyOiAvZGF0YQogIHNoYXJkaW5nX2VuYWJsZWQ6IHRydWUKICBzaGFyZGluZ19yaW5nOgogICAga3ZzdG9yZToKICAgICAgc3RvcmU6IG1lbWJlcmxpc3QKZGlzdHJpYnV0b3I6CiAgcG9vbDoKICAgIGhlYWx0aF9jaGVja19pbmdlc3RlcnM6IHRydWUKICByaW5nOgogICAga3ZzdG9yZToKICAgICAgc3RvcmU6IG1lbWJlcmxpc3QKICBzaGFyZF9ieV9hbGxfbGFiZWxzOiB0cnVlCmZyb250ZW5kOgogIGxvZ19xdWVyaWVzX2xvbmdlcl90aGFuOiAxMHMKaW5nZXN0ZXI6CiAgbGlmZWN5Y2xlcjoKICAgIGZpbmFsX3NsZWVwOiAwcwogICAgam9pbl9hZnRlcjogMHMKICAgIG51bV90b2tlbnM6IDUxMgogICAgcmluZzoKICAgICAga3ZzdG9yZToKICAgICAgICBzdG9yZTogbWVtYmVybGlzdAogICAgICByZXBsaWNhdGlvbl9mYWN0b3I6IDEKICBtYXhfdHJhbnNmZXJfcmV0cmllczogMAppbmdlc3Rlcl9jbGllbnQ6CiAgZ3JwY19jbGllbnRfY29uZmlnOgogICAgbWF4X3JlY3ZfbXNnX3NpemU6IDEwNDg1NzYwMAogICAgbWF4X3NlbmRfbXNnX3NpemU6IDEwNDg1NzYwMAppbnN0cnVtZW50YXRpb246CiAgZGlzdHJpYnV0b3JfY2xpZW50OgogICAgYWRkcmVzczogZG5zOi8vL2VudGVycHJpc2UtbWV0cmljcy1kaXN0cmlidXRvci5lbnRlcnByaXNlLW1ldHJpY3Muc3ZjOjkwOTUKICBlbmFibGVkOiB0cnVlCmxpY2Vuc2U6CiAgcGF0aDogL2xpY2Vuc2UvbGljZW5zZS5qd3QKbGltaXRzOgogIGVuZm9yY2VfbWV0cmljX25hbWU6IGZhbHNlCiAgcmVqZWN0X29sZF9zYW1wbGVzOiB0cnVlCiAgcmVqZWN0X29sZF9zYW1wbGVzX21heF9hZ2U6IDE2OGgKbWVtYmVybGlzdDoKICBiaW5kX3BvcnQ6IDc5NDYKcXVlcmllcjoKICBhY3RpdmVfcXVlcnlfdHJhY2tlcl9kaXI6IC9kYXRhL2VudGVycHJpc2UtbWV0cmljcy9xdWVyaWVyCiAgcXVlcnlfaW5nZXN0ZXJzX3dpdGhpbjogMTJoCnF1ZXJ5X3JhbmdlOgogIGFsaWduX3F1ZXJpZXNfd2l0aF9zdGVwOiB0cnVlCiAgY2FjaGVfcmVzdWx0czogdHJ1ZQogIHJlc3VsdHNfY2FjaGU6CiAgICBjYWNoZToKICAgICAgbWVtY2FjaGVkOgogICAgICAgIGV4cGlyYXRpb246IDFoCiAgICAgIG1lbWNhY2hlZF9jbGllbnQ6CiAgICAgICAgdGltZW91dDogMXMKICBzcGxpdF9xdWVyaWVzX2J5X2ludGVydmFsOiAyNGgKcnVsZXI6CiAgZW5hYmxlX2FsZXJ0bWFuYWdlcl9kaXNjb3Zlcnk6IGZhbHNlCiAgZW5hYmxlX2FwaTogdHJ1ZQogIGVuYWJsZV9zaGFyZGluZzogdHJ1ZQogIHJpbmc6CiAgICBrdnN0b3JlOgogICAgICBzdG9yZTogbWVtYmVybGlzdAogIHJ1bGVfcGF0aDogL2RhdGEKcnVudGltZV9jb25maWc6CiAgZmlsZTogL3Zhci9lbnRlcnByaXNlLW1ldHJpY3MvcnVudGltZS55YW1sCnNlcnZlcjoKICBncnBjX2xpc3Rlbl9wb3J0OiA5MDk1CiAgZ3JwY19zZXJ2ZXJfbWF4X2NvbmN1cnJlbnRfc3RyZWFtczogMTAwMAogIGdycGNfc2VydmVyX21heF9yZWN2X21zZ19zaXplOiAxMDQ4NTc2MDAKICBncnBjX3NlcnZlcl9tYXhfc2VuZF9tc2dfc2l6ZTogMTA0ODU3NjAwCiAgaHR0cF9saXN0ZW5fcG9ydDogODA4MApzdG9yYWdlOgogIGVuZ2luZTogYmxvY2tzCnN0b3JlX2dhdGV3YXk6CiAgc2hhcmRpbmdfZW5hYmxlZDogdHJ1ZQogIHNoYXJkaW5nX3Jpbmc6CiAgICBrdnN0b3JlOgogICAgICBzdG9yZTogbWVtYmVybGlzdA== +kind: Secret +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics + namespace: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-admin-api.yaml b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-admin-api.yaml new file mode 100644 index 0000000000..8129db93c7 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-admin-api.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-admin-api + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-admin-api + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-admin-api + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-alertmanager-headless.yaml b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-alertmanager-headless.yaml new file mode 100644 index 0000000000..78cbe46fae --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-alertmanager-headless.yaml @@ -0,0 +1,29 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-alertmanager + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-alertmanager-headless + namespace: enterprise-metrics +spec: + clusterIP: None + ports: + - name: http-metrics + port: 8080 + protocol: TCP + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + - name: cluster + port: 9094 + protocol: TCP + publishNotReadyAddresses: true + selector: + app: enterprise-metrics-alertmanager + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-alertmanager.yaml b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-alertmanager.yaml new file mode 100644 index 0000000000..6ba5e4ca44 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-alertmanager.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-alertmanager + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-alertmanager + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-alertmanager + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-distributor.yaml b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-distributor.yaml new file mode 100644 index 0000000000..bc35ecea2d --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-distributor.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-distributor + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-distributor + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-distributor + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-gateway.yaml b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-gateway.yaml new file mode 100644 index 0000000000..b2223d9383 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-gateway.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-gateway + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-gateway + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + selector: + app: enterprise-metrics-gateway + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-gossip-ring.yaml b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-gossip-ring.yaml new file mode 100644 index 0000000000..29ccbb7d01 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-gossip-ring.yaml @@ -0,0 +1,22 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-gossip-ring + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-gossip-ring + namespace: enterprise-metrics +spec: + clusterIP: None + ports: + - name: gossip-ring + port: 7946 + protocol: TCP + targetPort: 7946 + publishNotReadyAddresses: true + selector: + gossip_ring_member: "true" + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-ingester.yaml b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-ingester.yaml new file mode 100644 index 0000000000..62095128a5 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-ingester.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-ingester + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-ingester + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-ingester + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-minio.yaml b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-minio.yaml new file mode 100644 index 0000000000..a87a5556b6 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-minio.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: minio + app.kubernetes.io/managed-by: Helmraiser + chart: minio-8.0.9 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-minio + namespace: enterprise-metrics +spec: + ports: + - name: http + port: 9000 + protocol: TCP + targetPort: 9000 + selector: + app: minio + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-overrides-exporter.yaml b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-overrides-exporter.yaml new file mode 100644 index 0000000000..c12492017c --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-overrides-exporter.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-overrides-exporter + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-overrides-exporter + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-overrides-exporter + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-querier.yaml b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-querier.yaml new file mode 100644 index 0000000000..1f2b8371c8 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-querier.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-querier + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-querier + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-querier + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-query-frontend-headless.yaml b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-query-frontend-headless.yaml new file mode 100644 index 0000000000..da29b8ee8c --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-query-frontend-headless.yaml @@ -0,0 +1,27 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-query-frontend + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-query-frontend-headless + namespace: enterprise-metrics +spec: + clusterIP: None + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + publishNotReadyAddresses: true + selector: + app: enterprise-metrics-query-frontend + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-query-frontend.yaml b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-query-frontend.yaml new file mode 100644 index 0000000000..7d628a9147 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-query-frontend.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-query-frontend + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-query-frontend + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-query-frontend + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-ruler.yaml b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-ruler.yaml new file mode 100644 index 0000000000..6e41a0c922 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-ruler.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-ruler + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-ruler + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + selector: + app: enterprise-metrics-ruler + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-store-gateway.yaml b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-store-gateway.yaml new file mode 100644 index 0000000000..02d49c70a0 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.Service-enterprise-metrics-store-gateway.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-store-gateway + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-store-gateway + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-store-gateway + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/default/v1.ServiceAccount-enterprise-metrics-minio-update-prometheus-secret.yaml b/charts/enterprise-metrics/exports/default/v1.ServiceAccount-enterprise-metrics-minio-update-prometheus-secret.yaml new file mode 100644 index 0000000000..9caaee261a --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.ServiceAccount-enterprise-metrics-minio-update-prometheus-secret.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + app: minio-update-prometheus-secret + app.kubernetes.io/managed-by: Helmraiser + chart: minio-8.0.9 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-minio-update-prometheus-secret + namespace: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/default/v1.ServiceAccount-enterprise-metrics-minio.yaml b/charts/enterprise-metrics/exports/default/v1.ServiceAccount-enterprise-metrics-minio.yaml new file mode 100644 index 0000000000..edc83e1573 --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.ServiceAccount-enterprise-metrics-minio.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + app: minio + app.kubernetes.io/managed-by: Helmraiser + chart: minio-8.0.9 + release: enterprise-metrics + name: enterprise-metrics-minio + namespace: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/default/v1.ServiceAccount-enterprise-metrics.yaml b/charts/enterprise-metrics/exports/default/v1.ServiceAccount-enterprise-metrics.yaml new file mode 100644 index 0000000000..ccbdba9f8c --- /dev/null +++ b/charts/enterprise-metrics/exports/default/v1.ServiceAccount-enterprise-metrics.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics + namespace: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-admin-api.yaml b/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-admin-api.yaml new file mode 100644 index 0000000000..c94e42966f --- /dev/null +++ b/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-admin-api.yaml @@ -0,0 +1,93 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-admin-api + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-admin-api + namespace: enterprise-metrics +spec: + replicas: 3 + selector: + matchLabels: + app: enterprise-metrics-admin-api + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-admin-api + gossip_ring_member: "true" + name: admin-api + release: enterprise-metrics + target: admin-api + spec: + affinity: {} + containers: + - args: + - -target=admin-api + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + limits: + cpu: 200m + memory: 256Mi + requests: + cpu: 10m + memory: 64Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + initContainers: null + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 60 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-distributor.yaml b/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-distributor.yaml new file mode 100644 index 0000000000..412a555600 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-distributor.yaml @@ -0,0 +1,101 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-distributor + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-distributor + namespace: enterprise-metrics +spec: + replicas: 15 + selector: + matchLabels: + app: enterprise-metrics-distributor + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-distributor + gossip_ring_member: "true" + name: distributor + release: enterprise-metrics + target: distributor + spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: target + operator: In + values: + - distributor + topologyKey: kubernetes.io/hostname + containers: + - args: + - -target=distributor + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + limits: + memory: 4Gi + requests: + cpu: 2 + memory: 2Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 60 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-gateway.yaml b/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-gateway.yaml new file mode 100644 index 0000000000..5007441c36 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-gateway.yaml @@ -0,0 +1,94 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-gateway + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-gateway + namespace: enterprise-metrics +spec: + replicas: 8 + selector: + matchLabels: + app: enterprise-metrics-gateway + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-gateway + name: gateway + release: enterprise-metrics + target: gateway + spec: + affinity: {} + containers: + - args: + - -target=gateway + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -gateway.proxy.default.url=http://enterprise-metrics-admin-api.enterprise-metrics.svc:8080 + - -gateway.proxy.admin-api.url=http://enterprise-metrics-admin-api.enterprise-metrics.svc:8080 + - -gateway.proxy.alertmanager.url=http://enterprise-metrics-alertmanager.enterprise-metrics.svc:8080 + - -gateway.proxy.distributor.url=http://enterprise-metrics-distributor.enterprise-metrics.svc:8080 + - -gateway.proxy.graphite.url=http://enterprise-metrics-graphite.enterprise-metrics.svc:8080 + - -gateway.proxy.ingester.url=http://enterprise-metrics-ingester.enterprise-metrics.svc:8080 + - -gateway.proxy.query-frontend.url=http://enterprise-metrics-query-frontend.enterprise-metrics.svc:8080 + - -gateway.proxy.ruler.url=http://enterprise-metrics-ruler.enterprise-metrics.svc:8080 + - -gateway.proxy.store-gateway.url=http://enterprise-metrics-store-gateway.enterprise-metrics.svc:8080 + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 1 + memory: 384Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 60 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-overrides-exporter.yaml b/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-overrides-exporter.yaml new file mode 100644 index 0000000000..327d9ffd61 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-overrides-exporter.yaml @@ -0,0 +1,94 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-overrides-exporter + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-overrides-exporter + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-overrides-exporter + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-overrides-exporter + gossip_ring_member: "true" + name: overrides-exporter + release: enterprise-metrics + target: overrides-exporter + spec: + affinity: {} + containers: + - args: + - -target=overrides-exporter + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + limits: + memory: 256Mi + requests: + cpu: 100m + memory: 128Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 60 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-querier.yaml b/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-querier.yaml new file mode 100644 index 0000000000..c9035f6e83 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-querier.yaml @@ -0,0 +1,108 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-querier + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-querier + namespace: enterprise-metrics +spec: + replicas: 6 + selector: + matchLabels: + app: enterprise-metrics-querier + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-querier + gossip_ring_member: "true" + name: querier + release: enterprise-metrics + target: querier + spec: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: target + operator: In + values: + - querier + topologyKey: kubernetes.io/hostname + weight: 100 + containers: + - args: + - -target=querier + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -querier.frontend-address=enterprise-metrics-query-frontend-headless.enterprise-metrics.svc:9095 + - -memberlist.join=enterprise-metrics-gossip-ring + - -blocks-storage.bucket-store.metadata-cache.backend=memcached + - -blocks-storage.bucket-store.metadata-cache.memcached.addresses=dns+enterprise-metrics-memcached-metadata.enterprise-metrics.svc:11211 + - -blocks-storage.bucket-store.metadata-cache.memcached.max-item-size=1048576 + - -querier.store-gateway-addresses=dns+enterprise-metrics-store-gateway.enterprise-metrics.svc:9095 + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + limits: + memory: 24Gi + requests: + cpu: 1 + memory: 12Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 180 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-query-frontend.yaml b/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-query-frontend.yaml new file mode 100644 index 0000000000..789781fd3a --- /dev/null +++ b/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-query-frontend.yaml @@ -0,0 +1,96 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-query-frontend + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-query-frontend + namespace: enterprise-metrics +spec: + replicas: 2 + selector: + matchLabels: + app: enterprise-metrics-query-frontend + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-query-frontend + name: query-frontend + release: enterprise-metrics + target: query-frontend + spec: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: target + operator: In + values: + - query-frontend + topologyKey: kubernetes.io/hostname + weight: 100 + containers: + - args: + - -target=query-frontend + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + limits: + memory: 6Gi + requests: + cpu: 2 + memory: 2Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /etc/enterprise-metrics + name: config + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 180 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license diff --git a/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-ruler.yaml b/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-ruler.yaml new file mode 100644 index 0000000000..e73d26903f --- /dev/null +++ b/charts/enterprise-metrics/exports/large/apps-v1.Deployment-enterprise-metrics-ruler.yaml @@ -0,0 +1,97 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-ruler + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-ruler + namespace: enterprise-metrics +spec: + replicas: 2 + selector: + matchLabels: + app: enterprise-metrics-ruler + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-ruler + gossip_ring_member: "true" + name: ruler + release: enterprise-metrics + target: ruler + spec: + affinity: {} + containers: + - args: + - -target=ruler + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + - -ruler.alertmanager-url=http://enterprise-metrics-alertmanager.enterprise-metrics.svc:8080/api/prom/alertmanager/ + - -blocks-storage.bucket-store.metadata-cache.backend=memcached + - -blocks-storage.bucket-store.metadata-cache.memcached.addresses=dns+enterprise-metrics-memcached-metadata.enterprise-metrics.svc:11211 + - -blocks-storage.bucket-store.metadata-cache.memcached.max-item-size=1048576 + - -querier.store-gateway-addresses=dns+enterprise-metrics-store-gateway.enterprise-metrics.svc:9095 + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + limits: + memory: 16Gi + requests: + cpu: 1 + memory: 6Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 180 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-alertmanager.yaml b/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-alertmanager.yaml new file mode 100644 index 0000000000..e19362cef3 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-alertmanager.yaml @@ -0,0 +1,99 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app: enterprise-metrics-alertmanager + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-alertmanager + namespace: enterprise-metrics +spec: + replicas: 3 + selector: + matchLabels: + app: enterprise-metrics-alertmanager + release: enterprise-metrics + serviceName: enterprise-metrics-alertmanager + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-alertmanager + gossip_ring_member: "true" + name: alertmanager + release: enterprise-metrics + target: alertmanager + spec: + affinity: {} + containers: + - args: + - -target=alertmanager + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + - -alertmanager.cluster.peers=enterprise-metrics-alertmanager-0.enterprise-metrics-alertmanager-headless.enterprise-metrics.svc:9094 + - -alertmanager.cluster.peers=enterprise-metrics-alertmanager-1.enterprise-metrics-alertmanager-headless.enterprise-metrics.svc:9094 + - -alertmanager.cluster.peers=enterprise-metrics-alertmanager-2.enterprise-metrics-alertmanager-headless.enterprise-metrics.svc:9094 + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + limits: + memory: 8Gi + requests: + cpu: 300m + memory: 6Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 60 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + updateStrategy: + type: RollingUpdate + volumeClaimTemplates: + - metadata: + name: storage + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-compactor.yaml b/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-compactor.yaml new file mode 100644 index 0000000000..2c96f1ab60 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-compactor.yaml @@ -0,0 +1,108 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app: enterprise-metrics-compactor + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-compactor + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-compactor + release: enterprise-metrics + serviceName: enterprise-metrics-compactor + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-compactor + gossip_ring_member: "true" + name: compactor + release: enterprise-metrics + target: compactor + spec: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: target + operator: In + values: + - compactor + topologyKey: kubernetes.io/hostname + weight: 100 + containers: + - args: + - -target=compactor + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 60 + resources: + limits: + cpu: 1200m + memory: 2Gi + requests: + cpu: 1 + memory: 1Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 240 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + updateStrategy: + type: RollingUpdate + volumeClaimTemplates: + - metadata: + name: storage + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 50Gi diff --git a/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-ingester.yaml b/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-ingester.yaml new file mode 100644 index 0000000000..df4e2b30be --- /dev/null +++ b/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-ingester.yaml @@ -0,0 +1,105 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app: enterprise-metrics-ingester + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-ingester + namespace: enterprise-metrics +spec: + replicas: 25 + selector: + matchLabels: + app: enterprise-metrics-ingester + release: enterprise-metrics + serviceName: enterprise-metrics-ingester + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-ingester + gossip_ring_member: "true" + name: ingester + release: enterprise-metrics + target: ingester + spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: target + operator: In + values: + - ingester + topologyKey: kubernetes.io/hostname + containers: + - args: + - -target=ingester + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 60 + resources: + limits: + memory: 25Gi + requests: + cpu: 4 + memory: 15Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 240 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + updateStrategy: + type: RollingUpdate + volumeClaimTemplates: + - metadata: + name: storage + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 50Gi diff --git a/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-memcached-metadata.yaml b/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-memcached-metadata.yaml new file mode 100644 index 0000000000..3ed3019b56 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-memcached-metadata.yaml @@ -0,0 +1,106 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached-metadata + helm.sh/chart: memcached-metadata-5.5.2 + name: enterprise-metrics-memcached-metadata + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-metadata + serviceName: enterprise-metrics-memcached-metadata + template: + metadata: + annotations: + prometheus.io/port: "9150" + prometheus.io/scrape: "true" + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: memcached-metadata + helm.sh/chart: memcached-metadata-5.5.2 + spec: + affinity: + nodeAffinity: null + podAffinity: null + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchLabels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-metadata + namespaces: + - enterprise-metrics + topologyKey: kubernetes.io/hostname + weight: 1 + containers: + - args: + - -m 512 + - -o + - modern + - -v + - -I 1m + - -c 1024 + image: docker.io/memcached:1.6.9 + imagePullPolicy: IfNotPresent + livenessProbe: + failureThreshold: 6 + initialDelaySeconds: 30 + tcpSocket: + port: memcache + timeoutSeconds: 5 + name: memcached + ports: + - containerPort: 11211 + name: memcache + readinessProbe: + initialDelaySeconds: 5 + periodSeconds: 5 + tcpSocket: + port: memcache + timeoutSeconds: 3 + resources: + limits: + memory: 614Mi + requests: + cpu: 500m + memory: 614Mi + securityContext: + readOnlyRootFilesystem: false + volumeMounts: + - mountPath: /tmp + name: tmp + - image: quay.io/prometheus/memcached-exporter:v0.9.0 + imagePullPolicy: IfNotPresent + livenessProbe: + httpGet: + path: /metrics + port: metrics + initialDelaySeconds: 15 + timeoutSeconds: 5 + name: metrics + ports: + - containerPort: 9150 + name: metrics + readinessProbe: + httpGet: + path: /metrics + port: metrics + initialDelaySeconds: 5 + timeoutSeconds: 1 + resources: + limits: {} + requests: {} + securityContext: + fsGroup: 1001 + runAsUser: 1001 + volumes: + - emptyDir: {} + name: tmp diff --git a/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-memcached-queries.yaml b/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-memcached-queries.yaml new file mode 100644 index 0000000000..2092d0c314 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-memcached-queries.yaml @@ -0,0 +1,106 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached-queries + helm.sh/chart: memcached-queries-5.5.2 + name: enterprise-metrics-memcached-queries + namespace: enterprise-metrics +spec: + replicas: 10 + selector: + matchLabels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-queries + serviceName: enterprise-metrics-memcached-queries + template: + metadata: + annotations: + prometheus.io/port: "9150" + prometheus.io/scrape: "true" + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: memcached-queries + helm.sh/chart: memcached-queries-5.5.2 + spec: + affinity: + nodeAffinity: null + podAffinity: null + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchLabels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-queries + namespaces: + - enterprise-metrics + topologyKey: kubernetes.io/hostname + weight: 1 + containers: + - args: + - -m 2048 + - -o + - modern + - -v + - -I 15m + - -c 1024 + image: docker.io/memcached:1.6.9 + imagePullPolicy: IfNotPresent + livenessProbe: + failureThreshold: 6 + initialDelaySeconds: 30 + tcpSocket: + port: memcache + timeoutSeconds: 5 + name: memcached + ports: + - containerPort: 11211 + name: memcache + readinessProbe: + initialDelaySeconds: 5 + periodSeconds: 5 + tcpSocket: + port: memcache + timeoutSeconds: 3 + resources: + limits: + memory: 2457Mi + requests: + cpu: 500m + memory: 2457Mi + securityContext: + readOnlyRootFilesystem: false + volumeMounts: + - mountPath: /tmp + name: tmp + - image: quay.io/prometheus/memcached-exporter:v0.9.0 + imagePullPolicy: IfNotPresent + livenessProbe: + httpGet: + path: /metrics + port: metrics + initialDelaySeconds: 15 + timeoutSeconds: 5 + name: metrics + ports: + - containerPort: 9150 + name: metrics + readinessProbe: + httpGet: + path: /metrics + port: metrics + initialDelaySeconds: 5 + timeoutSeconds: 1 + resources: + limits: {} + requests: {} + securityContext: + fsGroup: 1001 + runAsUser: 1001 + volumes: + - emptyDir: {} + name: tmp diff --git a/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-memcached.yaml b/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-memcached.yaml new file mode 100644 index 0000000000..ab8179bcf4 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-memcached.yaml @@ -0,0 +1,106 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached + helm.sh/chart: memcached-5.5.2 + name: enterprise-metrics-memcached + namespace: enterprise-metrics +spec: + replicas: 32 + selector: + matchLabels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached + serviceName: enterprise-metrics-memcached + template: + metadata: + annotations: + prometheus.io/port: "9150" + prometheus.io/scrape: "true" + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: memcached + helm.sh/chart: memcached-5.5.2 + spec: + affinity: + nodeAffinity: null + podAffinity: null + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchLabels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached + namespaces: + - enterprise-metrics + topologyKey: kubernetes.io/hostname + weight: 1 + containers: + - args: + - -m 8192 + - -o + - modern + - -v + - -I 1m + - -c 4096 + image: docker.io/memcached:1.6.9 + imagePullPolicy: IfNotPresent + livenessProbe: + failureThreshold: 6 + initialDelaySeconds: 30 + tcpSocket: + port: memcache + timeoutSeconds: 5 + name: memcached + ports: + - containerPort: 11211 + name: memcache + readinessProbe: + initialDelaySeconds: 5 + periodSeconds: 5 + tcpSocket: + port: memcache + timeoutSeconds: 3 + resources: + limits: + memory: 9830Mi + requests: + cpu: 500m + memory: 9830Mi + securityContext: + readOnlyRootFilesystem: false + volumeMounts: + - mountPath: /tmp + name: tmp + - image: quay.io/prometheus/memcached-exporter:v0.9.0 + imagePullPolicy: IfNotPresent + livenessProbe: + httpGet: + path: /metrics + port: metrics + initialDelaySeconds: 15 + timeoutSeconds: 5 + name: metrics + ports: + - containerPort: 9150 + name: metrics + readinessProbe: + httpGet: + path: /metrics + port: metrics + initialDelaySeconds: 5 + timeoutSeconds: 1 + resources: + limits: {} + requests: {} + securityContext: + fsGroup: 1001 + runAsUser: 1001 + volumes: + - emptyDir: {} + name: tmp diff --git a/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-store-gateway.yaml b/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-store-gateway.yaml new file mode 100644 index 0000000000..0fbd1711ad --- /dev/null +++ b/charts/enterprise-metrics/exports/large/apps-v1.StatefulSet-enterprise-metrics-store-gateway.yaml @@ -0,0 +1,112 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app: enterprise-metrics-store-gateway + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-store-gateway + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-store-gateway + release: enterprise-metrics + serviceName: enterprise-metrics-store-gateway + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-store-gateway + gossip_ring_member: "true" + name: store-gateway + release: enterprise-metrics + target: store-gateway + spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: target + operator: In + values: + - store-gateway + topologyKey: kubernetes.io/hostname + containers: + - args: + - -target=store-gateway + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + - -blocks-storage.bucket-store.chunks-cache.backend=memcached + - -blocks-storage.bucket-store.chunks-cache.memcached.addresses=dns+enterprise-metrics-memcached.enterprise-metrics.svc:11211 + - -blocks-storage.bucket-store.chunks-cache.memcached.max-item-size=1048576 + - -blocks-storage.bucket-store.index-cache.backend=memcached + - -blocks-storage.bucket-store.index-cache.memcached.addresses=dns+enterprise-metrics-memcached-queries.enterprise-metrics.svc:11211 + - -blocks-storage.bucket-store.metadata-cache.memcached.max-item-size=15728640 + - -blocks-storage.bucket-store.metadata-cache.backend=memcached + - -blocks-storage.bucket-store.metadata-cache.memcached.addresses=dns+enterprise-metrics-memcached-metadata.enterprise-metrics.svc:11211 + - -blocks-storage.bucket-store.metadata-cache.memcached.max-item-size=1048576 + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 60 + resources: + requests: + cpu: 1 + memory: 6Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 240 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + updateStrategy: + type: RollingUpdate + volumeClaimTemplates: + - metadata: + name: storage + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 50Gi diff --git a/charts/enterprise-metrics/exports/large/batch-v1.Job-enterprise-metrics-tokengen.yaml b/charts/enterprise-metrics/exports/large/batch-v1.Job-enterprise-metrics-tokengen.yaml new file mode 100644 index 0000000000..3e1413c433 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/batch-v1.Job-enterprise-metrics-tokengen.yaml @@ -0,0 +1,51 @@ +apiVersion: batch/v1 +kind: Job +metadata: + annotations: + helm.sh/hook: post-install + labels: + app: enterprise-metrics-tokengen + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-tokengen + namespace: enterprise-metrics +spec: + backoffLimit: 6 + completions: 1 + parallelism: 1 + selector: null + template: + metadata: + labels: + app: enterprise-metrics-tokengen + name: tokengen + release: enterprise-metrics + target: tokengen + spec: + containers: + - args: + - -target=tokengen + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + name: enterprise-metrics + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /license + name: license + restartPolicy: OnFailure + securityContext: null + serviceAccountName: enterprise-metrics + volumes: + - name: config + secret: + secretName: enterprise-metrics + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/large/manifest.json b/charts/enterprise-metrics/exports/large/manifest.json new file mode 100644 index 0000000000..7d60040ffb --- /dev/null +++ b/charts/enterprise-metrics/exports/large/manifest.json @@ -0,0 +1,43 @@ +{ + "apps-v1.Deployment-enterprise-metrics-admin-api.yaml": "environments/large/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-distributor.yaml": "environments/large/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-gateway.yaml": "environments/large/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-overrides-exporter.yaml": "environments/large/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-querier.yaml": "environments/large/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-query-frontend.yaml": "environments/large/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-ruler.yaml": "environments/large/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-alertmanager.yaml": "environments/large/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-compactor.yaml": "environments/large/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-ingester.yaml": "environments/large/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-memcached-metadata.yaml": "environments/large/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-memcached-queries.yaml": "environments/large/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-memcached.yaml": "environments/large/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-store-gateway.yaml": "environments/large/main.jsonnet", + "batch-v1.Job-enterprise-metrics-tokengen.yaml": "environments/large/main.jsonnet", + "policy-v1beta1.PodSecurityPolicy-enterprise-metrics.yaml": "environments/large/main.jsonnet", + "rbac.authorization.k8s.io-v1.Role-enterprise-metrics.yaml": "environments/large/main.jsonnet", + "rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics.yaml": "environments/large/main.jsonnet", + "v1.ConfigMap-enterprise-metrics-runtime.yaml": "environments/large/main.jsonnet", + "v1.Secret-enterprise-metrics-license.yaml": "environments/large/main.jsonnet", + "v1.Secret-enterprise-metrics.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-admin-api.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-alertmanager-headless.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-alertmanager.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-distributor.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-gateway.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-gossip-ring.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-ingester.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-memcached-metadata-metrics.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-memcached-metadata.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-memcached-metrics.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-memcached-queries-metrics.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-memcached-queries.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-memcached.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-overrides-exporter.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-querier.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-query-frontend-headless.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-query-frontend.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-ruler.yaml": "environments/large/main.jsonnet", + "v1.Service-enterprise-metrics-store-gateway.yaml": "environments/large/main.jsonnet", + "v1.ServiceAccount-enterprise-metrics.yaml": "environments/large/main.jsonnet" +} \ No newline at end of file diff --git a/charts/enterprise-metrics/exports/large/policy-v1beta1.PodSecurityPolicy-enterprise-metrics.yaml b/charts/enterprise-metrics/exports/large/policy-v1beta1.PodSecurityPolicy-enterprise-metrics.yaml new file mode 100644 index 0000000000..fdb4fbf7b7 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/policy-v1beta1.PodSecurityPolicy-enterprise-metrics.yaml @@ -0,0 +1,38 @@ +apiVersion: policy/v1beta1 +kind: PodSecurityPolicy +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics +spec: + allowPrivilegeEscalation: false + fsGroup: + ranges: + - max: 65535 + min: 1 + rule: MustRunAs + hostIPC: false + hostNetwork: false + hostPID: false + privileged: false + readOnlyRootFilesystem: true + requiredDropCapabilities: + - ALL + runAsUser: + rule: MustRunAsNonRoot + seLinux: + rule: RunAsAny + supplementalGroups: + ranges: + - max: 65535 + min: 1 + rule: MustRunAs + volumes: + - configMap + - emptyDir + - persistentVolumeClaim + - secret diff --git a/charts/enterprise-metrics/exports/large/rbac.authorization.k8s.io-v1.Role-enterprise-metrics.yaml b/charts/enterprise-metrics/exports/large/rbac.authorization.k8s.io-v1.Role-enterprise-metrics.yaml new file mode 100644 index 0000000000..94845ceff2 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/rbac.authorization.k8s.io-v1.Role-enterprise-metrics.yaml @@ -0,0 +1,20 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics + namespace: enterprise-metrics +rules: +- apiGroups: + - extensions + resourceNames: + - enterprise-metrics + resources: + - podsecuritypolicies + verbs: + - use diff --git a/charts/enterprise-metrics/exports/large/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics.yaml b/charts/enterprise-metrics/exports/large/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics.yaml new file mode 100644 index 0000000000..bf59bb9b68 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics.yaml @@ -0,0 +1,18 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics + namespace: enterprise-metrics +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: enterprise-metrics +subjects: +- kind: ServiceAccount + name: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/large/v1.ConfigMap-enterprise-metrics-runtime.yaml b/charts/enterprise-metrics/exports/large/v1.ConfigMap-enterprise-metrics-runtime.yaml new file mode 100644 index 0000000000..8339be9f30 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.ConfigMap-enterprise-metrics-runtime.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +data: + runtime.yaml: |2 + + {} +kind: ConfigMap +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-runtime + namespace: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/large/v1.Secret-enterprise-metrics-license.yaml b/charts/enterprise-metrics/exports/large/v1.Secret-enterprise-metrics-license.yaml new file mode 100644 index 0000000000..2b2cbea251 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Secret-enterprise-metrics-license.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +data: + license.jwt: Tk9UQVZBTElETElDRU5TRQ== +kind: Secret +metadata: + labels: + app: enterprise-metrics-license + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-license + namespace: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/large/v1.Secret-enterprise-metrics.yaml b/charts/enterprise-metrics/exports/large/v1.Secret-enterprise-metrics.yaml new file mode 100644 index 0000000000..ed13cd9af1 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Secret-enterprise-metrics.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +data: + enterprise-metrics.yaml: YWRtaW5fY2xpZW50OgogIHN0b3JhZ2U6CiAgICB0eXBlOiBzMwphbGVydG1hbmFnZXI6CiAgZGF0YV9kaXI6IC9kYXRhCiAgZW5hYmxlX2FwaTogdHJ1ZQogIGV4dGVybmFsX3VybDogL2FsZXJ0bWFuYWdlcgogIHNoYXJkaW5nX2VuYWJsZWQ6IHRydWUKICBzaGFyZGluZ19yaW5nOgogICAga3ZzdG9yZToKICAgICAgc3RvcmU6IG1lbWJlcmxpc3QKYXBpOgogIHJlc3BvbnNlX2NvbXByZXNzaW9uX2VuYWJsZWQ6IHRydWUKYXV0aDoKICB0eXBlOiBlbnRlcnByaXNlCmF1dGhfZW5hYmxlZDogdHJ1ZQpibG9ja3Nfc3RvcmFnZToKICBiYWNrZW5kOiBzMwogIGJ1Y2tldF9zdG9yZToKICAgIHN5bmNfZGlyOiAvZGF0YS90c2RiLXN5bmMKICB0c2RiOgogICAgZGlyOiAvZGF0YS90c2RiCmNsdXN0ZXJfbmFtZTogJ2VudGVycHJpc2UtbWV0cmljcycKY29tcGFjdG9yOgogIGRhdGFfZGlyOiAvZGF0YQogIHNoYXJkaW5nX2VuYWJsZWQ6IHRydWUKICBzaGFyZGluZ19yaW5nOgogICAga3ZzdG9yZToKICAgICAgc3RvcmU6IG1lbWJlcmxpc3QKZGlzdHJpYnV0b3I6CiAgcG9vbDoKICAgIGhlYWx0aF9jaGVja19pbmdlc3RlcnM6IHRydWUKICByaW5nOgogICAga3ZzdG9yZToKICAgICAgc3RvcmU6IG1lbWJlcmxpc3QKICBzaGFyZF9ieV9hbGxfbGFiZWxzOiB0cnVlCmZyb250ZW5kOgogIGxvZ19xdWVyaWVzX2xvbmdlcl90aGFuOiAxMHMKaW5nZXN0ZXI6CiAgbGlmZWN5Y2xlcjoKICAgIGZpbmFsX3NsZWVwOiAwcwogICAgam9pbl9hZnRlcjogMHMKICAgIG51bV90b2tlbnM6IDUxMgogICAgcmluZzoKICAgICAga3ZzdG9yZToKICAgICAgICBzdG9yZTogbWVtYmVybGlzdAogICAgICByZXBsaWNhdGlvbl9mYWN0b3I6IDEKICBtYXhfdHJhbnNmZXJfcmV0cmllczogMAppbmdlc3Rlcl9jbGllbnQ6CiAgZ3JwY19jbGllbnRfY29uZmlnOgogICAgbWF4X3JlY3ZfbXNnX3NpemU6IDEwNDg1NzYwMAogICAgbWF4X3NlbmRfbXNnX3NpemU6IDEwNDg1NzYwMAppbnN0cnVtZW50YXRpb246CiAgZGlzdHJpYnV0b3JfY2xpZW50OgogICAgYWRkcmVzczogZG5zOi8vL2VudGVycHJpc2UtbWV0cmljcy1kaXN0cmlidXRvci5lbnRlcnByaXNlLW1ldHJpY3Muc3ZjOjkwOTUKICBlbmFibGVkOiB0cnVlCmxpY2Vuc2U6CiAgcGF0aDogL2xpY2Vuc2UvbGljZW5zZS5qd3QKbGltaXRzOgogIGVuZm9yY2VfbWV0cmljX25hbWU6IGZhbHNlCiAgcmVqZWN0X29sZF9zYW1wbGVzOiB0cnVlCiAgcmVqZWN0X29sZF9zYW1wbGVzX21heF9hZ2U6IDE2OGgKbWVtYmVybGlzdDoKICBiaW5kX3BvcnQ6IDc5NDYKcXVlcmllcjoKICBhY3RpdmVfcXVlcnlfdHJhY2tlcl9kaXI6IC9kYXRhL2VudGVycHJpc2UtbWV0cmljcy9xdWVyaWVyCiAgcXVlcnlfaW5nZXN0ZXJzX3dpdGhpbjogMTJoCnF1ZXJ5X3JhbmdlOgogIGFsaWduX3F1ZXJpZXNfd2l0aF9zdGVwOiB0cnVlCiAgY2FjaGVfcmVzdWx0czogdHJ1ZQogIHJlc3VsdHNfY2FjaGU6CiAgICBjYWNoZToKICAgICAgbWVtY2FjaGVkOgogICAgICAgIGV4cGlyYXRpb246IDFoCiAgICAgIG1lbWNhY2hlZF9jbGllbnQ6CiAgICAgICAgdGltZW91dDogMXMKICBzcGxpdF9xdWVyaWVzX2J5X2ludGVydmFsOiAyNGgKcnVsZXI6CiAgZW5hYmxlX2FsZXJ0bWFuYWdlcl9kaXNjb3Zlcnk6IGZhbHNlCiAgZW5hYmxlX2FwaTogdHJ1ZQogIGVuYWJsZV9zaGFyZGluZzogdHJ1ZQogIHJpbmc6CiAgICBrdnN0b3JlOgogICAgICBzdG9yZTogbWVtYmVybGlzdAogIHJ1bGVfcGF0aDogL2RhdGEKcnVudGltZV9jb25maWc6CiAgZmlsZTogL3Zhci9lbnRlcnByaXNlLW1ldHJpY3MvcnVudGltZS55YW1sCnNlcnZlcjoKICBncnBjX2xpc3Rlbl9wb3J0OiA5MDk1CiAgZ3JwY19zZXJ2ZXJfbWF4X2NvbmN1cnJlbnRfc3RyZWFtczogMTAwMAogIGdycGNfc2VydmVyX21heF9yZWN2X21zZ19zaXplOiAxMDQ4NTc2MDAKICBncnBjX3NlcnZlcl9tYXhfc2VuZF9tc2dfc2l6ZTogMTA0ODU3NjAwCiAgaHR0cF9saXN0ZW5fcG9ydDogODA4MApzdG9yYWdlOgogIGVuZ2luZTogYmxvY2tzCnN0b3JlX2dhdGV3YXk6CiAgc2hhcmRpbmdfZW5hYmxlZDogdHJ1ZQogIHNoYXJkaW5nX3Jpbmc6CiAgICBrdnN0b3JlOgogICAgICBzdG9yZTogbWVtYmVybGlzdA== +kind: Secret +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics + namespace: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-admin-api.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-admin-api.yaml new file mode 100644 index 0000000000..8129db93c7 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-admin-api.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-admin-api + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-admin-api + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-admin-api + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-alertmanager-headless.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-alertmanager-headless.yaml new file mode 100644 index 0000000000..78cbe46fae --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-alertmanager-headless.yaml @@ -0,0 +1,29 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-alertmanager + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-alertmanager-headless + namespace: enterprise-metrics +spec: + clusterIP: None + ports: + - name: http-metrics + port: 8080 + protocol: TCP + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + - name: cluster + port: 9094 + protocol: TCP + publishNotReadyAddresses: true + selector: + app: enterprise-metrics-alertmanager + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-alertmanager.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-alertmanager.yaml new file mode 100644 index 0000000000..6ba5e4ca44 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-alertmanager.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-alertmanager + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-alertmanager + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-alertmanager + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-distributor.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-distributor.yaml new file mode 100644 index 0000000000..bc35ecea2d --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-distributor.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-distributor + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-distributor + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-distributor + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-gateway.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-gateway.yaml new file mode 100644 index 0000000000..b2223d9383 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-gateway.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-gateway + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-gateway + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + selector: + app: enterprise-metrics-gateway + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-gossip-ring.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-gossip-ring.yaml new file mode 100644 index 0000000000..29ccbb7d01 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-gossip-ring.yaml @@ -0,0 +1,22 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-gossip-ring + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-gossip-ring + namespace: enterprise-metrics +spec: + clusterIP: None + ports: + - name: gossip-ring + port: 7946 + protocol: TCP + targetPort: 7946 + publishNotReadyAddresses: true + selector: + gossip_ring_member: "true" + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-ingester.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-ingester.yaml new file mode 100644 index 0000000000..62095128a5 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-ingester.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-ingester + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-ingester + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-ingester + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-metadata-metrics.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-metadata-metrics.yaml new file mode 100644 index 0000000000..1dea6e3ed9 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-metadata-metrics.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + prometheus.io/port: "9150" + prometheus.io/scrape: "true" + labels: + app.kubernetes.io/component: metrics + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached-metadata + helm.sh/chart: memcached-metadata-5.5.2 + name: enterprise-metrics-memcached-metadata-metrics + namespace: enterprise-metrics +spec: + ports: + - name: metrics + port: 9150 + targetPort: metrics + selector: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-metadata + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-metadata.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-metadata.yaml new file mode 100644 index 0000000000..132122aca2 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-metadata.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached-metadata + helm.sh/chart: memcached-metadata-5.5.2 + name: enterprise-metrics-memcached-metadata + namespace: enterprise-metrics +spec: + clusterIP: None + ports: + - name: memcache + nodePort: null + port: 11211 + targetPort: memcache + selector: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-metadata + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-metrics.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-metrics.yaml new file mode 100644 index 0000000000..59aa054181 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-metrics.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + prometheus.io/port: "9150" + prometheus.io/scrape: "true" + labels: + app.kubernetes.io/component: metrics + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached + helm.sh/chart: memcached-5.5.2 + name: enterprise-metrics-memcached-metrics + namespace: enterprise-metrics +spec: + ports: + - name: metrics + port: 9150 + targetPort: metrics + selector: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-queries-metrics.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-queries-metrics.yaml new file mode 100644 index 0000000000..29d1748a98 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-queries-metrics.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + prometheus.io/port: "9150" + prometheus.io/scrape: "true" + labels: + app.kubernetes.io/component: metrics + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached-queries + helm.sh/chart: memcached-queries-5.5.2 + name: enterprise-metrics-memcached-queries-metrics + namespace: enterprise-metrics +spec: + ports: + - name: metrics + port: 9150 + targetPort: metrics + selector: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-queries + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-queries.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-queries.yaml new file mode 100644 index 0000000000..4a6966cd44 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached-queries.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached-queries + helm.sh/chart: memcached-queries-5.5.2 + name: enterprise-metrics-memcached-queries + namespace: enterprise-metrics +spec: + clusterIP: None + ports: + - name: memcache + nodePort: null + port: 11211 + targetPort: memcache + selector: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-queries + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached.yaml new file mode 100644 index 0000000000..489e650bbe --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-memcached.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached + helm.sh/chart: memcached-5.5.2 + name: enterprise-metrics-memcached + namespace: enterprise-metrics +spec: + clusterIP: None + ports: + - name: memcache + nodePort: null + port: 11211 + targetPort: memcache + selector: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-overrides-exporter.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-overrides-exporter.yaml new file mode 100644 index 0000000000..c12492017c --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-overrides-exporter.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-overrides-exporter + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-overrides-exporter + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-overrides-exporter + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-querier.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-querier.yaml new file mode 100644 index 0000000000..1f2b8371c8 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-querier.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-querier + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-querier + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-querier + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-query-frontend-headless.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-query-frontend-headless.yaml new file mode 100644 index 0000000000..da29b8ee8c --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-query-frontend-headless.yaml @@ -0,0 +1,27 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-query-frontend + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-query-frontend-headless + namespace: enterprise-metrics +spec: + clusterIP: None + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + publishNotReadyAddresses: true + selector: + app: enterprise-metrics-query-frontend + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-query-frontend.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-query-frontend.yaml new file mode 100644 index 0000000000..7d628a9147 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-query-frontend.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-query-frontend + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-query-frontend + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-query-frontend + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-ruler.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-ruler.yaml new file mode 100644 index 0000000000..6e41a0c922 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-ruler.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-ruler + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-ruler + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + selector: + app: enterprise-metrics-ruler + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-store-gateway.yaml b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-store-gateway.yaml new file mode 100644 index 0000000000..02d49c70a0 --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.Service-enterprise-metrics-store-gateway.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-store-gateway + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-store-gateway + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-store-gateway + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/large/v1.ServiceAccount-enterprise-metrics.yaml b/charts/enterprise-metrics/exports/large/v1.ServiceAccount-enterprise-metrics.yaml new file mode 100644 index 0000000000..ccbdba9f8c --- /dev/null +++ b/charts/enterprise-metrics/exports/large/v1.ServiceAccount-enterprise-metrics.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics + namespace: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-admin-api.yaml b/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-admin-api.yaml new file mode 100644 index 0000000000..c94e42966f --- /dev/null +++ b/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-admin-api.yaml @@ -0,0 +1,93 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-admin-api + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-admin-api + namespace: enterprise-metrics +spec: + replicas: 3 + selector: + matchLabels: + app: enterprise-metrics-admin-api + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-admin-api + gossip_ring_member: "true" + name: admin-api + release: enterprise-metrics + target: admin-api + spec: + affinity: {} + containers: + - args: + - -target=admin-api + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + limits: + cpu: 200m + memory: 256Mi + requests: + cpu: 10m + memory: 64Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + initContainers: null + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 60 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-distributor.yaml b/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-distributor.yaml new file mode 100644 index 0000000000..dcfee195e4 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-distributor.yaml @@ -0,0 +1,101 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-distributor + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-distributor + namespace: enterprise-metrics +spec: + replicas: 3 + selector: + matchLabels: + app: enterprise-metrics-distributor + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-distributor + gossip_ring_member: "true" + name: distributor + release: enterprise-metrics + target: distributor + spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: target + operator: In + values: + - distributor + topologyKey: kubernetes.io/hostname + containers: + - args: + - -target=distributor + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + limits: + memory: 4Gi + requests: + cpu: 2 + memory: 2Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 60 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-gateway.yaml b/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-gateway.yaml new file mode 100644 index 0000000000..e86af42f9b --- /dev/null +++ b/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-gateway.yaml @@ -0,0 +1,94 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-gateway + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-gateway + namespace: enterprise-metrics +spec: + replicas: 3 + selector: + matchLabels: + app: enterprise-metrics-gateway + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-gateway + name: gateway + release: enterprise-metrics + target: gateway + spec: + affinity: {} + containers: + - args: + - -target=gateway + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -gateway.proxy.default.url=http://enterprise-metrics-admin-api.enterprise-metrics.svc:8080 + - -gateway.proxy.admin-api.url=http://enterprise-metrics-admin-api.enterprise-metrics.svc:8080 + - -gateway.proxy.alertmanager.url=http://enterprise-metrics-alertmanager.enterprise-metrics.svc:8080 + - -gateway.proxy.distributor.url=http://enterprise-metrics-distributor.enterprise-metrics.svc:8080 + - -gateway.proxy.graphite.url=http://enterprise-metrics-graphite.enterprise-metrics.svc:8080 + - -gateway.proxy.ingester.url=http://enterprise-metrics-ingester.enterprise-metrics.svc:8080 + - -gateway.proxy.query-frontend.url=http://enterprise-metrics-query-frontend.enterprise-metrics.svc:8080 + - -gateway.proxy.ruler.url=http://enterprise-metrics-ruler.enterprise-metrics.svc:8080 + - -gateway.proxy.store-gateway.url=http://enterprise-metrics-store-gateway.enterprise-metrics.svc:8080 + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + requests: + cpu: 1 + memory: 384Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 60 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-overrides-exporter.yaml b/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-overrides-exporter.yaml new file mode 100644 index 0000000000..327d9ffd61 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-overrides-exporter.yaml @@ -0,0 +1,94 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-overrides-exporter + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-overrides-exporter + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-overrides-exporter + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-overrides-exporter + gossip_ring_member: "true" + name: overrides-exporter + release: enterprise-metrics + target: overrides-exporter + spec: + affinity: {} + containers: + - args: + - -target=overrides-exporter + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + limits: + memory: 256Mi + requests: + cpu: 100m + memory: 128Mi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 60 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-querier.yaml b/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-querier.yaml new file mode 100644 index 0000000000..cae9b94383 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-querier.yaml @@ -0,0 +1,108 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-querier + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-querier + namespace: enterprise-metrics +spec: + replicas: 2 + selector: + matchLabels: + app: enterprise-metrics-querier + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-querier + gossip_ring_member: "true" + name: querier + release: enterprise-metrics + target: querier + spec: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: target + operator: In + values: + - querier + topologyKey: kubernetes.io/hostname + weight: 100 + containers: + - args: + - -target=querier + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -querier.frontend-address=enterprise-metrics-query-frontend-headless.enterprise-metrics.svc:9095 + - -memberlist.join=enterprise-metrics-gossip-ring + - -blocks-storage.bucket-store.metadata-cache.backend=memcached + - -blocks-storage.bucket-store.metadata-cache.memcached.addresses=dns+enterprise-metrics-memcached-metadata.enterprise-metrics.svc:11211 + - -blocks-storage.bucket-store.metadata-cache.memcached.max-item-size=1048576 + - -querier.store-gateway-addresses=dns+enterprise-metrics-store-gateway.enterprise-metrics.svc:9095 + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + limits: + memory: 24Gi + requests: + cpu: 1 + memory: 12Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 180 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-query-frontend.yaml b/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-query-frontend.yaml new file mode 100644 index 0000000000..1709db8c06 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-query-frontend.yaml @@ -0,0 +1,96 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-query-frontend + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-query-frontend + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-query-frontend + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-query-frontend + name: query-frontend + release: enterprise-metrics + target: query-frontend + spec: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: target + operator: In + values: + - query-frontend + topologyKey: kubernetes.io/hostname + weight: 100 + containers: + - args: + - -target=query-frontend + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + limits: + memory: 6Gi + requests: + cpu: 2 + memory: 2Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /etc/enterprise-metrics + name: config + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 180 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license diff --git a/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-ruler.yaml b/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-ruler.yaml new file mode 100644 index 0000000000..e73d26903f --- /dev/null +++ b/charts/enterprise-metrics/exports/small/apps-v1.Deployment-enterprise-metrics-ruler.yaml @@ -0,0 +1,97 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: enterprise-metrics-ruler + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-ruler + namespace: enterprise-metrics +spec: + replicas: 2 + selector: + matchLabels: + app: enterprise-metrics-ruler + release: enterprise-metrics + strategy: + rollingUpdate: + maxSurge: 0 + maxUnavailable: 1 + type: RollingUpdate + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-ruler + gossip_ring_member: "true" + name: ruler + release: enterprise-metrics + target: ruler + spec: + affinity: {} + containers: + - args: + - -target=ruler + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + - -ruler.alertmanager-url=http://enterprise-metrics-alertmanager.enterprise-metrics.svc:8080/api/prom/alertmanager/ + - -blocks-storage.bucket-store.metadata-cache.backend=memcached + - -blocks-storage.bucket-store.metadata-cache.memcached.addresses=dns+enterprise-metrics-memcached-metadata.enterprise-metrics.svc:11211 + - -blocks-storage.bucket-store.metadata-cache.memcached.max-item-size=1048576 + - -querier.store-gateway-addresses=dns+enterprise-metrics-store-gateway.enterprise-metrics.svc:9095 + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + limits: + memory: 16Gi + requests: + cpu: 1 + memory: 6Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + subPath: null + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 180 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-alertmanager.yaml b/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-alertmanager.yaml new file mode 100644 index 0000000000..e19362cef3 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-alertmanager.yaml @@ -0,0 +1,99 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app: enterprise-metrics-alertmanager + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-alertmanager + namespace: enterprise-metrics +spec: + replicas: 3 + selector: + matchLabels: + app: enterprise-metrics-alertmanager + release: enterprise-metrics + serviceName: enterprise-metrics-alertmanager + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-alertmanager + gossip_ring_member: "true" + name: alertmanager + release: enterprise-metrics + target: alertmanager + spec: + affinity: {} + containers: + - args: + - -target=alertmanager + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + - -alertmanager.cluster.peers=enterprise-metrics-alertmanager-0.enterprise-metrics-alertmanager-headless.enterprise-metrics.svc:9094 + - -alertmanager.cluster.peers=enterprise-metrics-alertmanager-1.enterprise-metrics-alertmanager-headless.enterprise-metrics.svc:9094 + - -alertmanager.cluster.peers=enterprise-metrics-alertmanager-2.enterprise-metrics-alertmanager-headless.enterprise-metrics.svc:9094 + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 45 + resources: + limits: + memory: 8Gi + requests: + cpu: 300m + memory: 6Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 60 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + updateStrategy: + type: RollingUpdate + volumeClaimTemplates: + - metadata: + name: storage + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi diff --git a/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-compactor.yaml b/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-compactor.yaml new file mode 100644 index 0000000000..2c96f1ab60 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-compactor.yaml @@ -0,0 +1,108 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app: enterprise-metrics-compactor + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-compactor + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-compactor + release: enterprise-metrics + serviceName: enterprise-metrics-compactor + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-compactor + gossip_ring_member: "true" + name: compactor + release: enterprise-metrics + target: compactor + spec: + affinity: + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchExpressions: + - key: target + operator: In + values: + - compactor + topologyKey: kubernetes.io/hostname + weight: 100 + containers: + - args: + - -target=compactor + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 60 + resources: + limits: + cpu: 1200m + memory: 2Gi + requests: + cpu: 1 + memory: 1Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 240 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + updateStrategy: + type: RollingUpdate + volumeClaimTemplates: + - metadata: + name: storage + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 50Gi diff --git a/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-ingester.yaml b/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-ingester.yaml new file mode 100644 index 0000000000..1e28ec24e0 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-ingester.yaml @@ -0,0 +1,105 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app: enterprise-metrics-ingester + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-ingester + namespace: enterprise-metrics +spec: + replicas: 4 + selector: + matchLabels: + app: enterprise-metrics-ingester + release: enterprise-metrics + serviceName: enterprise-metrics-ingester + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-ingester + gossip_ring_member: "true" + name: ingester + release: enterprise-metrics + target: ingester + spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: target + operator: In + values: + - ingester + topologyKey: kubernetes.io/hostname + containers: + - args: + - -target=ingester + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 60 + resources: + limits: + memory: 25Gi + requests: + cpu: 4 + memory: 15Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 240 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + updateStrategy: + type: RollingUpdate + volumeClaimTemplates: + - metadata: + name: storage + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 50Gi diff --git a/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-memcached-metadata.yaml b/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-memcached-metadata.yaml new file mode 100644 index 0000000000..3ed3019b56 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-memcached-metadata.yaml @@ -0,0 +1,106 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached-metadata + helm.sh/chart: memcached-metadata-5.5.2 + name: enterprise-metrics-memcached-metadata + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-metadata + serviceName: enterprise-metrics-memcached-metadata + template: + metadata: + annotations: + prometheus.io/port: "9150" + prometheus.io/scrape: "true" + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: memcached-metadata + helm.sh/chart: memcached-metadata-5.5.2 + spec: + affinity: + nodeAffinity: null + podAffinity: null + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchLabels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-metadata + namespaces: + - enterprise-metrics + topologyKey: kubernetes.io/hostname + weight: 1 + containers: + - args: + - -m 512 + - -o + - modern + - -v + - -I 1m + - -c 1024 + image: docker.io/memcached:1.6.9 + imagePullPolicy: IfNotPresent + livenessProbe: + failureThreshold: 6 + initialDelaySeconds: 30 + tcpSocket: + port: memcache + timeoutSeconds: 5 + name: memcached + ports: + - containerPort: 11211 + name: memcache + readinessProbe: + initialDelaySeconds: 5 + periodSeconds: 5 + tcpSocket: + port: memcache + timeoutSeconds: 3 + resources: + limits: + memory: 614Mi + requests: + cpu: 500m + memory: 614Mi + securityContext: + readOnlyRootFilesystem: false + volumeMounts: + - mountPath: /tmp + name: tmp + - image: quay.io/prometheus/memcached-exporter:v0.9.0 + imagePullPolicy: IfNotPresent + livenessProbe: + httpGet: + path: /metrics + port: metrics + initialDelaySeconds: 15 + timeoutSeconds: 5 + name: metrics + ports: + - containerPort: 9150 + name: metrics + readinessProbe: + httpGet: + path: /metrics + port: metrics + initialDelaySeconds: 5 + timeoutSeconds: 1 + resources: + limits: {} + requests: {} + securityContext: + fsGroup: 1001 + runAsUser: 1001 + volumes: + - emptyDir: {} + name: tmp diff --git a/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-memcached-queries.yaml b/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-memcached-queries.yaml new file mode 100644 index 0000000000..cb3deff7b8 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-memcached-queries.yaml @@ -0,0 +1,106 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached-queries + helm.sh/chart: memcached-queries-5.5.2 + name: enterprise-metrics-memcached-queries + namespace: enterprise-metrics +spec: + replicas: 3 + selector: + matchLabels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-queries + serviceName: enterprise-metrics-memcached-queries + template: + metadata: + annotations: + prometheus.io/port: "9150" + prometheus.io/scrape: "true" + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: memcached-queries + helm.sh/chart: memcached-queries-5.5.2 + spec: + affinity: + nodeAffinity: null + podAffinity: null + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchLabels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-queries + namespaces: + - enterprise-metrics + topologyKey: kubernetes.io/hostname + weight: 1 + containers: + - args: + - -m 2048 + - -o + - modern + - -v + - -I 15m + - -c 1024 + image: docker.io/memcached:1.6.9 + imagePullPolicy: IfNotPresent + livenessProbe: + failureThreshold: 6 + initialDelaySeconds: 30 + tcpSocket: + port: memcache + timeoutSeconds: 5 + name: memcached + ports: + - containerPort: 11211 + name: memcache + readinessProbe: + initialDelaySeconds: 5 + periodSeconds: 5 + tcpSocket: + port: memcache + timeoutSeconds: 3 + resources: + limits: + memory: 2457Mi + requests: + cpu: 500m + memory: 2457Mi + securityContext: + readOnlyRootFilesystem: false + volumeMounts: + - mountPath: /tmp + name: tmp + - image: quay.io/prometheus/memcached-exporter:v0.9.0 + imagePullPolicy: IfNotPresent + livenessProbe: + httpGet: + path: /metrics + port: metrics + initialDelaySeconds: 15 + timeoutSeconds: 5 + name: metrics + ports: + - containerPort: 9150 + name: metrics + readinessProbe: + httpGet: + path: /metrics + port: metrics + initialDelaySeconds: 5 + timeoutSeconds: 1 + resources: + limits: {} + requests: {} + securityContext: + fsGroup: 1001 + runAsUser: 1001 + volumes: + - emptyDir: {} + name: tmp diff --git a/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-memcached.yaml b/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-memcached.yaml new file mode 100644 index 0000000000..e1d9c0851e --- /dev/null +++ b/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-memcached.yaml @@ -0,0 +1,106 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached + helm.sh/chart: memcached-5.5.2 + name: enterprise-metrics-memcached + namespace: enterprise-metrics +spec: + replicas: 2 + selector: + matchLabels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached + serviceName: enterprise-metrics-memcached + template: + metadata: + annotations: + prometheus.io/port: "9150" + prometheus.io/scrape: "true" + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: memcached + helm.sh/chart: memcached-5.5.2 + spec: + affinity: + nodeAffinity: null + podAffinity: null + podAntiAffinity: + preferredDuringSchedulingIgnoredDuringExecution: + - podAffinityTerm: + labelSelector: + matchLabels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached + namespaces: + - enterprise-metrics + topologyKey: kubernetes.io/hostname + weight: 1 + containers: + - args: + - -m 8192 + - -o + - modern + - -v + - -I 1m + - -c 4096 + image: docker.io/memcached:1.6.9 + imagePullPolicy: IfNotPresent + livenessProbe: + failureThreshold: 6 + initialDelaySeconds: 30 + tcpSocket: + port: memcache + timeoutSeconds: 5 + name: memcached + ports: + - containerPort: 11211 + name: memcache + readinessProbe: + initialDelaySeconds: 5 + periodSeconds: 5 + tcpSocket: + port: memcache + timeoutSeconds: 3 + resources: + limits: + memory: 9830Mi + requests: + cpu: 500m + memory: 9830Mi + securityContext: + readOnlyRootFilesystem: false + volumeMounts: + - mountPath: /tmp + name: tmp + - image: quay.io/prometheus/memcached-exporter:v0.9.0 + imagePullPolicy: IfNotPresent + livenessProbe: + httpGet: + path: /metrics + port: metrics + initialDelaySeconds: 15 + timeoutSeconds: 5 + name: metrics + ports: + - containerPort: 9150 + name: metrics + readinessProbe: + httpGet: + path: /metrics + port: metrics + initialDelaySeconds: 5 + timeoutSeconds: 1 + resources: + limits: {} + requests: {} + securityContext: + fsGroup: 1001 + runAsUser: 1001 + volumes: + - emptyDir: {} + name: tmp diff --git a/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-store-gateway.yaml b/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-store-gateway.yaml new file mode 100644 index 0000000000..0fbd1711ad --- /dev/null +++ b/charts/enterprise-metrics/exports/small/apps-v1.StatefulSet-enterprise-metrics-store-gateway.yaml @@ -0,0 +1,112 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + labels: + app: enterprise-metrics-store-gateway + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-store-gateway + namespace: enterprise-metrics +spec: + replicas: 1 + selector: + matchLabels: + app: enterprise-metrics-store-gateway + release: enterprise-metrics + serviceName: enterprise-metrics-store-gateway + template: + metadata: + annotations: + checksum/config: 8085fa0d6f8d4ddd98927fa2add048be11fa43fa868eddd4078f33953aeda9dc + labels: + app: enterprise-metrics-store-gateway + gossip_ring_member: "true" + name: store-gateway + release: enterprise-metrics + target: store-gateway + spec: + affinity: + podAntiAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: target + operator: In + values: + - store-gateway + topologyKey: kubernetes.io/hostname + containers: + - args: + - -target=store-gateway + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + - -memberlist.join=enterprise-metrics-gossip-ring + - -blocks-storage.bucket-store.chunks-cache.backend=memcached + - -blocks-storage.bucket-store.chunks-cache.memcached.addresses=dns+enterprise-metrics-memcached.enterprise-metrics.svc:11211 + - -blocks-storage.bucket-store.chunks-cache.memcached.max-item-size=1048576 + - -blocks-storage.bucket-store.index-cache.backend=memcached + - -blocks-storage.bucket-store.index-cache.memcached.addresses=dns+enterprise-metrics-memcached-queries.enterprise-metrics.svc:11211 + - -blocks-storage.bucket-store.metadata-cache.memcached.max-item-size=15728640 + - -blocks-storage.bucket-store.metadata-cache.backend=memcached + - -blocks-storage.bucket-store.metadata-cache.memcached.addresses=dns+enterprise-metrics-memcached-metadata.enterprise-metrics.svc:11211 + - -blocks-storage.bucket-store.metadata-cache.memcached.max-item-size=1048576 + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + livenessProbe: null + name: enterprise-metrics + ports: + - containerPort: 8080 + name: http-metrics + protocol: TCP + - containerPort: 9095 + name: grpc + protocol: TCP + readinessProbe: + httpGet: + path: /ready + port: http-metrics + initialDelaySeconds: 60 + resources: + requests: + cpu: 1 + memory: 6Gi + securityContext: + readOnlyRootFilesystem: true + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /var/enterprise-metrics + name: runtime-config + - mountPath: /license + name: license + - mountPath: /data + name: storage + initContainers: [] + nodeSelector: {} + securityContext: {} + serviceAccountName: enterprise-metrics + terminationGracePeriodSeconds: 240 + tolerations: [] + volumes: + - name: config + secret: + secretName: enterprise-metrics + - configMap: + name: enterprise-metrics-runtime + name: runtime-config + - name: license + secret: + secretName: enterprise-metrics-license + updateStrategy: + type: RollingUpdate + volumeClaimTemplates: + - metadata: + name: storage + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 50Gi diff --git a/charts/enterprise-metrics/exports/small/batch-v1.Job-enterprise-metrics-tokengen.yaml b/charts/enterprise-metrics/exports/small/batch-v1.Job-enterprise-metrics-tokengen.yaml new file mode 100644 index 0000000000..3e1413c433 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/batch-v1.Job-enterprise-metrics-tokengen.yaml @@ -0,0 +1,51 @@ +apiVersion: batch/v1 +kind: Job +metadata: + annotations: + helm.sh/hook: post-install + labels: + app: enterprise-metrics-tokengen + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-tokengen + namespace: enterprise-metrics +spec: + backoffLimit: 6 + completions: 1 + parallelism: 1 + selector: null + template: + metadata: + labels: + app: enterprise-metrics-tokengen + name: tokengen + release: enterprise-metrics + target: tokengen + spec: + containers: + - args: + - -target=tokengen + - -config.file=/etc/enterprise-metrics/enterprise-metrics.yaml + env: null + image: grafana/metrics-enterprise:v1.5.0 + imagePullPolicy: IfNotPresent + name: enterprise-metrics + volumeMounts: + - mountPath: /etc/enterprise-metrics + name: config + - mountPath: /license + name: license + restartPolicy: OnFailure + securityContext: null + serviceAccountName: enterprise-metrics + volumes: + - name: config + secret: + secretName: enterprise-metrics + - name: license + secret: + secretName: enterprise-metrics-license + - emptyDir: {} + name: storage diff --git a/charts/enterprise-metrics/exports/small/manifest.json b/charts/enterprise-metrics/exports/small/manifest.json new file mode 100644 index 0000000000..9e843fc458 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/manifest.json @@ -0,0 +1,43 @@ +{ + "apps-v1.Deployment-enterprise-metrics-admin-api.yaml": "environments/small/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-distributor.yaml": "environments/small/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-gateway.yaml": "environments/small/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-overrides-exporter.yaml": "environments/small/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-querier.yaml": "environments/small/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-query-frontend.yaml": "environments/small/main.jsonnet", + "apps-v1.Deployment-enterprise-metrics-ruler.yaml": "environments/small/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-alertmanager.yaml": "environments/small/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-compactor.yaml": "environments/small/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-ingester.yaml": "environments/small/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-memcached-metadata.yaml": "environments/small/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-memcached-queries.yaml": "environments/small/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-memcached.yaml": "environments/small/main.jsonnet", + "apps-v1.StatefulSet-enterprise-metrics-store-gateway.yaml": "environments/small/main.jsonnet", + "batch-v1.Job-enterprise-metrics-tokengen.yaml": "environments/small/main.jsonnet", + "policy-v1beta1.PodSecurityPolicy-enterprise-metrics.yaml": "environments/small/main.jsonnet", + "rbac.authorization.k8s.io-v1.Role-enterprise-metrics.yaml": "environments/small/main.jsonnet", + "rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics.yaml": "environments/small/main.jsonnet", + "v1.ConfigMap-enterprise-metrics-runtime.yaml": "environments/small/main.jsonnet", + "v1.Secret-enterprise-metrics-license.yaml": "environments/small/main.jsonnet", + "v1.Secret-enterprise-metrics.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-admin-api.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-alertmanager-headless.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-alertmanager.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-distributor.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-gateway.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-gossip-ring.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-ingester.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-memcached-metadata-metrics.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-memcached-metadata.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-memcached-metrics.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-memcached-queries-metrics.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-memcached-queries.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-memcached.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-overrides-exporter.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-querier.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-query-frontend-headless.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-query-frontend.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-ruler.yaml": "environments/small/main.jsonnet", + "v1.Service-enterprise-metrics-store-gateway.yaml": "environments/small/main.jsonnet", + "v1.ServiceAccount-enterprise-metrics.yaml": "environments/small/main.jsonnet" +} \ No newline at end of file diff --git a/charts/enterprise-metrics/exports/small/policy-v1beta1.PodSecurityPolicy-enterprise-metrics.yaml b/charts/enterprise-metrics/exports/small/policy-v1beta1.PodSecurityPolicy-enterprise-metrics.yaml new file mode 100644 index 0000000000..fdb4fbf7b7 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/policy-v1beta1.PodSecurityPolicy-enterprise-metrics.yaml @@ -0,0 +1,38 @@ +apiVersion: policy/v1beta1 +kind: PodSecurityPolicy +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics +spec: + allowPrivilegeEscalation: false + fsGroup: + ranges: + - max: 65535 + min: 1 + rule: MustRunAs + hostIPC: false + hostNetwork: false + hostPID: false + privileged: false + readOnlyRootFilesystem: true + requiredDropCapabilities: + - ALL + runAsUser: + rule: MustRunAsNonRoot + seLinux: + rule: RunAsAny + supplementalGroups: + ranges: + - max: 65535 + min: 1 + rule: MustRunAs + volumes: + - configMap + - emptyDir + - persistentVolumeClaim + - secret diff --git a/charts/enterprise-metrics/exports/small/rbac.authorization.k8s.io-v1.Role-enterprise-metrics.yaml b/charts/enterprise-metrics/exports/small/rbac.authorization.k8s.io-v1.Role-enterprise-metrics.yaml new file mode 100644 index 0000000000..94845ceff2 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/rbac.authorization.k8s.io-v1.Role-enterprise-metrics.yaml @@ -0,0 +1,20 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics + namespace: enterprise-metrics +rules: +- apiGroups: + - extensions + resourceNames: + - enterprise-metrics + resources: + - podsecuritypolicies + verbs: + - use diff --git a/charts/enterprise-metrics/exports/small/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics.yaml b/charts/enterprise-metrics/exports/small/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics.yaml new file mode 100644 index 0000000000..bf59bb9b68 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/rbac.authorization.k8s.io-v1.RoleBinding-enterprise-metrics.yaml @@ -0,0 +1,18 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: RoleBinding +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics + namespace: enterprise-metrics +roleRef: + apiGroup: rbac.authorization.k8s.io + kind: Role + name: enterprise-metrics +subjects: +- kind: ServiceAccount + name: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/small/v1.ConfigMap-enterprise-metrics-runtime.yaml b/charts/enterprise-metrics/exports/small/v1.ConfigMap-enterprise-metrics-runtime.yaml new file mode 100644 index 0000000000..8339be9f30 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.ConfigMap-enterprise-metrics-runtime.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +data: + runtime.yaml: |2 + + {} +kind: ConfigMap +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-runtime + namespace: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/small/v1.Secret-enterprise-metrics-license.yaml b/charts/enterprise-metrics/exports/small/v1.Secret-enterprise-metrics-license.yaml new file mode 100644 index 0000000000..2b2cbea251 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Secret-enterprise-metrics-license.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +data: + license.jwt: Tk9UQVZBTElETElDRU5TRQ== +kind: Secret +metadata: + labels: + app: enterprise-metrics-license + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-license + namespace: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/small/v1.Secret-enterprise-metrics.yaml b/charts/enterprise-metrics/exports/small/v1.Secret-enterprise-metrics.yaml new file mode 100644 index 0000000000..ed13cd9af1 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Secret-enterprise-metrics.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +data: + enterprise-metrics.yaml: YWRtaW5fY2xpZW50OgogIHN0b3JhZ2U6CiAgICB0eXBlOiBzMwphbGVydG1hbmFnZXI6CiAgZGF0YV9kaXI6IC9kYXRhCiAgZW5hYmxlX2FwaTogdHJ1ZQogIGV4dGVybmFsX3VybDogL2FsZXJ0bWFuYWdlcgogIHNoYXJkaW5nX2VuYWJsZWQ6IHRydWUKICBzaGFyZGluZ19yaW5nOgogICAga3ZzdG9yZToKICAgICAgc3RvcmU6IG1lbWJlcmxpc3QKYXBpOgogIHJlc3BvbnNlX2NvbXByZXNzaW9uX2VuYWJsZWQ6IHRydWUKYXV0aDoKICB0eXBlOiBlbnRlcnByaXNlCmF1dGhfZW5hYmxlZDogdHJ1ZQpibG9ja3Nfc3RvcmFnZToKICBiYWNrZW5kOiBzMwogIGJ1Y2tldF9zdG9yZToKICAgIHN5bmNfZGlyOiAvZGF0YS90c2RiLXN5bmMKICB0c2RiOgogICAgZGlyOiAvZGF0YS90c2RiCmNsdXN0ZXJfbmFtZTogJ2VudGVycHJpc2UtbWV0cmljcycKY29tcGFjdG9yOgogIGRhdGFfZGlyOiAvZGF0YQogIHNoYXJkaW5nX2VuYWJsZWQ6IHRydWUKICBzaGFyZGluZ19yaW5nOgogICAga3ZzdG9yZToKICAgICAgc3RvcmU6IG1lbWJlcmxpc3QKZGlzdHJpYnV0b3I6CiAgcG9vbDoKICAgIGhlYWx0aF9jaGVja19pbmdlc3RlcnM6IHRydWUKICByaW5nOgogICAga3ZzdG9yZToKICAgICAgc3RvcmU6IG1lbWJlcmxpc3QKICBzaGFyZF9ieV9hbGxfbGFiZWxzOiB0cnVlCmZyb250ZW5kOgogIGxvZ19xdWVyaWVzX2xvbmdlcl90aGFuOiAxMHMKaW5nZXN0ZXI6CiAgbGlmZWN5Y2xlcjoKICAgIGZpbmFsX3NsZWVwOiAwcwogICAgam9pbl9hZnRlcjogMHMKICAgIG51bV90b2tlbnM6IDUxMgogICAgcmluZzoKICAgICAga3ZzdG9yZToKICAgICAgICBzdG9yZTogbWVtYmVybGlzdAogICAgICByZXBsaWNhdGlvbl9mYWN0b3I6IDEKICBtYXhfdHJhbnNmZXJfcmV0cmllczogMAppbmdlc3Rlcl9jbGllbnQ6CiAgZ3JwY19jbGllbnRfY29uZmlnOgogICAgbWF4X3JlY3ZfbXNnX3NpemU6IDEwNDg1NzYwMAogICAgbWF4X3NlbmRfbXNnX3NpemU6IDEwNDg1NzYwMAppbnN0cnVtZW50YXRpb246CiAgZGlzdHJpYnV0b3JfY2xpZW50OgogICAgYWRkcmVzczogZG5zOi8vL2VudGVycHJpc2UtbWV0cmljcy1kaXN0cmlidXRvci5lbnRlcnByaXNlLW1ldHJpY3Muc3ZjOjkwOTUKICBlbmFibGVkOiB0cnVlCmxpY2Vuc2U6CiAgcGF0aDogL2xpY2Vuc2UvbGljZW5zZS5qd3QKbGltaXRzOgogIGVuZm9yY2VfbWV0cmljX25hbWU6IGZhbHNlCiAgcmVqZWN0X29sZF9zYW1wbGVzOiB0cnVlCiAgcmVqZWN0X29sZF9zYW1wbGVzX21heF9hZ2U6IDE2OGgKbWVtYmVybGlzdDoKICBiaW5kX3BvcnQ6IDc5NDYKcXVlcmllcjoKICBhY3RpdmVfcXVlcnlfdHJhY2tlcl9kaXI6IC9kYXRhL2VudGVycHJpc2UtbWV0cmljcy9xdWVyaWVyCiAgcXVlcnlfaW5nZXN0ZXJzX3dpdGhpbjogMTJoCnF1ZXJ5X3JhbmdlOgogIGFsaWduX3F1ZXJpZXNfd2l0aF9zdGVwOiB0cnVlCiAgY2FjaGVfcmVzdWx0czogdHJ1ZQogIHJlc3VsdHNfY2FjaGU6CiAgICBjYWNoZToKICAgICAgbWVtY2FjaGVkOgogICAgICAgIGV4cGlyYXRpb246IDFoCiAgICAgIG1lbWNhY2hlZF9jbGllbnQ6CiAgICAgICAgdGltZW91dDogMXMKICBzcGxpdF9xdWVyaWVzX2J5X2ludGVydmFsOiAyNGgKcnVsZXI6CiAgZW5hYmxlX2FsZXJ0bWFuYWdlcl9kaXNjb3Zlcnk6IGZhbHNlCiAgZW5hYmxlX2FwaTogdHJ1ZQogIGVuYWJsZV9zaGFyZGluZzogdHJ1ZQogIHJpbmc6CiAgICBrdnN0b3JlOgogICAgICBzdG9yZTogbWVtYmVybGlzdAogIHJ1bGVfcGF0aDogL2RhdGEKcnVudGltZV9jb25maWc6CiAgZmlsZTogL3Zhci9lbnRlcnByaXNlLW1ldHJpY3MvcnVudGltZS55YW1sCnNlcnZlcjoKICBncnBjX2xpc3Rlbl9wb3J0OiA5MDk1CiAgZ3JwY19zZXJ2ZXJfbWF4X2NvbmN1cnJlbnRfc3RyZWFtczogMTAwMAogIGdycGNfc2VydmVyX21heF9yZWN2X21zZ19zaXplOiAxMDQ4NTc2MDAKICBncnBjX3NlcnZlcl9tYXhfc2VuZF9tc2dfc2l6ZTogMTA0ODU3NjAwCiAgaHR0cF9saXN0ZW5fcG9ydDogODA4MApzdG9yYWdlOgogIGVuZ2luZTogYmxvY2tzCnN0b3JlX2dhdGV3YXk6CiAgc2hhcmRpbmdfZW5hYmxlZDogdHJ1ZQogIHNoYXJkaW5nX3Jpbmc6CiAgICBrdnN0b3JlOgogICAgICBzdG9yZTogbWVtYmVybGlzdA== +kind: Secret +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics + namespace: enterprise-metrics diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-admin-api.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-admin-api.yaml new file mode 100644 index 0000000000..8129db93c7 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-admin-api.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-admin-api + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-admin-api + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-admin-api + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-alertmanager-headless.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-alertmanager-headless.yaml new file mode 100644 index 0000000000..78cbe46fae --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-alertmanager-headless.yaml @@ -0,0 +1,29 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-alertmanager + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-alertmanager-headless + namespace: enterprise-metrics +spec: + clusterIP: None + ports: + - name: http-metrics + port: 8080 + protocol: TCP + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + - name: cluster + port: 9094 + protocol: TCP + publishNotReadyAddresses: true + selector: + app: enterprise-metrics-alertmanager + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-alertmanager.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-alertmanager.yaml new file mode 100644 index 0000000000..6ba5e4ca44 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-alertmanager.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-alertmanager + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-alertmanager + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-alertmanager + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-distributor.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-distributor.yaml new file mode 100644 index 0000000000..bc35ecea2d --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-distributor.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-distributor + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-distributor + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-distributor + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-gateway.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-gateway.yaml new file mode 100644 index 0000000000..b2223d9383 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-gateway.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-gateway + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-gateway + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + selector: + app: enterprise-metrics-gateway + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-gossip-ring.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-gossip-ring.yaml new file mode 100644 index 0000000000..29ccbb7d01 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-gossip-ring.yaml @@ -0,0 +1,22 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-gossip-ring + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-gossip-ring + namespace: enterprise-metrics +spec: + clusterIP: None + ports: + - name: gossip-ring + port: 7946 + protocol: TCP + targetPort: 7946 + publishNotReadyAddresses: true + selector: + gossip_ring_member: "true" + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-ingester.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-ingester.yaml new file mode 100644 index 0000000000..62095128a5 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-ingester.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-ingester + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-ingester + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-ingester + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-metadata-metrics.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-metadata-metrics.yaml new file mode 100644 index 0000000000..1dea6e3ed9 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-metadata-metrics.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + prometheus.io/port: "9150" + prometheus.io/scrape: "true" + labels: + app.kubernetes.io/component: metrics + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached-metadata + helm.sh/chart: memcached-metadata-5.5.2 + name: enterprise-metrics-memcached-metadata-metrics + namespace: enterprise-metrics +spec: + ports: + - name: metrics + port: 9150 + targetPort: metrics + selector: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-metadata + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-metadata.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-metadata.yaml new file mode 100644 index 0000000000..132122aca2 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-metadata.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached-metadata + helm.sh/chart: memcached-metadata-5.5.2 + name: enterprise-metrics-memcached-metadata + namespace: enterprise-metrics +spec: + clusterIP: None + ports: + - name: memcache + nodePort: null + port: 11211 + targetPort: memcache + selector: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-metadata + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-metrics.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-metrics.yaml new file mode 100644 index 0000000000..59aa054181 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-metrics.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + prometheus.io/port: "9150" + prometheus.io/scrape: "true" + labels: + app.kubernetes.io/component: metrics + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached + helm.sh/chart: memcached-5.5.2 + name: enterprise-metrics-memcached-metrics + namespace: enterprise-metrics +spec: + ports: + - name: metrics + port: 9150 + targetPort: metrics + selector: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-queries-metrics.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-queries-metrics.yaml new file mode 100644 index 0000000000..29d1748a98 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-queries-metrics.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: + prometheus.io/port: "9150" + prometheus.io/scrape: "true" + labels: + app.kubernetes.io/component: metrics + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached-queries + helm.sh/chart: memcached-queries-5.5.2 + name: enterprise-metrics-memcached-queries-metrics + namespace: enterprise-metrics +spec: + ports: + - name: metrics + port: 9150 + targetPort: metrics + selector: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-queries + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-queries.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-queries.yaml new file mode 100644 index 0000000000..4a6966cd44 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached-queries.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached-queries + helm.sh/chart: memcached-queries-5.5.2 + name: enterprise-metrics-memcached-queries + namespace: enterprise-metrics +spec: + clusterIP: None + ports: + - name: memcache + nodePort: null + port: 11211 + targetPort: memcache + selector: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached-queries + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached.yaml new file mode 100644 index 0000000000..489e650bbe --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-memcached.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + app.kubernetes.io/name: memcached + helm.sh/chart: memcached-5.5.2 + name: enterprise-metrics-memcached + namespace: enterprise-metrics +spec: + clusterIP: None + ports: + - name: memcache + nodePort: null + port: 11211 + targetPort: memcache + selector: + app.kubernetes.io/instance: enterprise-metrics + app.kubernetes.io/name: memcached + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-overrides-exporter.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-overrides-exporter.yaml new file mode 100644 index 0000000000..c12492017c --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-overrides-exporter.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-overrides-exporter + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-overrides-exporter + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-overrides-exporter + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-querier.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-querier.yaml new file mode 100644 index 0000000000..1f2b8371c8 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-querier.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-querier + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-querier + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-querier + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-query-frontend-headless.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-query-frontend-headless.yaml new file mode 100644 index 0000000000..da29b8ee8c --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-query-frontend-headless.yaml @@ -0,0 +1,27 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-query-frontend + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-query-frontend-headless + namespace: enterprise-metrics +spec: + clusterIP: None + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + publishNotReadyAddresses: true + selector: + app: enterprise-metrics-query-frontend + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-query-frontend.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-query-frontend.yaml new file mode 100644 index 0000000000..7d628a9147 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-query-frontend.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-query-frontend + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-query-frontend + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-query-frontend + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-ruler.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-ruler.yaml new file mode 100644 index 0000000000..6e41a0c922 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-ruler.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-ruler + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-ruler + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + selector: + app: enterprise-metrics-ruler + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-store-gateway.yaml b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-store-gateway.yaml new file mode 100644 index 0000000000..02d49c70a0 --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.Service-enterprise-metrics-store-gateway.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + labels: + app: enterprise-metrics-store-gateway + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics-store-gateway + namespace: enterprise-metrics +spec: + ports: + - name: http-metrics + port: 8080 + protocol: TCP + targetPort: http-metrics + - name: grpc + port: 9095 + protocol: TCP + targetPort: grpc + selector: + app: enterprise-metrics-store-gateway + release: enterprise-metrics + type: ClusterIP diff --git a/charts/enterprise-metrics/exports/small/v1.ServiceAccount-enterprise-metrics.yaml b/charts/enterprise-metrics/exports/small/v1.ServiceAccount-enterprise-metrics.yaml new file mode 100644 index 0000000000..ccbdba9f8c --- /dev/null +++ b/charts/enterprise-metrics/exports/small/v1.ServiceAccount-enterprise-metrics.yaml @@ -0,0 +1,11 @@ +apiVersion: v1 +kind: ServiceAccount +metadata: + labels: + app: enterprise-metrics + app.kubernetes.io/managed-by: Helmraiser + chart: enterprise-metrics-1.5.2 + heritage: Helm + release: enterprise-metrics + name: enterprise-metrics + namespace: enterprise-metrics