Skip to content

Releases: k8ssandra/k8ssandra-operator

v1.7.1

24 Jul 10:03
Compare
Choose a tag to compare

v1.7.1 - 2023-07-24

  • [BUGFIX] #1023 Ensure merged serverVersion passed to IsNewMetricsEndpointAvailable()

v1.8.0

10 Jul 16:32
Compare
Choose a tag to compare
  • [CHANGE] #1005 Support 7.x.x version numbers for DSE and 5.x.x for Cassandra
  • [CHANGE] #985 CI/CD does not produce images for some commits
  • [CHANGE] #483 Deploy a standalone Medusa pod for operator to Medusa direct interactions
  • [CHANGE] Upgrade to Medusa v0.15.0
  • [CHANGE] Upgrade to cass-operator v1.16.0
  • [ENHANCEMENT] #693 Build and publish arm64 images
  • [ENHANCEMENT] #842 Remove usages of deprecated created-by label

v1.7.0

05 Jun 14:14
Compare
Choose a tag to compare

v1.7.0 - 2023-06-05

  • [CHANGE] #991 If EncryptionStores and all the Keystore/Truststore passwords are not set, the operator will not touch the cassandra-yaml's encryption fields.
  • [ENHANCEMENT] #932 Add ability to set variables to the secret-injection annotation. Supported are POD_NAME, POD_NAMESPACE and POD_ORDINAL. Also, changed JSON key from secretName to name
  • [BUGFIX] #914 Don't parse logs by default when Vector telemetry is enabled.
  • [BUGFIX] #916 Deprecate jmxInitContainerImage field.
  • [BUGFIX] #946 Fix medusaClient to fetch the pods from correct namespace
  • [BUGFIX] #940 Vector resource requirements are correctly set to the server-system-logger and also allow override of server-system-logger resource properties from containers.
  • [BUGFIX] #973 ReplicatedSecrets don't get updated when a DC is added in a different namespace but without context
  • [BUGFIX] #969 Inline tags in EmbeddedObjectMeta to work around YAML bug
  • [DOCS] #935 Add and document updated dashboards for the new metrics endpoint
  • [DOCS] #919 Improve the release process documentation.
  • [CHANGE] #601 Add injection annotation to Cassandra and Reaper pods
  • [ENHANCEMENT] #965 Allow for ability to specify containers where webhook will mount secrets

v1.6.1

23 Mar 14:06
Compare
Choose a tag to compare

v1.6.1 - 2023-03-22

  • [BUGFIX] #923 Upgrade cass-operator to v1.15.0 in the helm chart

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