Giter VIP home page Giter VIP logo

Comments (8)

screeley44 avatar screeley44 commented on September 28, 2024

It will be removed with when OCP 3.5 is released or we could even have version specific defs

from gluster-kubernetes.

ravishivt avatar ravishivt commented on September 28, 2024

Here's an example of k8s automatically creating the endpoint:

ubuntu@kube1:~$ sudo kubectl create -f docs/examples/hello_world/gluster-pvc.yaml
persistentvolumeclaim "gluster1" created
ubuntu@kube1:~$ sudo kubectl get endpoints
NAME                         ENDPOINTS                                      AGE
glusterfs-dynamic-gluster1   172.16.35.11:1,172.16.35.12:1,172.16.35.13:1   10s
heketi                       192.168.149.139:8080                           23h
heketi-storage-endpoints     172.16.35.11:1,172.16.35.12:1,172.16.35.13:1   23h
kubernetes                   172.16.35.11:6443                              2d

from gluster-kubernetes.

ravishivt avatar ravishivt commented on September 28, 2024

@screeley44 OCP? Sorry, not familiar with that.

from gluster-kubernetes.

screeley44 avatar screeley44 commented on September 28, 2024

OpenShift Container Platform - I don't think Kubernetes 1.5 is officially released yet is it? OCP is always behind Kube as that is downstream and Kube is upstream, so we might have to manage those differences in some way, I guess we also need an OCP version of HelloWorld doc as well

from gluster-kubernetes.

ravishivt avatar ravishivt commented on September 28, 2024

OK, thanks. Familiar with OpenShift, just not that acronym. Kubernetes v1.5 was just released a couple days ago.

from gluster-kubernetes.

jarrpa avatar jarrpa commented on September 28, 2024

We do need to maintain compatibility with both Kubernetes and OpenShift. This will require a few changes in various places, starting with https://github.com/heketi/heketi. The setup-openshift-heketi-storage command of heketi-cli will need to be trimmed down so it only creates the DB secret and the copy job. Then we'll still need to create the endpoints manually for OpenShift and also Kube < 1.5 (which will require a version check). Once these things are done we should be able to get away with not creating them for Kube 1.5.

@ravishivt Would you be willing to open the issue on the heketi project, as a compatibility request for Kubernetes 1.5?

from gluster-kubernetes.

ravishivt avatar ravishivt commented on September 28, 2024

Sure, heketi/heketi#628

from gluster-kubernetes.

jarrpa avatar jarrpa commented on September 28, 2024

Since this PR was last updated, it has been determined that the heketi-storage-endpoints are still required since the heketidbstorage volume is statically provisioned. Further, the Hello World example has been updated to indicate that endpoints: should be omitted from Kube >= 1.6.

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.