Skip to content

Latest commit

 

History

History
507 lines (393 loc) · 46.5 KB

CHANGELOG.md

File metadata and controls

507 lines (393 loc) · 46.5 KB

Changelog

Changelog for Cass Operator, new PRs should update the main / unreleased section with entries in the order:

* [CHANGE]
* [FEATURE]
* [ENHANCEMENT]
* [BUGFIX]

unreleased

  • [FEATURE] #651 Add tsreload task for DSE deployments and ability to check if sync operation is available on the mgmt-api side

v1.22.4

  • [BUGFIX] #708 Preserve existing SecurityContext when ReadOnlyRootFilesystem is set

v1.22.3

  • [FEATURE] #701 Allow ReadOnlyRootFilesystem for DSE also with extra mounts to provide support for cass-config-builder setups

v1.22.2

  • [BUGFIX] #703 Fix HCD config path from /etc/cassandra to /opt/hcd/resources/cassandra/conf

v1.22.1

  • [BUGFIX] #687 Prevent a crash when when StorageClassName was not set in the CassandraDataVolumeClaimSpec
  • [CHANGE] #689 Allow k8ssandra.io labels and annotations in services config

v1.22.0

  • [FEATURE] #263 Allow increasing the size of CassandraDataVolumeClaimSpec if the selected StorageClass supports it. This feature is currently behind a opt-in feature flag and requires an annotation cassandra.datastax.com/allow-storage-changes: true to be set in the CassandraDatacenter.
  • [FEATURE] #646 Allow starting multiple parallel pods if they have already previously bootstrapped and not planned for replacement. Set annotation cassandra.datastax.com/allow-parallel-starts: true to enable this feature.
  • [ENHANCEMENT] #648 Make MinReadySeconds configurable value in the Spec.
  • [ENHANCEMENT] #184 Add CassandraDatacenter.Status fields as metrics also
  • [ENHANCEMENT] #199 If .spec.readOnlyRootFilesystem is set, run the cassandra container with readOnlyRootFilesystem. Also, modify the default SecurityContext to mention runAsNonRoot: true
  • [ENHANCEMENT] #595 Update Vector to 0.39.0 and enforce the TOML file format in the starting command
  • [BUGFIX] #681 Remove nodes rights from the operator as it is not required

v1.21.1

  • [BUGFIX] #665 The RequiresUpdate and ObservedGenerations were updated too often, even when the reconcile was not finished.

v1.21.0

  • [FEATURE] #659 Add support for HCD serverType with versions 1.x.x. It will be deployed like Cassandra >= 4.1 for now.
  • [FEATURE] #660 Add support for DSE version 6.9.x and remove support for DSE 7.x.x. DSE 6.9 will be deployed like DSE 6.8.
  • [ENHANCEMENT] #663 Update k8ssandra-client for better Cassandra 5.0 config support
  • [BUGFIX] #652 Update nodeStatuses info when a pod is recreated
  • [BUGFIX] #656 After canary upgrade, it was not possible to continue upgrading rest of the nodes if the only change was removing the canary upgrade
  • [BUGFIX] #657 If a change did not result in StatefulSet changes, a Ready -> Ready state would lose an ObservedGeneration update in the status
  • [BUGFIX] #382 If StatefulSet has not caught up yet, do not allow any changes to it. Instead, requeue and wait (does not change behavior of forceRacksUpgrade)

