-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a test for Reaper and Stargate deployed in a single cluster with …
…HTTP management proxy enabled on Reaper.
- Loading branch information
1 parent
38e2649
commit 815e2a7
Showing
4 changed files
with
69 additions
and
0 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
58 changes: 58 additions & 0 deletions
58
test/testdata/fixtures/stargate-reaper-http/k8ssandra.yaml
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,58 @@ | ||
apiVersion: k8ssandra.io/v1alpha1 | ||
kind: K8ssandraCluster | ||
metadata: | ||
name: test | ||
spec: | ||
reaper: | ||
httpManagement: | ||
enabled: true | ||
heapSize: 256Mi | ||
autoScheduling: | ||
enabled: false | ||
telemetry: | ||
vector: | ||
enabled: true | ||
resources: | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi | ||
limits: | ||
cpu: 100m | ||
memory: 512Mi | ||
stargate: | ||
size: 1 | ||
heapSize: 384Mi | ||
livenessProbe: | ||
initialDelaySeconds: 60 | ||
periodSeconds: 10 | ||
failureThreshold: 20 | ||
successThreshold: 1 | ||
timeoutSeconds: 20 | ||
readinessProbe: | ||
initialDelaySeconds: 30 | ||
periodSeconds: 10 | ||
failureThreshold: 20 | ||
successThreshold: 1 | ||
timeoutSeconds: 20 | ||
cassandra: | ||
serverVersion: "3.11.14" | ||
jmxInitContainerImage: | ||
repository: library | ||
name: busybox | ||
datacenters: | ||
- metadata: | ||
name: dc1 | ||
k8sContext: kind-k8ssandra-0 | ||
size: 2 | ||
storageConfig: | ||
cassandraDataVolumeClaimSpec: | ||
storageClassName: standard | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: 5Gi | ||
config: | ||
jvmOptions: | ||
heapSize: 384Mi | ||
mgmtAPIHeap: 64Mi |
4 changes: 4 additions & 0 deletions
4
test/testdata/fixtures/stargate-reaper-http/kustomization.yaml
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,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- k8ssandra.yaml |