• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ConsenSysMesh/ipfs-cluster-k8s-sidecar: Sidecar to configure ipfs-cluster replic ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

ConsenSysMesh/ipfs-cluster-k8s-sidecar

开源软件地址:

https://github.com/ConsenSysMesh/ipfs-cluster-k8s-sidecar

开源编程语言:

JavaScript 97.6%

开源软件介绍:

IPFS-Cluster Kubernetes Replica Set Sidecar

This project is as a PoC to setup a ipfs-cluster replica set or statefulset using Kubernetes. It should handle resizing of any type and be resilient to the various conditions both ipfs-cluster and kubernetes can find themselves in.

This project was inspired by and references https://github.com/cvallance/mongo-k8s-sidecar

Note

This is pre-alpha software and should not be used in a production environment

Currently managing addition of new nodes to the cluster works.

Nodes are not currently removed from the cluster. (With a persistent store nodes will rejoin the cluster with their newly assigned IP). If not using a persistent store we will have to remove the node from the cluster.

How to use it

The docker image is hosted on docker hub and can be found here: https://hub.docker.com/r/joshorig/ipfs-cluster-k8s-sidecar/

An example kubernetes statefulset can be found in the examples directory on github here: https://github.com/ConsenSys/ipfs-cluster-k8s-sidecar

There you will also find some helper scripts to test out creating the replica set and resizing it.

Settings

Environment Variable Required Default Description
KUBE_NAMESPACE NO The namespace to look up pods in. Not setting it will search for pods in all namespaces.
IPFSCLUSTER_SIDECAR_POD_LABELS YES This should be a be a comma separated list of key values the same as the podTemplate labels. See above for example.
IPFSCLUSTER_SIDECAR_SLEEP_SECONDS NO 5 This is how long to sleep between work cycles.
IPFSCLUSTER_PORT NO 9094 Configures the ipfs-cluster port, allows the usage of non-standard ports.

Still to do

  • Add cluster removal
  • Add SSL support
  • Add tests!
  • Add to travisCI
  • Alter k8s call so that we don't have to filter in memory



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
lazyweirdo/osm-ipfs-proxy: Map tile system IPFS based发布时间:2022-06-23
下一篇:
ipfs/go-ipfs-pq: A priority queue used by go-ipfs发布时间:2022-06-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap