Giter VIP home page Giter VIP logo

Comments (7)

Taronyuu avatar Taronyuu commented on June 20, 2024 1

Additional questions for the pros: I've been reading up on Longhorn and everyone says that C*X11 servers are too small in combination with Longhorn. I can understand if volumes are being synced between servers, but is this still an issue if everything is stored on Hetzner Volumes?

If this is still an issue, is there a way to still use Hetzner Volumes in a different way? All I am trying to do is create a cluster with as few resources as possible for now until I have to scale further and where backups are not required (ie: where data is stored somewhere outside of the servers)

from terraform-hcloud-kube-hetzner.

aleksasiriski avatar aleksasiriski commented on June 20, 2024 1

Why do you use Longhorn on top of Hetzner volumes? Just use hcloud-volumes for RWO and if you need RWX use openebs-nfs-provisioner with hcloud-volumes as backend.

from terraform-hcloud-kube-hetzner.

Taronyuu avatar Taronyuu commented on June 20, 2024 1

@aleksasiriski I thought that that was a requirement? Based on this line:

In the case of using Longhorn, you can use Hetzner volumes instead of using the node's own storage by specifying a value from 10 to 10000 (in GB)

The way I read it is 'if you want to use Hetzner Volumes, enable Longhorn', but it seems that my assumption is wrong?

In that situation, if I disable Longhorn then my Hetzner Volumes will keep working?

from terraform-hcloud-kube-hetzner.

Taronyuu avatar Taronyuu commented on June 20, 2024 1

@Taronyuu We indeed need to make the text clearer, Hetzner volumes with longhorn is in fact fully optional, by default hcloud csi that is enabled by default will use volumes.

Awesome! Will it break something if I:

  1. Set the agent node count to 0
  2. Disable longhorn
  3. Enable deploying on master planes

I think disabling Longhorn (even when all of my volumes are provisioned on Hetzner Volumes) will be the biggest breaking change, but I am not sure? I already have items provisioned using Hetzner volumes but did not specifically mention Longhorn.

I'll PR soon for an updated documentation to make this more clear :)

from terraform-hcloud-kube-hetzner.

mysticaltech avatar mysticaltech commented on June 20, 2024 1

PRs always welcome!

About 1 and 3, of course you have to cordon, drain, kubectl delete node, and normally it should be ok since everything can be scheduled on your control planes with the proper flag.

About 2. I do not know really, it could break. If it's a production setup, best to do blue green like deploy via a new cluster.

from terraform-hcloud-kube-hetzner.

mysticaltech avatar mysticaltech commented on June 20, 2024

@aleksasiriski @ifeulner Folks, that more down your alley, could you help here please 🙏

from terraform-hcloud-kube-hetzner.

mysticaltech avatar mysticaltech commented on June 20, 2024

@Taronyuu We indeed need to make the text clearer, Hetzner volumes with longhorn is in fact fully optional, by default hcloud csi that is enabled by default will use volumes.

from terraform-hcloud-kube-hetzner.

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.