v1.20.0

  • [CHANGE] #566 BREAKING: StatefulSets will no longer be automatically updated if CassandraDatacenter is not modified, unless an annotation "cassandra.datastax.com/autoupdate-spec" is set to the CassandraDatacenter with value "always" or "once". This means users of config secret should set this variable to "always" to keep their existing behavior. For other users, this means that for example the upgrades of operator will no longer automatically apply updated settings or system-logger image. The benefit is that updating the operator no longer causes the cluster to have a rolling restart. A new condition to indicate such change could be necessary is called "RequiresUpdate" and it will be set to True until the next refresh of reconcile has happened.
  • [CHANGE] #618 Update dependencies to support controller-runtime 0.17.2, modify required parts.
  • [CHANGE] #575 Allow modification of PodTemplateSpec.ObjectMeta.Labels (it will cause a rolling restart as StatefulSet controller can't apply them without a restart)
  • [ENHANCEMENT] #628 Replace pod task can replace any node, including those that have crashed
  • [ENHANCEMENT] #532 Instead of rejecting updates/creates with deprecated fields, return kubectl warnings.
  • [ENHANCEMENT] #637 Expand nodeStatuses to include IPs and racks.
  • [BUGFIX] #639 Remove InvalidState check, there's no need to block reconcile here. Keep the InvalidState as information for the user only.

v1.19.1

  • [BUGFIX] #622 Fix sanitization of DC label
  • [BUGFIX] #626 If multiple datacenters are present in the same namespace, the seed-service ownership is constantly updated between these two resources

v1.19.0

  • [FEATURE] #601 Add additionalAnnotations field to CR so that all resources created by the operator can be annotated.
  • [BUGFIX] #607 Add missing additional labels and annotations to the superuserSecret.
  • [BUGFIX] #612 Improve error message handling in the task jobs by retaining the message that previously failed pod has generated

v1.18.2

  • [BUGFIX] #593 Update k8ssandra-client to 0.2.2 to fix the issue with clusterName config generation when using 4.1

v1.18.1

v1.18.0

  • [CHANGE] #479 Set the default deployed DSE image to use our newer management-api by changing the repository to datastax/dse-mgmtapi-6_8
  • [CHANGE] #573 Add the namespace as env variable in the server-system-logger container to label metrics with.
  • [ENHANCEMENT] #580 Add garbageCollect CassandraTask that removes deleted data
  • [ENHANCEMENT] #578 Add flush CassandraTask that flushed memtables to the disk
  • [ENHANCEMENT] #586 Add scrub CassandraTask that allows rebuilding SSTables
  • [ENHANCEMENT] #582 Add compaction CassandraTask to force a compaction
  • [BUGFIX] #585 If task validation fails, stop processing the task and mark the validation error to Failed condition

v1.17.2

  • [ENHANCEMENT] #571 Ensure both "server-config-init" as well as "server-config-init-base" are always created in the initContainers if 4.1.x is used.

v1.17.1

  • [CHANGE] #541 Revert when deployed through OLM, add serviceAccount to Cassandra pods that use nonroot priviledge. This is no longer necessary with 1.17.0 and up.

v1.17.0

  • [CHANGE] #565 Replace the use of wget with curl when making Kubernetes -> management-api HTTP(S) calls
  • [CHANGE] #553 dockerImageRunsAsCassandra is no longer used for anything as that's the default for current images. Use SecurityContext to override default SecurityContext (999:999)
  • [ENHANCEMENT] #554 Add new empty directory as mount to server-system-logger (/var/lib/vector) so it works with multiple securityContexes
  • [ENHANCEMENT] #512 Configs are now built using the newer k8ssandra-client config build command instead of the older cass-config-builder. This provides support for Cassandra 4.1.x config properties and to newer.
  • [ENHANCEMENT] #184 Implement metrics to indicate the status of the Datacenter pods. Experimental, these metric names and values could be changed in the future versions.

v1.16.0

  • [CHANGE] #542 Support 7.x.x version numbers for DSE and 5.x.x for Cassandra
  • [CHANGE] #531 Update to Kubebuilder gov4-alpha layout structure
  • [ENHANCEMENT] #523 Spec.ServiceAccountName is introduced as replacements to Spec.ServiceAccount (to account for naming changes in Kubernetes itself), also PodTemplateSpec.Spec.ServiceAccountName is supported. Precendence order is: Spec.ServiceAccountName > Spec.ServiceAccount > PodTemplateSpec.
  • [ENHANCEMENT] #541 When deployed through OLM, add serviceAccount to Cassandra pods that use nonroot priviledge
  • [CHANGE] #516 Modify sidecar default CPU and memory limits.
  • [CHANGE] #495 Remove all the VMware PSP specific code from the codebase. This has been inoperational since 1.8.0
  • [CHANGE] #494 Remove deprecated generated clientsets.

