{"id":13742353,"url":"https://github.com/vgkowski/cassandra-operator","last_synced_at":"2025-05-08T23:33:42.998Z","repository":{"id":153046357,"uuid":"118643581","full_name":"vgkowski/cassandra-operator","owner":"vgkowski","description":"kubernetes operator for cassandra clusters automation","archived":false,"fork":false,"pushed_at":"2018-03-09T07:43:47.000Z","size":48,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-22T13:32:32.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vgkowski.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":"2018-01-23T17:18:54.000Z","updated_at":"2024-08-03T05:01:00.759Z","dependencies_parsed_at":"2023-07-10T02:19:57.222Z","dependency_job_id":null,"html_url":"https://github.com/vgkowski/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/vgkowski%2Fcassandra-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vgkowski%2Fcassandra-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vgkowski%2Fcassandra-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vgkowski%2Fcassandra-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vgkowski","download_url":"https://codeload.github.com/vgkowski/cassandra-operator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253165330,"owners_count":21864421,"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":[],"created_at":"2024-08-03T05:00:30.316Z","updated_at":"2025-05-08T23:33:42.720Z","avatar_url":"https://github.com/vgkowski.png","language":"Go","readme":"# Building the operator\n\nKubernetes version: 1.9\n\nThis operator use the kubernetes code-generator for\n  * clientset: used to manipulate objects defined in the CRD (cassandraCluster)\n  * informers: cache for registering to events on objects defined in the CRD\n  * listers\n  * deep copy\n  \n1. Get dependencies packages in your $GOPATH with `go get k8s.io/kubernetes k8s.io/apimachinery`\n1. Initialize the dependancies with `dep init` in the project root directory\n1. Clone the [code-generator](https://github.com/kubernetes/code-generator) repo in the `vendor/k8s.io` directory.\nBe careful of cloning the branch matching the Kubernetes version\n`git clone -b \u003cbranch\u003e https://github.com/kubernetes/code-generator`\n2. Run the script `vendor/k8s.io/code-generator/generate-groups.sh all github.com/vgkowski/cassandra-operator/pkg/client github.com/vgkowski/cassandra-operator/pkg/apis cassandra:v1` or `hack/update-codegen.sh`\n\n\n# Improvements\n\n* Currently the relationship between native Kubernetes objects and CassandraClusters is done with the name which is equal. \nFor multiple resources of the same type (services for instance) a postfix is added to the name (\"\u003cname\u003e-internode\" for internode service and \"\u003cname\u003e-access\" for access service)\nA better option would be to use the `metadata.ownerReference` but it requires to search and get objects by this reference instead of by name.\nFor indexed objects like Pods or PVCs the search and get is done through the label `CassandraCluster` which contains the name of the cluster\n* Implement proper Cassandra admin logic (current code isn't working)\n\n ","funding_links":[],"categories":["Repository is obsolete"],"sub_categories":["Awesome Operators in the Wild"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvgkowski%2Fcassandra-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvgkowski%2Fcassandra-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvgkowski%2Fcassandra-operator/lists"}