Skip to content

Commit

Permalink
Merge pull request #1230 from porter-dev/rudimk/logdna-update-203.9.1
Browse files Browse the repository at this point in the history
LogDNA -> v203.9.1
  • Loading branch information
portersupport authored Mar 22, 2024
2 parents 658e3a4 + 98fe726 commit 6bff0dd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 80 deletions.
14 changes: 7 additions & 7 deletions addons/logdna/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -16,10 +16,10 @@ keywords:
- APP
- LOGGING
maintainers:
- email: [email protected]
name: logdna
name: logdna
- email: [email protected]
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
69 changes: 2 additions & 67 deletions addons/logdna/README.md
Original file line number Diff line number Diff line change
@@ -1,74 +1,9 @@
# LogDNA Kubernetes Agent

[LogDNA](https://logdna.com) - Easy, beautiful logging in the cloud.
<a href="https://logdna.com" target="_blank">LogDNA</a> - 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 <a href="https://app.logdna.com" target="_blank">https://app.logdna.com</a> or live tail using the <a href="https://github.com/logdna/logdna-cli" target="_blank">LogDNA CLI</a>.
5 changes: 0 additions & 5 deletions addons/logdna/README.md.gotmpl

This file was deleted.

2 changes: 1 addition & 1 deletion addons/logdna/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ image:

logdna:
name: logdna-agent
key: ""

resources:
requests:
Expand All @@ -21,6 +20,7 @@ daemonset:
operator: Equal

priorityClassName: ""

extraEnv:
- name: LOGDNA_USE_K8S_LOG_ENRICHMENT
value: "always"
Expand Down

0 comments on commit 6bff0dd

Please sign in to comment.