Skip to content

Release v4.0.0

Latest
Compare
Choose a tag to compare
@SIGHUP-C-3PO SIGHUP-C-3PO released this 27 Nov 17:02
d875c7b

Logging Core Module Release 4.0.0

Welcome to the latest release of the logging module of Kubernetes Fury Distribution maintained by team SIGHUP.

This update is a major version that adds support for the Kubernetes version 1.30 and 1.31. It also introduces a breaking change with the new time series database for Loki TSDB along with the new v13 schema.
These changes will improve efficiency, speed and scalability of Loki clusters.

Component Images 🚢

Component Supported Version Previous Version
opensearch v2.17.1 2.12.0
opensearch-dashboards v2.17.1 2.12.0
logging-operator v4.10.0 4.5.6
loki-distributed v2.9.10 2.9.2
minio-ha RELEASE.2024-10-13T13-34-11Z RELEASE.2023-01-12T02-06-16Z

Bug Fixes and Changes 🐛

  • Added support for Kubernetes version 1.30 and 1.31

  • New schema and store for Loki: The Loki configuration has been extended to add the new TSDB store and v13 schema. There are two new elements in the configuration (note: this is a breaking change):

    ...
    schema_config:
      ...
      - from: "2024-12-01"
        index:
          period: 24h
          prefix: index_
        object_store: s3
        schema: v13
        store: tsdb
    ...
    storage_config:
      ...
      tsdb_shipper:
        active_index_directory: /var/loki/index
        cache_location: /var/loki/cache
        cache_ttl: 24h
        resync_interval: 5s
        shared_store: s3

    The two pieces of new configuration introduced are:

    • The new schema config with TSDB and schema v13
    • The tsdb_shipper conf that configures the storage for TSDB

    The from in schema_config should be a string in ISO 8601 date format and it represents the day starting from which Loki will record logs with the new store and schema.

    ℹ️ Note: Loki will assume the start of the day on the UTC midnight of the specified day.

Breaking Changes 💔

  • Loki store and schema change: A new store and schema has been introduced in order to improve efficiency, speed and scalability of Loki clusters.

Update Guide 🦮

⚠ Before upgrading read about the changes in Loki schema and store

Upgrade using the distribution

To upgrade the module using the distribution please refer to the official documentation

Manual Upgrade

ℹ️ Note: Manually upgrading the module is deprecated. It is reccommended to use fury distribution

To upgrade the module run:

kustomize build | kubectl apply -f -