https://github.com/martinrusev/kafka-operator
https://github.com/martinrusev/kafka-operator
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/martinrusev/kafka-operator
- Owner: martinrusev
- License: apache-2.0
- Created: 2021-05-12T19:01:04.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-02T18:39:52.000Z (almost 4 years ago)
- Last Synced: 2025-01-15T10:06:42.115Z (4 months ago)
- Language: Python
- Size: 23.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kafka-operator
## Description
This is the Kafka charm for Kubernetes using the Python Operator Framework.
## Usage
### Deploying
```
$ git clone https://github.com/martinrusev/kafka-operator
$ cd kafka-operator$ sudo snap install charmcraft --beta
$ charmcraft build
Created 'kafka.charm'.$ juju deploy ./kafka.charm --resource kafka-image=bitnami/kafka:2.8.0
```## Developing
Create and activate a virtualenv with the development requirements:
```
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements-dev.txt
```## Testing
The Python operator framework includes a very nice harness for testing
operator behaviour without full deployment. Just `run_tests`:```
./run_tests
```## Roadmap
The Kafka Charm is still a work in progress.