Skip to content

Releases: k8ssandra/k8ssandra-operator

v1.6.0

10 Mar 22:14
Compare
Choose a tag to compare

v1.6.0 - 2023-03-10

  • [CHANGE] #907 Update to cass-operator v1.15.0, remove Vector sidecar, instead use cass-operator's server-system-logger Vector agent and only modify its config
  • [CHANGE] #846 Remove deprecated CassandraBackup and CassandraRestore APIs
  • [CHANGE] #848 Perform Helm releases in the release workflow
  • [CHANGE] #887 Fix CVE-2022-32149.
  • [CHANGE] #891 Update golang.org/x/net to fix several CVEs.
  • [FEATURE] #826 Support cass-operator DC name overrides
  • [FEATURE] #815 Add configuration block to CRDs for new Cassandra metrics agent.
  • [FEATURE] #605 Create a mutating webhook for the internal secrets provider
  • [ENHANCEMENT] #831 Add CLUSTER_NAME, DATACENTER_NAME and RACK_NAME environment variables to the vector container
  • [ENHANCEMENT] #859 Remove current usages of managed-by label
  • [BUGFIX] #854 Use Patch() to update K8ssandraTask status.
  • [BUGFIX] #906 Remove sources from Vector configuration that have no sink attached to them (with or without transformers)

v1.5.2

22 Feb 10:39
Compare
Choose a tag to compare

v1.5.2 - 2023-02-22

  • [BUGFIX] Fix helm release process version tag update in values file which is missing the v prefix

v1.5.1

21 Feb 18:10
Compare
Choose a tag to compare

v1.5.1 - 2023-02-21

  • [CHANGE] #891 Update golang.org/x/net to fix several CVEs.
  • [CHANGE] #878 Fix CVE-2022-1996
  • [BUGFIX] #829 Don't reference DCs in system ks replication settings before they exist

v1.5.0

03 Feb 16:14
Compare
Choose a tag to compare

v1.5.0 - 2023-02-03

Release Notes

New Metrics Endpoint

As of v1.5.0, we are introducing a new metrics endpoint which will replace the [Metrics Collector for Apache Cassandra (MCAC)](Metrics Collector for Apache Cassandra) in an upcoming release and is built directly in the Management API.
MCAC's architecture is not well suited for Kubernetes and the presence of collectd was both creating bugs and adding maintenance complexity.
MCAC is still enabled by default in v1.5.0 and can be disabled by setting .spec.cassandra.telemetry.mcac.enabled to false. This will disable the MCAC agent and modify the service monitors/vector config to point to the new metrics endpoint.

Note that the new metrics endpoint uses names for the metrics which are much closer to the names of the Cassandra metrics. For example, Client Requests latencies for the LOCAL_ONE consistency level will be found in the org_apache_cassandra_metrics_client_request_latency_read_local_one metric.
Another example, the SSTables per read percentile metrics for the system_traces keyspace can be found here:

org_apache_cassandra_metrics_keyspace_ss_tables_per_read_histogram_system_traces{host="0782cc86-ca60-47ac-a513-620a44c62fe4",instance="172.24.0.4",cluster="test",datacenter="dc1",rack="default",quantile="0.5",} 0.0
org_apache_cassandra_metrics_keyspace_ss_tables_per_read_histogram_system_traces{host="0782cc86-ca60-47ac-a513-620a44c62fe4",instance="172.24.0.4",cluster="test",datacenter="dc1",rack="default",quantile="0.75",} 0.0
org_apache_cassandra_metrics_keyspace_ss_tables_per_read_histogram_system_traces{host="0782cc86-ca60-47ac-a513-620a44c62fe4",instance="172.24.0.4",cluster="test",datacenter="dc1",rack="default",quantile="0.95",} 0.0
org_apache_cassandra_metrics_keyspace_ss_tables_per_read_histogram_system_traces{host="0782cc86-ca60-47ac-a513-620a44c62fe4",instance="172.24.0.4",cluster="test",datacenter="dc1",rack="default",quantile="0.98",} 0.0
org_apache_cassandra_metrics_keyspace_ss_tables_per_read_histogram_system_traces{host="0782cc86-ca60-47ac-a513-620a44c62fe4",instance="172.24.0.4",cluster="test",datacenter="dc1",rack="default",quantile="0.99",} 0.0
org_apache_cassandra_metrics_keyspace_ss_tables_per_read_histogram_system_traces{host="0782cc86-ca60-47ac-a513-620a44c62fe4",instance="172.24.0.4",cluster="test",datacenter="dc1",rack="default",quantile="0.999",} 0.0

