Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kurtosis-tech/redis-package
A Kurtosis Starlark Package that spins up a Redis Cluster
https://github.com/kurtosis-tech/redis-package
kurtosis kurtosis-package
Last synced: about 2 months ago
JSON representation
A Kurtosis Starlark Package that spins up a Redis Cluster
- Host: GitHub
- URL: https://github.com/kurtosis-tech/redis-package
- Owner: kurtosis-tech
- Created: 2023-03-21T10:58:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-08T13:07:24.000Z (2 months ago)
- Last Synced: 2024-07-09T14:16:49.864Z (2 months ago)
- Topics: kurtosis, kurtosis-package
- Language: Starlark
- Homepage:
- Size: 612 KB
- Stars: 1
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Redis Package
![Run of the Redis Package](./run.gif)
This is a [Kurtosis Starlark Package][https://docs.kurtosis.com/starlark-reference/](https://docs.kurtosis.com/starlark-reference)) that allows you to spin up a Redis instance.
### Run
This assumes you have the [Kurtosis CLI](https://docs.kurtosis.com/cli) installed
Simply run
```bash
kurtosis run github.com/kurtosis-tech/redis-package
```### Using this in your own package
Kurtosis Packages can be used within other Kurtosis Packages, through what we call composition internally. Assuming you want to spin up Redis and your own service
together you just need to do the following```py
main_redis_module = import_module("github.com/kurtosis-tech/redis-package/main.star")# main.star of your Cassandra + Service package
def run(plan, args):
plan.print("Spinning up the Redis Package")
# this will spin up Redis and return the output of the Redis package
redis_run_output = main_redis_module.run(plan, args)
```