Coder Social home page Coder Social logo

Comments (3)

chengshiwen avatar chengshiwen commented on July 28, 2024

@MohamedShaj InfluxDB Cluster is an alternative to InfluxDB Enterprise and supports high availability (For high availability, installations must have at least two data nodes. The number of data nodes in your cluster must be the same as your highest replication factor. Any replication factor greater than two gives you additional fault tolerance and query capacity within the cluster.).

So NFS/EFS is not required, because the storage of each data node is completely independent and does not require network sharing. For details, please refer to the official documentation.

For the influx cluster helm chart, you just modify the configuration items like storageClass and size in values.yaml. So you need to request your storage provider.

  persistence:
    enabled: true
    ## A manually managed Persistent Volume and Claim
    ## Requires persistence.enabled: true
    ## If defined, PVC must be created manually before volume will be bound
    # existingClaim:
    ## influxdb data Persistent Volume Storage Class
    ## If defined, storageClassName: <storageClass>
    ## If set to "-", storageClassName: "", which disables dynamic provisioning
    ## If undefined (the default) or set to null, no storageClassName spec is
    ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
    ##   GKE, AWS & OpenStack)
    ##
    storageClass: "alicloud-disk-available"
    annotations: {}
    accessMode: ReadWriteOnce
    size: 25Gi

from influxdb-cluster.

MohamedShaj avatar MohamedShaj commented on July 28, 2024

Okay,

Got it.

But for some requirement, we are making n/w share with meta and data and using AWS EFS means,

> `    persistence:
>       enabled: true
>       ## A manually managed Persistent Volume and Claim
>       ## Requires persistence.enabled: true
>       ## If defined, PVC must be created manually before volume will be bound
>       # existingClaim:
>       ## influxdb data Persistent Volume Storage Class
>       ## If defined, storageClassName: <storageClass>
>       ## If set to "-", storageClassName: "", which disables dynamic provisioning
>       ## If undefined (the default) or set to null, no storageClassName spec is
>       ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
>       ##   GKE, AWS & OpenStack)
>       ##
>       storageClass: "efs-sc"
>       accessMode: ReadWriteMany
>       size: 10Gi  `
>       

EFS-SC is the efs storage class.
the above config should work right ?

from influxdb-cluster.

chengshiwen avatar chengshiwen commented on July 28, 2024

First, you need to check whether efs-sc exists by executing kubectl get sc, and then check whether the size meets the requirements. If the size is set too small, it may not meet the storage provider's requirements. And finally, test whether the cluster can work normally in k8s.

from influxdb-cluster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.