Existing dashboards need to be updated to use the new metrics names. Note that the new metrics endpoint is always enabled, even when MCAC is enabled. This allows accessing the new metrics on port 9000 before disabling MCAC.

MCAC will be fully removed in a future release, and we highly recommend to experiment with the new metrics endpoint and prepare the switch as soon as possible.

Changelog

  • [FEATURE] #783 Allow disabling MCAC
  • [FEATURE] #739 Add API for cluster-level tasks
  • [FEATURE] #775 Add the ability to inject and configure a Vector agent sidecar in the Cassandra pods
  • [FEATURE] #600 Disable secrets management and replication with the external secrets provider
  • [FEATURE] #501 Allow configuring annotations and labels on services, statefulsets, deployments and pods
  • [FEATURE] #790 Deploy Vector agent to scrape Stargate metrics
  • [FEATURE] #789 Deploy Vector agent for Reaper metrics scraping
  • [ENHANCEMENT] Upgrade cass-operator to v1.14.0
  • [ENHANCEMENT] #817 Allow configuring the Vector agent sidecar in the CRD
  • [ENHANCEMENT] #796 Enable smart token allocation by default for DSE
  • [ENHANCEMENT] #765 Add GitHub workflow to test various k8s versions
  • [ENHANCEMENT] #323 Use Cassandra internals for JMX authentication
  • [ENHANCEMENT] #770 Update to Go 1.19 and Operator SDK 1.25.2
  • [ENHANCEMENT] #525 Deep-merge cluster- and dc-level templates
  • [ENHANCEMENT] #781 Expose perNodeConfigInitContainer.Image through CRD
  • [ENHANCEMENT] #783 Make ServiceAccount of Cassandra pods configurable
  • [ENHANCEMENT] #822 Remove relabelling rules from service monitors when MCAC is disabled
  • [BUGFIX] #844 Point Vector to the right path when the new metrics endpoint is used
  • [BUGFIX] #726 Don't propagate Cassandra tolerations to the Stargate deployment
  • [BUGFIX] #778 Fix Stargate deployments on k8s clusters using a custom domain name
  • [TESTING] Pin Kustomize to v4 in CI
  • [TESTING] #761 Stabilize integration and e2e tests
  • [TESTING] #799 Fix GHA CI failures with Kustomize install being rate limited

v1.4.1

04 Jan 12:08
Compare
Choose a tag to compare

Release notes

This patch release adds support for Apache Cassandra 4.1.0.

Apache Cassandra 4.1 support

k8ssandra-operator now supports Apache Cassandra 4.1.x. To use Apache Cassandra 4.1.0, you must set the spec.serverVersion field to 4.1.0.
At the time of this release, Stargate is not yet compatible with Apache Cassandra 4.1. See this issue for more details.

Changelog

v1.4.1 - 2022-01-04

  • [ENHANCEMENT] #797 Allow using Cassandra 4.1+ releases

v1.4.0

18 Nov 15:53
ec20c2f
Compare
Choose a tag to compare

