From 9168ce69b25bfaa391eb02a16b3bd5c4b6bba35b Mon Sep 17 00:00:00 2001 From: Rudi MK Date: Thu, 14 Mar 2024 06:14:17 +0100 Subject: [PATCH] Upgraded the LogDNA chart to v203.9.1, preserved existing forms, default config and chart tags. --- addons/logdna/Chart.yaml | 14 +++---- addons/logdna/README.md | 69 +--------------------------------- addons/logdna/README.md.gotmpl | 5 --- addons/logdna/values.yaml | 2 +- 4 files changed, 10 insertions(+), 80 deletions(-) delete mode 100644 addons/logdna/README.md.gotmpl diff --git a/addons/logdna/Chart.yaml b/addons/logdna/Chart.yaml index 7343c8edb..bc4e5922c 100644 --- a/addons/logdna/Chart.yaml +++ b/addons/logdna/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: 3.8.2 +appVersion: 3.9.1 description: LogDNA collector agent daemonset for Kubernetes. home: https://logdna.com -icon: https://avatars.githubusercontent.com/u/17461937?s=200&v=4 +icon: https://logdna.com/assets/images/logdna_logo_240w.png keywords: - logs - logging @@ -16,10 +16,10 @@ keywords: - APP - LOGGING maintainers: - - email: help@logdna.com - name: logdna -name: logdna +- email: help@logdna.com + name: LogDNA +name: agent sources: - - https://github.com/logdna/logdna-agent-v2 +- https://github.com/logdna/logdna-agent-v2 type: application -version: 0.1.0 +version: 203.9.1 diff --git a/addons/logdna/README.md b/addons/logdna/README.md index ec67170be..a1a5ee3dc 100644 --- a/addons/logdna/README.md +++ b/addons/logdna/README.md @@ -1,74 +1,9 @@ # LogDNA Kubernetes Agent -[LogDNA](https://logdna.com) - Easy, beautiful logging in the cloud. +LogDNA - Easy, beautiful logging in the cloud. ## Introduction This chart deploys LogDNA collector agents to all nodes in your cluster. Logs will ship from all containers. We extract pertinent Kubernetes metadata: pod name, container name, container id, namespace, labels, and annotations. -View your logs at https://app.logdna.com or live tail using our [CLI](https://github.com/logdna/logdna-cli). - -## Prerequisites - -- Kubernetes 1.11.10+ - -## Installing the Chart - -Please follow directions from https://app.logdna.com/pages/add-source to obtain your LogDNA Ingestion Key. - -To install the chart with the release name `my-release`: - -```bash -$ helm repo add logdna https://assets.logdna.com/charts -$ helm install --set logdna.key=LOGDNA_INGESTION_KEY my-release logdna/agent -``` - -You should see logs in https://app.logdna.com in a few seconds. - -### Tags support: -```bash -$ helm install --set logdna.key=LOGDNA_INGESTION_KEY,logdna.tags=production my-release logdna/agent -``` - -## Uninstalling the Chart - -To uninstall/delete the `my-release` deployment: - -```bash -$ helm uninstall my-release -``` - -The command removes all the Kubernetes components associated with the chart and deletes the release. - -## Configuration - -The following tables lists the configurable parameters of the LogDNA Agent chart and their default values. - -Parameter | Description | Default ---- | --- | --- -`daemonset.tolerations` | List of node taints to tolerate | `[]` -`daemonset.updateStrategy` | Optionally set an update strategy on the daemonset. | None -`image.pullPolicy` | Image pull policy | `IfNotPresent` -`logdna.key` | LogDNA Ingestion Key (Required) | None -`logdna.tags` | Optional tags such as `production` | None -`priorityClassName` | (Optional) Set a PriorityClass on the Daemonset | `""` -`resources.limits.memory` | Memory resource limits |500Mi -`updateOnSecretChange` | Optionally set annotation on daemonset to cause deploy when secret changes | None -`extraEnv` | Additional environment variables | `{}` -`extraVolumeMounts` | Additional Volume mounts | `[]` -`extraVolumes` | Additional Volumes | `[]` -`serviceAccount.create` | Whether to create a service account for this release | `true` -`serviceAccount.name` | The name of the service account. Defaults to `logdna-agent` unless `serviceAccount.create=false` in which case it defaults to `default` | None - -Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, - -```bash -$ helm install --set logdna.key=LOGDNA_INGESTION_KEY,logdna.tags=production my-release logdna/agent -``` - -Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the -chart. For example, - -```bash -$ helm install -f values.yaml my-release logdna/agent -``` +View your logs at https://app.logdna.com or live tail using the LogDNA CLI. diff --git a/addons/logdna/README.md.gotmpl b/addons/logdna/README.md.gotmpl deleted file mode 100644 index e5d18e342..000000000 --- a/addons/logdna/README.md.gotmpl +++ /dev/null @@ -1,5 +0,0 @@ -## Info -LogDNA is a popular logging management system. To get started with LogDNA please obtain a [LogDNA ingestion key](https://app.logdna.com/pages/add-source). - -## Docs -For more information on LogDNA please visit their [documentation](https://docs.logdna.com/docs). \ No newline at end of file diff --git a/addons/logdna/values.yaml b/addons/logdna/values.yaml index 9fd81320c..db3ec690a 100644 --- a/addons/logdna/values.yaml +++ b/addons/logdna/values.yaml @@ -5,7 +5,6 @@ image: logdna: name: logdna-agent - key: "" resources: requests: @@ -21,6 +20,7 @@ daemonset: operator: Equal priorityClassName: "" + extraEnv: - name: LOGDNA_USE_K8S_LOG_ENRICHMENT value: "always"