-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #143 from AKamyshnikova/fix-nodetool
Fix nodetool execution
- Loading branch information
Showing
4 changed files
with
46 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
apiVersion: apps/v1 | ||
kind: StatefulSet | ||
metadata: | ||
name: cassandra-e2e-dc1-rack1 | ||
status: | ||
currentReplicas: 2 | ||
replicas: 2 | ||
--- | ||
apiVersion: db.orange.com/v2 | ||
kind: CassandraCluster | ||
metadata: | ||
name: cassandra-e2e | ||
status: | ||
cassandraRackStatus: | ||
dc1-rack1: | ||
cassandraLastAction: | ||
name: Initializing | ||
status: Done | ||
phase: Running | ||
lastClusterAction: Initializing | ||
lastClusterActionStatus: Done | ||
phase: Running |
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,17 @@ | ||
apiVersion: db.orange.com/v2 | ||
kind: CassandraCluster | ||
metadata: | ||
name: cassandra-e2e | ||
spec: | ||
nodesPerRacks: 2 | ||
cassandraImage: cassandra:3.11.9 | ||
autoPilot: true | ||
resources: | ||
limits: | ||
cpu: 300m | ||
memory: 512Mi | ||
topology: | ||
dc: | ||
- name: dc1 | ||
rack: | ||
- name: rack1 |
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,6 @@ | ||
--- | ||
apiVersion: kuttl.dev/v1beta1 | ||
kind: TestStep | ||
commands: | ||
# Run nodetool status | ||
- script: kubectl exec cassandra-e2e-dc1-rack1-0 -- nodetool status |