v1.4.0 - 2022-11-18

  • [ENHANCEMENT] #766 Upgrade Reaper to v3.2.1
  • [ENHANCEMENT] #740 Expose ManagementApiAuth and pod SecurityGroup from the cassdc spec in k8ssandra-operator
  • [ENHANCEMENT] #737 Support additional jvm options for the various options files
  • [FEATURE] #599 Introduce a secrets provider setting in the CRD
  • [FEATURE] #728 Add token generation utility
  • [FEATURE] #724 Ability to provide per-node configuration
  • [FEATURE] #718 Make keystore-password, keystore, truststore keys in secret configurable
  • [BUGFIX] #642 Fix removal of DC that is local to the control plane
  • [BUGFIX] #744 Handle auth for DSE clusters
  • [BUGFIX] #722 Enable client-side CQL encryption in Stargate if it is configured on the cluster
  • [BUGFIX] #714 Don't restart whole Cassandra 4 DC when Stargate is added or removed
  • [BUGFIX] #758 Remove -jdk8 suffix for DSE images
  • [TESTING] #749 Add e2e test for distinct commit log and data volumes
  • [TESTING] #747 Add e2e test and docs for JBOD support
  • [BUGFIX] #755 Move jvm11 options to jvm8 for DSE
  • [BUGFIX] #746 Fix DC decommission when racks are used, upgrade to cass-operator v1.13.1

v1.3.0

12 Oct 12:38
Compare
Choose a tag to compare

v1.3.0 - 2022-10-12

  • [FEATURE] #657 Basic DSE Support
  • [FEATURE] #661 Support all dse.yaml options
  • [FEATURE] #710 Implement unstructured cassandra and dse yaml configuration
  • [ENHANCEMENT] #681 Update to Go 1.18, Kubernetes 1.24, Operator SDK 1.23, controller-gen 0.9.2, Kustomize 4.5.7, controller-runtime 0.12.2
  • [ENHANCEMENT] #699 Prevent DC decommission if user keyspaces are replicated to it
  • [ENHANCEMENT] #695 Support DSE multi DC clusters
  • [ENHANCEMENT] #669 Deterministic DSE upgrades
  • [ENHANCEMENT] #704 Upgrade to cass-operator v1.13.0
  • [BUGFIX] #648 Open gRPC port within the stargate deployment
  • [BUGFIX] #696 Upgrade datacenters sequentially instead of concurrently
  • [BUGFIX] #641 Reaper ServiceMonitor is not properly configured
  • [TESTING] #687 Verify that modifications to dse.yaml are applied
  • [TESTING] Switch to NGINX for ingress in e2e tests

v1.2.1

13 Sep 15:31
Compare
Choose a tag to compare

v1.2.1 - 2022-09-13

  • [BUGFIX] #675 K8ssandra is ignoring capital letters in the clusterName
  • [BUGFIX] #641 Reaper ServiceMonitor is not properly configured
  • [BUGFIX] #640 Fix NPEs when authentication is disabled
  • [BUGFIX] #567 Fix no seeds error when all the Cassandra pods of a DC get restarted at once

v1.2.0

22 Jul 11:49
Compare
Choose a tag to compare

v1.2.0 - 2022-07-22

  • [CHANGE] Update to Reaper v3.2.0
  • [CHANGE] Update to cass-operator v1.12.0
  • [CHANGE] Update to Medusa v0.13.4
  • [FEATURE] #570 Add CDC integration to k8ssandra-operator
  • [FEATURE] #620 Enable injecting volumes in the Cassandra pods
  • [FEATURE] #569 Enable injecting containers and init containers into the Cassandra pods
  • [FEATURE] #496 Allow overriding Cassandra cluster names
  • [FEATURE] #460 Add support for scheduling backups.
  • [FEATURE] #531 Add support for JWT authentication in Stargate
  • [ENHANCEMENT] #578 Expose Reaper Metrics through a ServiceMonitor
  • [ENHANCEMENT] #553 Add resources config settings for Reaper and Medusa containers
  • [ENHANCEMENT] #573 Add the ability to set metrics filters in MCAC
  • [ENHANCEMENT] #584 Make Medusa use the Cassandra data PV for restore downloads
  • [ENHANCEMENT] #354 Add encryption support to Medusa
  • [BUGFIX] #549 Releases branches should run e2e tests against target release version

v1.1.1

17 May 16:11
Compare
Choose a tag to compare

v1.1.1 2022-05-17

  • [BUGFIX] #550 Fix system schema replication annotation parsing failure after 1.1.0 upgrade