v1.10.6

  • [CHANGE] #496 ScalingUp is no longer tied to the lifecycle of the cleanup job. The cleanup job is created after the ScaleUp has finished, but to track its progress one should check the status of the CassandraTask and not the CassandraDatacenter's status. Also, added a new annotation to the Datacenter "cassandra.datastax.com/no-cleanup", which if set prevents from the creation of the CassandraTask.
  • [ENHANCEMENT] #500 Allow the /start command to run for a longer period of time (up to 10 minutes), before killing the pod if no response is received. This is intermediate solution until we can correctly detect from the pod that the start is not proceeding correctly.
  • [BUGFIX] #444 Update cass-config-builder to 1.0.5.
  • [BUGFIX] #415 Fix version override + imageRegistry issue where output would be invalid
  • [BUGFIX] #437 Ignore cluster healthy check on Datacenter decommission. Rest of #437 fix is not applied since this version does not have that bug.
  • [BUGFIX] #404 Filter unallowed values from the rackname when used in Kubernetes resources
  • [BUGFIX] #455 After task had completed, the running state would still say true

v1.15.0

  • [CHANGE] #501 Replaced server-system-logger with a Vector based implementation. Also, examples are added how the Cassandra system.log can be parsed to a more structured format.
  • [CHANGE] #496 ScalingUp is no longer tied to the lifecycle of the cleanup job. The cleanup job is created after the ScaleUp has finished, but to track its progress one should check the status of the CassandraTask and not the CassandraDatacenter's status. Also, added a new annotation to the Datacenter "cassandra.datastax.com/no-cleanup", which if set prevents from the creation of the CassandraTask.
  • [ENHANCEMENT] #500 Allow the /start command to run for a longer period of time (up to 10 minutes), before killing the pod if no response is received. This is intermediate solution until we can correctly detect from the pod that the start is not proceeding correctly.
  • [BUGFIX] #481 If CDC was enabled, disabling MCAC (old metric collector) was not possible

v1.14.0

  • [CHANGE] #457 Extract task execution attributes into CassandraTaskTemplate
  • [CHANGE] #447 Update Github actions to remove all deprecated features (set-outputs, node v12 actions)
  • [CHANGE] #448 Update to operator-sdk 1.25.1, update to go 1.19, update to Kubernetes 1.25, remove amd64 restriction on local builds (cass-operator and system-logger will be built for aarch64 also)
  • [CHANGE] #442 Deprecate old internode-encryption storage mounts and cert generation. If old path /etc/encryption/node.jks is no longer present, then the storage mount is no longer created. For certificates with internode-encryption, we recommend using cert-manager.
  • [CHANGE] #329 Thrift port is no longer open for Cassandra 4.x installations
  • [CHANGE] #487 The AdditionalVolumes.PVCSpec is now a pointer. Also, webhook will allow modifying AdditionalVolumes.
  • [FEATURE] #441 Implement a CassandraTask for moving single-token nodes
  • [ENHANCEMENT] #486 AdditionalVolumes accepts VolumeSource as the data also, allowing ConfigMap/Secret/etc to be mounted to cassandra container.
  • [ENHANCEMENT] #467 Add new metrics endpoint port (9000) to Cassandra container. This is used by the new mgmt-api /metrics endpoint.
  • [ENHANCEMENT] #457 Allow overriding the datacenter name
  • [ENHANCEMENT] #476 Enable CDC for DSE deployments.
  • [ENHANCEMENT] #472 Add POD_NAME and NODE_NAME env variables that match metadata.name and spec.nodeName information
  • [ENHANCEMENT] #315 PodTemplateSpec allows setting Affinities, which are merged with the current rules. PodAntiAffinity behavior has changed, if allowMultipleWorkers is set to true the PodTemplateSpec antiAffinity rules are copied as is, otherwise merged with current restrictions. Prevent usage of deprecated rack.Zone (use topology.kubernetes.io/zone label instead), but allow removal of Zone.
  • [BUGFIX] #410 Fix installation in IPv6 only environment
  • [BUGFIX] #455 After task had completed, the running state would still say true
  • [BUGFIX] #488 Expose the new metrics port in services

