{"id":20390058,"url":"https://github.com/martinrusev/cassandra-operator","last_synced_at":"2026-06-06T17:33:13.152Z","repository":{"id":66911158,"uuid":"352694787","full_name":"martinrusev/cassandra-operator","owner":"martinrusev","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-11T17:48:18.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-15T10:06:38.125Z","etag":null,"topics":["charm","juju"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/martinrusev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-29T15:36:45.000Z","updated_at":"2021-04-11T17:48:20.000Z","dependencies_parsed_at":"2023-05-20T07:00:23.441Z","dependency_job_id":null,"html_url":"https://github.com/martinrusev/cassandra-operator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinrusev%2Fcassandra-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinrusev%2Fcassandra-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinrusev%2Fcassandra-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinrusev%2Fcassandra-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martinrusev","download_url":"https://codeload.github.com/martinrusev/cassandra-operator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241940580,"owners_count":20045883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["charm","juju"],"created_at":"2024-11-15T03:22:05.606Z","updated_at":"2026-06-06T17:33:13.086Z","avatar_url":"https://github.com/martinrusev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cassandra-operator\n\n## Description\n\nThis is the Cassandra charm for Kubernetes using the Python Operator Framework.\n\n## Usage\n\n\n### Deploying\n\n```\n$ git clone https://github.com/martinrusev/cassandra-operator\n$ cd cassandra-operator\n\n$ sudo snap install charmcraft --beta\n$ charmcraft build\nCreated 'cassandra.charm'.\n\n\n$ juju deploy ./cassandra.charm --resource cassandra-image=cassandra:3.11.10\n\n$ juju status\nModel    Controller  Cloud/Region        Version  SLA          Timestamp\ncassandra  pebble      microk8s/localhost  2.9-rc7  unsupported  16:36:06+01:00\n\nApp      Version  Status  Scale  Charm      Store  Channel  Rev  OS      Address  Message\ncassandra         active      1  cassandra  local             1  ubuntu           cassandra started\n\nUnit        Workload  Agent  Address       Ports  Message\ncassandra/0*  active    idle   10.1.243.208         cassandra started\n```\n\nTo access Cassandra, download `cqlsh` from https://downloads.datastax.com/#cqlsh\n\nCreate a config file that includes the connection details:\n\n```\n$ touch config\n\n# config\n[connection]\nhostname = 10.1.243.208\nport = 9042\n```\n\nAccess the cluster with:\n\n```\n$ cqlsh-astra/bin ❯ ./cqlsh --cqlshrc config                                                                                                                                                                      12m 37s \nConnected to charm-cluster at 10.1.243.223:9042.\n[cqlsh 6.8.0 | Cassandra 3.11.10 | CQL spec 3.4.4 | Native protocol v4]\nUse HELP for help.\ncqlsh\u003e\n```\n\n\n## Developing\n\nCreate and activate a virtualenv with the development requirements:\n\n```\nvirtualenv -p python3 venv\nsource venv/bin/activate\npip install -r requirements-dev.txt\n```\n\n## Testing\n\nThe Python operator framework includes a very nice harness for testing\noperator behaviour without full deployment. Just `run_tests`:\n\n```\n./run_tests\n```\n\n\n## Roadmap\n\nThe Cassandra Charm is still a work in progress.\n\nHere are some of the things coming soon:\n\n  - [ ] Multi-node support\n  - [ ] Multi-node configuration options\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinrusev%2Fcassandra-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinrusev%2Fcassandra-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinrusev%2Fcassandra-operator/lists"}