{"id":18892395,"url":"https://github.com/hf/kubriak-kv","last_synced_at":"2025-04-14T23:31:31.043Z","repository":{"id":143824621,"uuid":"94258213","full_name":"hf/kubriak-kv","owner":"hf","description":"Riak KV on Kubernetes.","archived":false,"fork":false,"pushed_at":"2017-06-25T14:14:19.000Z","size":19,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-28T12:04:32.251Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hf.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":"2017-06-13T21:09:58.000Z","updated_at":"2023-03-14T14:50:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"451a4799-252e-4c31-867c-710a1cb1775f","html_url":"https://github.com/hf/kubriak-kv","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/hf%2Fkubriak-kv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hf%2Fkubriak-kv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hf%2Fkubriak-kv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hf%2Fkubriak-kv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hf","download_url":"https://codeload.github.com/hf/kubriak-kv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248978716,"owners_count":21192834,"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-11-08T08:01:55.503Z","updated_at":"2025-04-14T23:31:31.024Z","avatar_url":"https://github.com/hf.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Kubriak KV\n==========\n[![Docker\nPulls](https://img.shields.io/docker/pulls/stojan/kubriak-kv.svg)](https://hub.docker.com/r/stojan/kubriak-kv/)\n\nKubriak KV is a Riak KV deployment for Kubernetes. It runs on top of the\n[stojan/riak-kv](https://github.com/hf/stojan-kv) image and and allows for \nauto-joining clusters. \n\nScaling should by using a StatefulSet instead of a Deployment since it adds\nordering to the creation of the containers.\n\nScaling up or down the cluster is fast and does not leave it in an\ninconsistent state.\n\nAlthough having kube-dns (or any DNS) in the cluster is recommended. It will\npick up a FQDN from the hostname and use it. In the case that the hostname is\nnot a FQDN (i.e. only a hostname) it will use the container's IP address.\n\nThis is useful if you are running a single instance for a local development\nenvironment.\n\n## Customization\n\nThis Docker image is published under\n[stojan/kubriak-kv](https://hub.docker.com/r/stojan/kubriak-kv/). \n\nYou can customize your image by extending from this one and copying additional\nscripts into `/etc/riak/prestart.d`, `/etc/riak/poststart.d`,\n`/etc/riak/prestop.d` directories.\n\nScripts are executed in lexicographical order (with the `XX-name.sh`\nconvention).\n\nDo take a look at `poststart.d`, `prestart.d` and `prestop.d` to see the already \nincluded scripts.\n\nHave in mind that the entrypoint of the image should call upon `riak-up.sh`.\n\nHere are some environment variables which can be used to customize the Riak\ncluster:\n\n+ `RIAK_SERVICE_NAME` (default: `riak-kv`) the Kubernetes service that is the logical Riak cluster\n+ `RIAK_SERVICE_NAMESPACE` (default: `default`) the Kubernetes namespace in which the\n  `RIAK_SERVICE_NAME` exists\n+ `RIAK_NODE_NAME` (default: `riak`) the Riak node name, i.e. `RIAK_NODE_NAME@FQDN`\n+ `RIAK_DISTRIBUTED_COOKIE` (default: `riak`) the Riak distributed cookie\n\n## Deployment\n\nDeploying a cluster is very easy. You should create only 2 Kubernetes entities:\n\n1. Create a Service that will expose ports 8087 and 8098.\n2. Create a StatefulSet that will use a Kubriak KV image, and bind it with the\n   service from (1).\n\nYou can scale your StatefulSet up and down as much as you want.\n\nSee the folder `example` for examples.\n\n## License\n\nThis code is Copyright \u0026copy; 2017 Stojan Dimitrovski. It is licensed under the\nMIT X11 License. You can find a copy of the lincese in the file `LICENSE`\nincluded in this distribution.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhf%2Fkubriak-kv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhf%2Fkubriak-kv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhf%2Fkubriak-kv/lists"}