-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recreate StatefulSet if required for updates to StS (#309)
* Another try * Update upgrade_operator to 3 nodes, 3 racks and modify some timeouts in tests to avoid flakiness * Dump CassandraDatacenter and CassandraTask yaml to the build output also, Fixes #312 * Fix Completed() requeue logic in the cleanup task creation, modify scale_up test logic to ensure ScalingUp is set to False. Fixes #311 * Add missing CHANGELOG * Decrease config_change to 2 -> 4 nodes setup with 2 racks instead of 3 -> 6 * Ignore get -o errors, operator_upgrade 1.8.0 has no CassandraTask * Remove commented out lines * Increase timeouts in the tests to avoid flakiness. It seems increasing node count in certain tests caused the first check to pass while the cluster was not really ready and this caused the test to fail. Also, the kubectl outputs to the build directory missed the namespace * Modify config_change to use 1 rack for the testing * config_change cluster and dcName to variables * Missing dcName substitution
- Loading branch information
Showing
10 changed files
with
154 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
apiVersion: cassandra.datastax.com/v1beta1 | ||
kind: CassandraDatacenter | ||
metadata: | ||
name: dc1 | ||
spec: | ||
clusterName: cluster1 | ||
serverType: cassandra | ||
serverVersion: "4.0.3" | ||
managementApiAuth: | ||
insecure: {} | ||
size: 2 | ||
storageConfig: | ||
cassandraDataVolumeClaimSpec: | ||
storageClassName: standard | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 1Gi | ||
racks: | ||
- name: r1 | ||
- name: r2 | ||
config: | ||
jvm-server-options: | ||
initial_heap_size: "512m" | ||
max_heap_size: "512m" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.