v1.13.1

  • [CHANGE] #291 Update Ginkgo to v2 (maintain current features, nothing additional from v2)
  • [BUGFIX] #431 Fix a bug where the restartTask would not provide success counts for restarted pods.
  • [BUGFIX] #444 Update cass-config-builder to 1.0.5. Update the target tag of cass-config-builder to :1.0 to allow future updates in 1.0.x without rolling restarts.
  • [BUGFIX] #437 Fix startOneNodeRack to not loop forever in case of StS with size 0 (such as decommission of DC)
  • [CHANGE] #442 Do not mount encryption-cred-storage or create internode CAs if not needed. Recommended approach is to use cert-manager instead of this old legacy method.

v1.13.0

  • [CHANGE] #395 Make CassandraTask job arguments strongly typed
  • [CHANGE] #354 Remove oldDefunctLabel support since we recreate StS. Fix #335 created-by value to match expected value.
  • [CHANGE] #385 Deprecate CassandraDatacenter's RollingRestartRequested. Use CassandraTask instead.
  • [CHANGE] #397 Remove direct dependency to k8s.io/kubernetes
  • [FEATURE] #384 Add a new CassandraTask operation "replacenode" that removes the existing PVCs from the pod, deletes the pod and starts a replacement process.
  • [FEATURE] #387 Add a new CassandraTask operation "upgradesstables" that allows to do SSTable upgrades after Cassandra version upgrade.
  • [ENHANCEMENT] #385 Add rolling restart as a CassandraTask action.
  • [ENHANCEMENT] #398 Update to go1.18 builds, update to use Kubernetes 1.24 envtest + dependencies, operator-sdk 1.23, controller-gen 0.9.2, Kustomize 4.5.7, controller-runtime 0.12.2
  • [ENHANCEMENT] #383 Add UpgradeSSTables, Compaction and Scrub to management-api client. Improve CassandraTasks to have the ability to validate input parameters, filter target pods and do processing outside of pods.
  • [ENHANCEMENT] #381 Make bootstrap operations deterministic.
  • [ENHANCEMENT] #417 Allow loading imageConfig from byte array
  • [BUGFIX] #327 Replace node done through CassandraTask can replace a node that's stuck in the Starting state.
  • [BUGFIX] #404 Filter unallowed values from the rackname when used in Kubernetes resources
  • [BUGFIX] #415 Fix version override + imageRegistry issue where output would be invalid

v1.12.0

  • [CHANGE] #370 If Cassandra start call fails, delete the pod
  • [ENHANCEMENT] #366 If no finalizer is present, do not process the deletion. To prevent cass-operator from re-adding the finalizer, add an annotation no-finalizer that prevents the re-adding.
  • [ENHANCEMENT] #360 If Datacenter quorum reports unhealthy state, change Status Condition DatacenterHealthy to False (DBPE-2283)
  • [ENHANCEMENT] #317 Add ability for users to define CDC settings which will cause an agent to start within the Cassandra JVM and pass mutation events from Cassandra back to a Pulsar broker. (Tested on OSS Cassandra 4.x only.)
  • [ENHANCEMENT] #369 Add configurable timeout for liveness / readiness and drain when mutual auth is used and a default timeout for all wget execs (required with mutual auth)
  • [BUGFIX] #335 Cleanse label values derived from cluster name, which can contain illegal chars. Include app.kubernetes.io/created-by label.
  • [BUGFIX] #330 Apply correct updates to Service labels and annotations through additionalServiceConfig (they are now validated and don't allow reserved prefixes).
  • [BUGFIX] #368 Do not fetch endpointStatus from pods that have not started
  • [BUGFIX] #364 Do not log any errors if we fail to get endpoint states from nodes.

