Giter VIP home page Giter VIP logo

Comments (7)

wattsteve avatar wattsteve commented on August 19, 2024

This is awesome, thanks @hunter. We are trying to get as many things into Kubernetes primitives as possible (daemonsets, configmaps, etc.) - some of that work is happening here #38.

from gluster-kubernetes.

lpabon avatar lpabon commented on August 19, 2024

Hi @hunter I have been looking at Helm, but, afaict, there is not step process. It would be great for Heml to support a step process.

It looks like it would be more successful to have a Job which runs gkdeploy.

Also heketi/heketi#622 will make configuration much easier.

from gluster-kubernetes.

hunter avatar hunter commented on August 19, 2024

I'm not entirely convinced there needs to be step process in Helm.

The main things that are missing from this helm chart are importing the topology and persisting heketi.db. I've not had time to implement but both of those could be handled by init-containers which would also remove the need for a deploy-heketi resource. The downside is that it will only be supported in environments with alpha (1.3) or beta (1.4/1.5) extensions enabled.

Helm also does have install/upgrade hooks. These can trigger one off actions but I don't really see a need to make it helm specific when init-containers exist.

from gluster-kubernetes.

lpabon avatar lpabon commented on August 19, 2024

@hunter Init container could work well. This is something @ant31 is also working on.

from gluster-kubernetes.

v1k0d3n avatar v1k0d3n commented on August 19, 2024

this is awesome @hunter! i would like to try this with our project: https://github.com/att-comdev/openstack-helm, because I know our users are going to want other storage options (we're currently using Ceph PVC's for Kubernetes). we would love to collaborate with you and the gluster team on this!

from gluster-kubernetes.

sheerun avatar sheerun commented on August 19, 2024

Heketi topology could be installed as a post-install or post-upgrade hook in helm:
https://github.com/kubernetes/helm/blob/master/docs/charts_hooks.md

In the future maybe it would also make sense to use node labels for dynamically configure heketi (and create something like etcd-operator), see #46

@hunter How about also introducing an endpoint as a part of helm chart?

from gluster-kubernetes.

sheerun avatar sheerun commented on August 19, 2024

Hmm. Probably more appropriate than endpoint is storage class:

apiVersion: storage.k8s.io/v1beta1
kind: StorageClass
metadata:
  name: slow
provisioner: kubernetes.io/glusterfs
parameters:
  resturl: "http://127.0.0.1:8081"
  restauthenabled: "true"
  restuser: "admin"
  secretNamespace: "default"
  secretName: "heketi-secret"

from gluster-kubernetes.

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.