Skip to content

Commit

Permalink
Merge pull request #620 from uselagoon/logging_updates
Browse files Browse the repository at this point in the history
Logging updates
  • Loading branch information
tobybellwood authored Oct 20, 2023
2 parents b8612db + ecc3220 commit aec5fa6
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 12 deletions.
8 changes: 6 additions & 2 deletions charts/lagoon-logging/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type: application
# time you make changes to the chart and its templates, including the app
# version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.79.0
version: 0.80.0

dependencies:
- name: logging-operator
Expand All @@ -33,4 +33,8 @@ dependencies:
annotations:
artifacthub.io/changes: |
- kind: changed
description: require minimum Kubernetes 1.23
description: update uselagoon/logs-dispatcher image to v3.4.0
- kind: added
description: schedule Logging Pods also on infra nodes
- kind: added
description: ability to configure toleration/affinity on FluentD deployment
8 changes: 8 additions & 0 deletions charts/lagoon-logging/templates/logging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ spec:
fsGroup: 0
scaling:
replicas: {{ .Values.fluentdReplicaCount }}
{{- with .Values.fluentdAffinity }}
affinity:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.fluentdTolerations }}
tolerations:
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.fluentdMetrics }}
metrics:
{{- toYaml . | nindent 6 }}
Expand Down
18 changes: 13 additions & 5 deletions charts/lagoon-logging/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ logsDispatcher:
repository: uselagoon/logs-dispatcher
pullPolicy: IfNotPresent
# Overrides the image tag whose default is "latest".
tag: "v3.3.0"
tag: "v3.4.0"

serviceAccount:
# Specifies whether a service account should be created
Expand Down Expand Up @@ -121,7 +121,7 @@ cdnLogsCollector:
repository: uselagoon/logs-dispatcher
pullPolicy: IfNotPresent
# Overrides the image tag whose default is "latest".
tag: "v3.3.0"
tag: "v3.4.0"

podAnnotations: {}

Expand Down Expand Up @@ -248,18 +248,26 @@ consolidateServiceIndices: false
# sent to a third-party service and not to a central elasticsearch.
enableDefaultForwarding: true

# Set how many fluentd pods should be running
# Set how many Fluentd log forwarder pods should be running
fluentdReplicaCount: 3

# Add tolerations to the fluentbit daemonset so that it runs on e.g.
# load-balancer nodes.
# Add tolerations and affinity to the Fluentd log forwarder statefulset to
# better control where it runs e.g. avoiding spot or load-balancers
fluentdTolerations: []
fluentdAffinity: {}

# Add tolerations to the Fluent Bit log collector daemonset to define where it
# runs on to collect data e.g. load-balancer or infra nodes.
fluentbitTolerations:
- effect: NoSchedule
key: lagoon.sh/lb
operator: Exists
- effect: NoSchedule
key: lagoon.sh/spot
operator: Exists
- effect: NoSchedule
key: lagoon.sh/infra
operator: Exists

# Expose metrics of the Logging Operator's fluentbit daemonset and fluentd
# statefulset via a Prometheus Operator compatible ServiceMonitor object.
Expand Down
6 changes: 2 additions & 4 deletions charts/lagoon-logs-concentrator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@ type: application
# time you make changes to the chart and its templates, including the app
# version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.46.0
version: 0.47.0

# This section is used to collect a changelog for artifacthub.io
# It should be started afresh for each release
# Valid supported kinds are added, changed, deprecated, removed, fixed and security
annotations:
artifacthub.io/changes: |
- kind: changed
description: require minimum Kubernetes 1.23
- kind: changed
description: removed autoscaling api version helper
description: update uselagoon/logs-concentrator image to v3.2.0
2 changes: 1 addition & 1 deletion charts/lagoon-logs-concentrator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ image:
repository: uselagoon/logs-concentrator
pullPolicy: IfNotPresent
# Overrides the image tag whose default is "latest".
tag: "v3.1.0"
tag: "v3.2.0"

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit aec5fa6

Please sign in to comment.