v1.10.5

  • [CHANGE] #370 If Cassandra start call fails, delete the pod
  • [ENHANCEMENT] #360 If Datacenter quorum reports unhealthy state, change Status Condition DatacenterHealthy to False (DBPE-2283)
  • [BUGFIX] #377 Add timeout to all calls made with wget (mutual-auth)
  • [BUGFIX] #355 Cleanse label values derived from cluster name, which can contain illegal chars.
  • [BUGFIX] #330 Apply correct updates to Service labels and annotations through additionalServiceConfig (they are now validated and don't allow reserved prefixes).
  • [BUGFIX] #368 Do not fetch endpointStatus from pods that have not started
  • [BUGFIX] #364 Do not log any errors if we fail to get endpoint states from nodes.

v1.11.0

  • [CHANGE] #183 Move from PodDisruptionBudget v1beta1 to v1 (changes min. required Kubernetes version to 1.21)
  • [ENHANCEMENT] #325 Enable static checking (golangci-lint) in the repository and fix all the found issues.
  • [ENHANCEMENT] #292 Update to Go 1.17 with updates to dependencies: Kube 1.23.4 and controller-runtime 0.11.1

v1.10.4

  • [CHANGE] #264 Generate PodTemplateSpec in CassandraDatacenter with metadata
  • [BUGFIX] #313 Remove Cassandra 4.0.x regexp restriction, allow 4.x.x
  • [BUGFIX] #322 Add missing requeue if decommissioned pods haven't been removed yet
  • [BUGFIX] #315 Validate podnames in the ReplaceNodes before moving them to NodeReplacements

v1.10.3

  • [FEATURE] #309 If StatefulSets are modified in a way that they can't be updated directly, recreate them with new specs
  • [ENHANCEMENT] #312 Integration tests now output CassandraDatacenter and CassandraTask CRD outputs to build directory
  • [BUGFIX] #298 EndpointState has incorrect json key
  • [BUGFIX] #304 Hostname lookups on Cassandra pods fail
  • [BUGFIX] #311 Fix cleanup retry reconcile bug

v1.10.2

Bundle tag only, no changes.

v1.10.1

  • [BUGFIX] #278 ImageRegistry json key was incorrect in the definition type. Fixed from "imageRegistryOverride" to "imageRegistry"

v1.10.0

  • [CHANGE] #271 Admission webhook's FailPolicy is set to Fail instead of Ignored
  • [FEATURE] #243 Task scheduler support to allow creating tasks that run for each pod in the cluster. The tasks have their own reconciliation process and lifecycle distinct from CassandraDatacenter as well as their own API package.
  • [ENHANCEMENT] #235 Adding AdditionalLabels to add on all resources managed by the operator
  • [ENHANCEMENT] #244 Add ability to skip Cassandra user creation
  • [ENHANCEMENT] #257 Add management-api client method to list schema versions
  • [ENHANCEMENT] #125 On delete, allow decommission of the datacenter if running in multi-datacenter cluster and cassandra.datastax.com/decommission-on-delete annotation is set on the CassandraDatacenter
  • [BUGFIX] #272 Strip password (if it has one) from CreateRole
  • [BUGFIX] #254 Safely set annotation on datacenter in config secret
  • [BUGFIX] #261 State of decommission can't be detected correctly if the RPC address is removed from endpoint state during decommission, but before it's finalized.

