kubernetes-mongodb-shard | Deploy a mongodb sharded cluster on kubernetes
kandi X-RAY | kubernetes-mongodb-shard Summary
kandi X-RAY | kubernetes-mongodb-shard Summary
kubernetes-mongodb-shard is a Shell library typically used in MongoDB applications. kubernetes-mongodb-shard has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
Setting up a mongodb shard on kubernetes is easy with this repo. kubectl is used to determine the number of nodes in your cluster and the provided shell script src/generate.sh creates one kubernetes yaml file per node as well as the neccessary js config scripts. Finally, the shard is automatically created by executing the yaml files and applying the config scripts. Great care has been taken to distribute data accross the cluster to maximize data redundancy and high availability. In addition we bind disk space with the kubernetes hostPath option in order to maximize I/O throughput. Replication is achived by the built in mongodb feature rather than kubernetes itself. However, as kubernetes knows about the desired state of your shard, it will try to restore all services automatically should one node go down.
Setting up a mongodb shard on kubernetes is easy with this repo. kubectl is used to determine the number of nodes in your cluster and the provided shell script src/generate.sh creates one kubernetes yaml file per node as well as the neccessary js config scripts. Finally, the shard is automatically created by executing the yaml files and applying the config scripts. Great care has been taken to distribute data accross the cluster to maximize data redundancy and high availability. In addition we bind disk space with the kubernetes hostPath option in order to maximize I/O throughput. Replication is achived by the built in mongodb feature rather than kubernetes itself. However, as kubernetes knows about the desired state of your shard, it will try to restore all services automatically should one node go down.
Support
Quality
Security
License
Reuse
Support
kubernetes-mongodb-shard has a low active ecosystem.
It has 36 star(s) with 13 fork(s). There are 4 watchers for this library.
It had no major release in the last 12 months.
There are 0 open issues and 8 have been closed. On average issues are closed in 382 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of kubernetes-mongodb-shard is v1.0.0
Quality
kubernetes-mongodb-shard has 0 bugs and 0 code smells.
Security
kubernetes-mongodb-shard has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
kubernetes-mongodb-shard code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
kubernetes-mongodb-shard is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
kubernetes-mongodb-shard releases are available to install and integrate.
Installation instructions are not available. Examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kubernetes-mongodb-shard
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kubernetes-mongodb-shard
kubernetes-mongodb-shard Key Features
No Key Features are available at this moment for kubernetes-mongodb-shard.
kubernetes-mongodb-shard Examples and Code Snippets
Copy
apiVersion: v1
kind: Service
metadata:
name: mongodb-node01
labels:
app: mongodb-node01
role: mongoshard
tier: backend
spec:
selector:
app: mongodb-shard-node01
role: mongoshard
tier: backend
ports:
- name: arb03-n
Copy
$ kubectl get deployments -l role="mongoshard"
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
mongodb-shard-node01 1 1 1 1 1d
mongodb-shard-node02 1 1 1 1
Copy
NODES: number of cluster nodes (default: all nodes on your cluster as determined by kubectl)
SHARDS: number of shards in your mongo database (default: number of cluster nodes)
MONGOS_PER_CLUSTER: you connect to your shard through mongos (default: one
Community Discussions
No Community Discussions are available at this moment for kubernetes-mongodb-shard.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kubernetes-mongodb-shard
You can download it from GitHub.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page