{"id":50924492,"url":"https://github.com/vinit-devops/manticoresearch_on_kubernetes","last_synced_at":"2026-06-16T21:01:41.760Z","repository":{"id":257264369,"uuid":"330371891","full_name":"vinit-devops/manticoresearch_on_kubernetes","owner":"vinit-devops","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-05T12:12:16.000Z","size":30,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-15T16:23:24.103Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vinit-devops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-01-17T11:10:32.000Z","updated_at":"2023-01-26T16:32:59.000Z","dependencies_parsed_at":"2024-09-15T16:23:26.756Z","dependency_job_id":"95c9384c-c26f-4cd2-ba8f-80ef04f6d7df","html_url":"https://github.com/vinit-devops/manticoresearch_on_kubernetes","commit_stats":null,"previous_names":["vinit-devops/manticoresearch_on_kubernetes"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vinit-devops/manticoresearch_on_kubernetes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinit-devops%2Fmanticoresearch_on_kubernetes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinit-devops%2Fmanticoresearch_on_kubernetes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinit-devops%2Fmanticoresearch_on_kubernetes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinit-devops%2Fmanticoresearch_on_kubernetes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vinit-devops","download_url":"https://codeload.github.com/vinit-devops/manticoresearch_on_kubernetes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vinit-devops%2Fmanticoresearch_on_kubernetes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34423233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-06-16T21:01:38.731Z","updated_at":"2026-06-16T21:01:41.751Z","avatar_url":"https://github.com/vinit-devops.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# manticoresearch_on_kubernetes\nThis a semi-automated set up for manticore cluster set up on docker container-runtime  via kubernetess with the help of ansible.\nTechnologies needed for this set up-\n            i) Kubernetes\n            ii) Ansible\n            iii) Git.\n            \nIn this set up we are going to create two docker containers running manticoresearch latest service, both of which forming a cluster in which data is replicated from master to slave. Even if all the nodes goes down all the data will be safe within /docker-data on your host nodes, including your logs and mysql tables data.\n\n* post_pod_creation and pre_pod_creation consists of playbooks that needs to be run on ansible servers.\n* kubernetes-yml-files consists of defination files for various pods and services.\n\n\nSEQUENCE OF USAGE ::    pre_pod_creation -\u003e kubernetes-yml-files -\u003e post_pod_creation .\n\nRead all the steps below get a working manticore cluster in just 5 mins.\n\nPRE-REQUISITES:\n            1. Ansible server should be keyless with kubernetes worker nodes\n            2. Worker nodes should show a ready status on kubernetes master.\n            3. Git should be installed on kubernetes master and Ansible server.\n\n\nSTEPS FOR CLUSTER SET UP OF MANTICORESEARCH:\n\n            i) Go to ansible server and take a pull of the repo\n            \n                git clone https://github.com/vinit-devops/manticoresearch_on_kubernetes.git\n            \n            ii) cd to manticoresearch_on_kubernetes/pre-pod-creation/ \n            \n                edit hosts entry in pre-pod-creation.yml with the nodes or ip of kubernetes worker nodes ips on which service needs to be deployed.\n                Run ansible playbook with below command\n                ansible-playbook pre-pod-creation.yml             \n                #ensure here that the manticore.conf exists on path manticoresearch_on_kubernetes/pre-pod-creation/new_files .\n                        \n            iii) Go to kubernetes master node and label nodes with commands\n                        kubectl label nodes \u003cnode1-name\u003e ip=qd1\n                        kubectl label nodes \u003cnode2-name\u003e ip=qd2\n                Note: node1 and node2 are worker nodes which are defined in host entry of pre-pod-creation.yml, node-name can also be obtained via below command\n                kubectl get nodes\n                To ensure the labels are created successfully , run below command\n                 kubectl get nodes --show-labels\n                 \n             iv) Take a pull of the the repo again.\n                Next, cd to manticoresearch_on_kubernete/kubernetes-yml-files and spin up the pods and service  with below commands\n                kubectl apply -f master_deployment_definition.yml\n                kubectl apply -f slave_deployment_definition.yml\n                kubectl apply -f manticoresearch-service.yaml\n                         \n            \n             iv) Go to ansible server and cd to manticoresearch_on_kubernete/post_pod_creation/ and \n                 edit the post_pod_creation.yml with at hosts with ip of server on which manticore-dc pod is created and h1 and h2 with mantciore-dc node ip and manticore-dc2 \n                 node ip respectively,\n                 in order to see which pod is created on which node, run below command\n                 kubectl get pods -o wide\n                 \n              v) At last run below command to run ansible playbook to create cluster\n                        ansible-playbook post_pod_creation.yml\n               at last step of playbook running if you see the status synced , the BINGO! mantcore cluster is created successfully\n               \n               \n               To check cluster status you can run below commands on worker nodes\n                                    mysql -h0 -P 30306 -e \"show status \" | grep node_state\n\n\nFOR ANY QUERY OR SUGGESTIONS: vk35dev@gmail.com\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinit-devops%2Fmanticoresearch_on_kubernetes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinit-devops%2Fmanticoresearch_on_kubernetes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinit-devops%2Fmanticoresearch_on_kubernetes/lists"}