v1.9.0

  • [CHANGE] #202 Support fetching FeatureSet from management-api if available. Return RequestError with StatusCode when endpoint has bad status.
  • [CHANGE] #213 Integration tests in Github Actions are now reusable across different workflows
  • [CHANGE] Prevent instant requeues, every requeue must wait at least 500ms.
  • [FEATURE] #193 Add new Management API endpoints to HTTP Helper: GetKeyspaceReplication, ListTables, CreateTable
  • [FEATURE] #175 Add FQL reconciliation via parseFQLFromConfig and SetFullQueryLogging called from ReconcileAllRacks. CallIsFullQueryLogEnabledEndpoint and CallSetFullQueryLog functions to httphelper.
  • [FEATURE] #233 Allow overriding default Cassandra and DSE repositories and give versions a default suffix
  • [ENHANCEMENT] #185 Add more app.kubernetes.io labels to all the managed resources
  • [ENHANCEMENT] #233 Simplify rebuilding the UBI images if vulnerability is found in the base images
  • [ENHANCEMENT] #221 Improve bundle creation to be compatible with Red Hat's certified bundle rules
  • [BUGFIX] #185 introduced a regression which caused labels to be updated in StatefulSet when updating a version. Keep the original as these are not allowed to be modified.
  • [BUGFIX] #222 There were still occasions where clusterName was not an allowed value, cleaning them before creating StatefulSet
  • [BUGFIX] #186 Run cleanups in the background once per pod and poll its state instead of looping endlessly

v1.8.0

  • [CHANGE] #178 If clusterName includes characters not allowed in the serviceName, strip those chars from service name.
  • [CHANGE] #108 Integrate Fossa component/license scanning
  • [CHANGE] #120 Removed Helm charts, use k8ssandra helm charts instead
  • [CHANGE] #120 Deployment model is now Kustomize in cass-operator
  • [CHANGE] #120 and #148 Package placements have been modified
  • [CHANGE] #148 Project uses kubebuilder multigroup structure
  • [CHANGE] #120 Mage has been removed and replaced with Makefile
  • [CHANGE] #120 Webhook TLS certs require new deployment model (such as with cert-manager)
  • [CHANGE] #145 SKIP_VALIDATING_WEBHOOK env variable is replaced with configuration in OperatorConfig
  • [CHANGE] #161 Additional seeds service is always created, even if no additional seeds in the spec is defined
  • [CHANGE] #163 If additional-seeds-service includes an IP address with targetRef, do not remove it
  • [ENHANCEMENT] #173 Add ListKeyspace function to httphelper
  • [ENHANCEMENT] #120 Update operator-sdk and modify the project to use newer kubebuilder v3 structure instead of v1
  • [ENHANCEMENT] #145 Operaator can be configured with configuration objects from ConfigMap
  • [ENHANCEMENT] #146 system-logger and cass-operator base is now UBI8-micro
  • [ENHANCEMENT] #180 Add Kustomize components to improve installation experience and customization options
  • [BUGFIX] #162 Affinity labels defined at rack-level should have precedence over DC-level ones
  • [BUGFIX] #120 Fix ResourceVersion conflict in CheckRackPodTemplate
  • [BUGFIX] #141 #110 Force update of HostId after pod replace process to avoid stale HostId
  • [BUGFIX] #139 Bundle creation had some bugs after #120
  • [BUGFIX] #134 Fix cluster-wide-installation to happen with Kustomize also, from config/cluster

v1.7.1

  • [BUGFIX] #103 Fix upgrade of StatefulSet, do not change service name

v1.7.0

  • [CHANGE] #1 Repository move
  • [CHANGE] #19 Remove internode_encryption_test
  • [CHANGE] #12 Remove Reaper sidecar integration
  • [CHANGE] #8 Reduce dependencies of apis/CassandraDatacenter
  • [FEATURE] #14 Override PodSecurityContext
  • [FEATURE] #18 Allow DNS lookup by pod name
  • [FEATURE] #27 Upgrade to Cassandra 4.0-RC1
  • [FEATURE] #293 Add custom labels and annotations for services (see datastax/cass-operator#293)
  • [FEATURE] #232 Use hostnames and DNS lookups for AdditionalSeeds (see datastax/cass-operator#293)
  • [FEATURE] #28 Make tolerations configurable
  • [FEATURE] #13 Provide server configuration with a secret
  • [ENHANCEMENT] #7 Add CreateKeyspace and AlterKeyspace functions to httphelper
  • [ENHANCEMENT] #20 Include max_direct_memory in examples
  • [ENHANCEMENT] #16 Only build images once during integration tests
  • [ENHANCEMENT] #1 Replace system-logger with a custom built image, enabling faster shutdown

