Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging updates #620

Merged
merged 11 commits into from
Oct 20, 2023
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: []
tobybellwood marked this conversation as resolved.
Show resolved Hide resolved
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
Loading