{"id":16754728,"url":"https://github.com/pires/hazelcast-kubernetes-bootstrapper","last_synced_at":"2025-04-10T16:21:51.678Z","repository":{"id":25007401,"uuid":"28426475","full_name":"pires/hazelcast-kubernetes-bootstrapper","owner":"pires","description":"Hazelcast cluster discovery mechanism for Kubernetes.","archived":false,"fork":false,"pushed_at":"2022-10-05T02:50:09.000Z","size":121,"stargazers_count":22,"open_issues_count":3,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-24T14:09:43.441Z","etag":null,"topics":["hazelcast","in-memory-database","java","kubernetes"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"vuejs/vuejs.org","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pires.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}},"created_at":"2014-12-24T00:31:41.000Z","updated_at":"2022-11-26T07:13:59.000Z","dependencies_parsed_at":"2022-08-29T23:00:33.371Z","dependency_job_id":null,"html_url":"https://github.com/pires/hazelcast-kubernetes-bootstrapper","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pires%2Fhazelcast-kubernetes-bootstrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pires%2Fhazelcast-kubernetes-bootstrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pires%2Fhazelcast-kubernetes-bootstrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pires%2Fhazelcast-kubernetes-bootstrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pires","download_url":"https://codeload.github.com/pires/hazelcast-kubernetes-bootstrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248252661,"owners_count":21072699,"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":["hazelcast","in-memory-database","java","kubernetes"],"created_at":"2024-10-13T03:05:45.642Z","updated_at":"2025-04-10T16:21:51.646Z","avatar_url":"https://github.com/pires.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"hazelcast-kubernetes-bootstrapper\n=================================\n\nHazelcast (3.12.3) cluster discovery mechanism for Kubernetes.\n\n## What is\n\n[Kubernetes](http://kubernetes.io) is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions. Using the concepts of \"labels\" and \"pods\", it groups the containers which make up an application into logical units for easy management and discovery.\n\nIn order to cluster Hazelcast in Kubernetes - and harness full scale-up/down capabilities provided -, each instance must know beforehand which ```pods``` containing Hazelcast instances are already up \u0026 running, so that networking may be configured properly. This is achieved by means of looking-up ```pods``` with certain ```labels``` in [Kubernetes API](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/accessing_the_api.md).\nThe code provided does that and configures Hazelcast TCP clustering.\n\nTo configure Hazelcast inside of the Kubernetes cluster the following environment options can be used:\n\n* `HAZELCAST_SERVICE` - name of the Hazelcast service, declared in the Kubernetes service configuration. Default: `hazelcast`.\n* `DNS_DOMAIN` - domain name used inside of the cluster. Default: `cluster.local`.\n* `POD_NAMESPACE` - namespace in which hazelcast should be running. Default: `default`. Use the [Downward API](https://github.com/GoogleCloudPlatform/kubernetes/blob/master/docs/downward_api.md) to set it automatically.\n* `HC_GROUP_NAME` - Hazelcast group name. Default: `someGroup`.\n* `HC_GROUP_PASSWORD` - Hazelcast group password. Default: `someSecret`.\n* `HC_PORT` - Port on which Hazelcast should be running.\n* `HC_REST_ENABLED` - Whether to enable Hazelcast REST API. Default: `false`.\n\nThis is used in [pires/hazelcast-kubernetes](https://github.com/pires/hazelcast-kubernetes).\n\n## Pre-requisites\n\n* JDK 8\n* Maven 3.0.5 or newer\n\n## Build\n\n```\nmvn clean package\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpires%2Fhazelcast-kubernetes-bootstrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpires%2Fhazelcast-kubernetes-bootstrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpires%2Fhazelcast-kubernetes-bootstrapper/lists"}