v1.6.0

Features:

  • Upgrade to Go 1.14 #347
  • Add support for specifying additional PersistentVolumeClaims #327
  • Add support for specify rack labels #292

Bug fixes:

  • Retry decommission to prevent cluster from getting stuck in decommission state #356
  • Set explicit tag for busybox image #339
  • Incorrect volume mounts are created when adding an init container with volume mounts #309

Docs/tests:

v1.5.1

Bug fixes:

  • Fixed reconciling logic in VMware k8s environments #361 #342
  • Retry decommission if worker nodes are too slow to start it #356

v1.5.0

Features:

  • Allow configuration of the system.log tail-er #311
  • Update Kubernetes support to cover 1.15 to 1.19 #296 #304
  • Specify more named ports for advanced workloads, and additional ports for ClusterIP service #289 #291
  • Support WATCH_NAMESPACE=* to watch all namespaces #286
  • Support arbitrary Cassandra and DSE versions, using a regex for validation #271
  • Support running cassandra as a non-root cassandra user #275
  • Always gracefully drain Cassandra nodes before pod termination, and make terminationGracePeriodSeconds configurable #269
  • Add canaryUpgradeCount to support canary upgrade of a single node #258
  • Support merging all user customizations into the Cassandra podTemplateSpec #263
  • DSE 6.8.4 support #257
  • Add arm64 support #238
  • Support safely scaling down a datacenter, decommissioning Cassandra nodes #242 #265
  • Add support to override the default registry for all container images #228
  • Better helm chart support for branch / master builds on private Docker registries #236
  • Support for specific reconciliation logic in VMware k8s environments #204 #206 #203 #224 #259 #288

Bug fixes:

  • Increase default init container CPU for better startup performance #261
  • Re-enable the most common quiet period #253
  • Added label to all-pods service to narrow metrics scrape selection #277

Docs/tests:

  • Add test for infinite reconcile #220
  • Added keys from datastax/charts and updated README #221
  • Support integration tests with k3d v3 #248
  • Default to KIND for integration tests #252
  • Run oss/dse integration smoke tests in github workflow #267

v1.4.1

Features:

  • Use Cassandra 4.0-beta1 image #237
  • Update to cass-config-builder 1.0.3 #235
  • DSE 6.8.3 support #233

Bug fixes:

  • Fix for enabling DSE advanced workloads #230

v1.4.0

Features:

  • Cassandra 3.11.7 support #209
  • DSE 6.8.2 support #207
  • Configurable resource requests and limits for init and system-logger containers. #184
  • Add quietPeriod and observedGeneration to the status #190
  • Update config builder init container to 1.0.2 #193
  • Host network support #186
  • Helm chart option for cluster-scoped install #182
  • Create JKS for internode encryption #156
  • Headless ClusterIP service for additional seeds #175
  • Operator managed NodePort service #177
  • Experimental ability to run DSE advanced workloads #158
  • More validation logic in the webhook #165

Bug fixes:

  • Fix watching CassDC to not trigger on status update #212
  • Enumerate more container ports #200
  • Resuming a stopped CassDC should not use the ScalingUp condition #198
  • Idiomatic usage of the term "internode" #197
  • First-seed-in-the-DC logic should respect additionalSeeds #180
  • Use the additional seeds service in the config #189
  • Fix operator so it can watch multiple or all namespaces #173

Docs/tests:

  • Encryption documentation #196
  • Fix link to sample-cluster-sample-dc.yaml #191
  • Kong Ingress Documentation #160
  • Adding AKS storage example #164
  • Added ingress documentation and sample client application to docs #140

