ipfs / kubo

An IPFS implementation in Go
https://docs.ipfs.tech/how-to/command-line-quick-start/
Other
16.16k stars 3.01k forks source link

Feature Request: Ability to Run as a kubernetes operator #8092

Open Kampe opened 3 years ago

Kampe commented 3 years ago

Given adoption is a critical piece of IPFS infrastructure, I would say that having the ability for ipfs to be easily installed in a kubernetes cluster would be a massive win.

To facilitate this I think it's easiest to utilize a custom resource definition for an IPFS Cluster that would build out a cluster of size N and would configure the statefulset, configmaps and secret for the user to allow for applications to be utilized in a GitOps manner and would allow for some high level configurations at a resource level.

Allowing end users to install a single piece of yaml and be able to then create ipfs clusters simply by defining something like: (inspiration from https://github.com/rabbitmq/cluster-operator)

apiVersion: ipfs.io/v1beta1
kind: IPFSCluster
metadata:
    name: my-cluster
spec:
  replicas: 3
  ipfs:
    config: |
      gateway = enabled
welcome[bot] commented 3 years ago

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

Finally, remember to use https://discuss.ipfs.io if you just need general support.