Skip to content

Commit

Permalink
Merge pull request #1560 from tnozicka/demo
Browse files Browse the repository at this point in the history
Add Scylla Operator demo
  • Loading branch information
scylla-operator-bot[bot] authored Nov 29, 2023
2 parents 905a62a + f3b850f commit 03554fd
Show file tree
Hide file tree
Showing 5 changed files with 9,444 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.cast binary
25 changes: 25 additions & 0 deletions recordings/basic-setup/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
all: run

script=./run.sh
OUTPUT?=./run.cast

run-fast:
$(strip CUSTOM_PS1_SLEEP_SEC=0 CUSTOM_CHAR_SLEEP_SEC=0 CUSTOM_ECHO_SLEEP_SEC=0 CUSTOM_ECHO_MIN_SLEEP_SEC=0 CUSTOM_COMMAND_SLEEP_SEC=0 SKIP_MANUAL_SLEEPS="true" \
./run.sh)
.PHONY: run-fast

run-fast-local: export SCYLLA_OPERATOR_REPO:=../../.
run-fast-local: run-fast
.PHONY: run-fast-local

run:
./run.sh
.PHONY: run

run-local: export SCYLLA_OPERATOR_REPO:=../../.
run-local: run
.PHONY: run-local

record:
asciinema rec --idle-time-limit=5 --rows=25 --cols=100 --overwrite --command "$(script)" "$(OUTPUT)"
.PHONY: record
7 changes: 7 additions & 0 deletions recordings/basic-setup/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Basic setup demo

This demo shows how you can deploy Scylla Operator with all the related components from scratch and walks over the basic concepts like ScyllaClusters, rolling updates or monitoring.

## Requirements

Have a Kubernetes cluster with at least one local NVMe, or adjust the NodeConfig accordingly. This has been tested to run on GKE with 1 local NVMe and libvirt with local NVMe.
Loading

0 comments on commit 03554fd

Please sign in to comment.