v1.3.0

  • Add DSE 6.8.1 support, and update to config-builder 1.0.1 #139
  • Experimental support for Cassandra Reaper running in sidecar mode #116
  • Support using RedHat universal base image containers #95
  • Provide an easy way to specify additional seeds in the CRD #136
  • Unblocking Kubernetes 1.18 support #132
  • Bump version of Management API sidecar to 0.1.5 #129
  • No need to always set LastRollingRestart status #124
  • Set controller reference after updating StatefulSets, makes sure StatefulSets are cleaned up on delete #121
  • Use the PodIP for Management API calls #112
  • Watch secrets to trigger reconciling user and password updates #109
  • Remove NodeIP from status #96
  • Add ability to specify additional Cassandra users in CassandraDatacenter #94
  • Improve validation for webhook configuration #103

v1.2.0

  • Support for several k8s versions in the helm chart #97
  • Ability to roll back a broken upgrade / configuration change #85
  • Mount root as read-only and temp dir as memory emptyvol #86
  • Fix managed-by label #84
  • Add sequence diagrams #90
  • Add PodTemplateSpec in CassDC CRD spec, which allows defining a base pod template spec #67
  • Support testing with k3d #79
  • Add logging of all events for more reliable retrieval #76
  • Update to Operator SDK v0.17.0 #78
  • Update Cassandra images to include metric-collector-for-apache-cassandra (MCAC) #81
  • Run data cleanup after scaling up a datacenter #80
  • Requeue after the last node has its node-state label set to Started during cluster creation #77
  • Remove delete verb from validating webhook #75
  • Add conditions to CassandraDatacenter status #50
  • Better support and safeguards for adding racks to a datacenter #59

v1.1.0

  • #27 Added a helm chart to ease installing.
  • #23 #37 #46 Added a validating webhook for CassandraDatacenter.
  • #43 Emit more events when reconciling a CassandraDatacenter.
  • #47 Support nodeSelector to pin database pods to labelled k8s worker nodes.
  • #22 Refactor towards less code listing pods.
  • Several integration tests added.

v1.0.0

  • Project renamed to cass-operator.
  • KO-281 Node replace added.
  • KO-310 The operator will work to revive nodes that fail readiness for over 10 minutes by deleting pods.
  • KO-317 Rolling restart added.
  • K0-83 Stop the cluster more gracefully.
  • KO-329 API version bump to v1beta1.

v0.9.0

  • KO-146 Create a secret for superuser creation if one is not provided.
  • KO-288 The operator can provision Cassandra clusters using images from https://github.com/datastax/management-api-for-apache-cassandra and the primary CRD the operator works on is a v1alpha2 cassandra.datastax.com/CassandraDatacenter
  • KO-210 Certain CassandraDatacenter inputs were not rolled out to pods during rolling upgrades of the cluster. The new process considers everything in the statefulset pod template.
  • KO-276 Greatly improved integration tests on real KIND / GKE Kubernetes clusters using Ginkgo.
  • KO-223 Watch fewer Kubernetes resources.
  • KO-232 Following best practices for assigning seed nodes during cluster start.
  • KO-92 Added a container that tails the system log.

v0.4.1

  • KO-190 Fix bug introduced in v0.4.0 that prevented scaling up or deleting datacenters.
  • KO-177 Create a headless service that includes pods that are not ready. While this is not useful for routing CQL traffic, it can be helpful for monitoring infrastructure like Prometheus that would like to attempt to collect metrics from pods even if they are unhealthy, and which can tolerate connection failure.

v0.4.0

  • KO-97 Faster cluster deployments
  • KO-123 Custom CQL super user. Clusters can now be provisioned without the publicly known super user cassandra and publicly known default password cassandra.
  • KO-42 Preliminary support for DSE upgrades
  • KO-87 Preliminary support for two-way SSL authentication to the DSE management API. At this time, the operator does not automatically create certificates.
  • KO-116 Fix pod disruption budget calculation. It was incorrectly calculated per-rack instead of per-datacenter.
  • KO-129 Provide allowMultipleNodesPerWorker parameter to enable testing on small k8s clusters.
  • KO-136 Rework how DSE images and versions are specified.

v0.3.0

  • Initial labs release.