Comments (6)
@ant31 IMO This will still not solve anything. We are more interested on removing the deploy-heketi part(ideas are welcomed) :).
from gluster-kubernetes.
@ant31 @MohamedAshiqrh See #37 for a possible solution to not needing deploy-heketi or even a volume for the DB.
from gluster-kubernetes.
@MohamedAshiqrh It's not solve the deploy-heketi , but it give a direction of the final setup.
My target is to do everything in a single command like:
kubectl create -f heketi --namespace glusterfs
and also be able to remove/rollback it
kubectl delete ns glusterfs
this is issue is part of this goal. Of course the bootstrap steps with deploy-heketi is the biggest issue.
I'm trying first to remove other manual steps before.
Is there a thread to discuss removing deploy-heketi?
from gluster-kubernetes.
@ant31 This goal is unattainable. The administrator must have knowledge of and provide a description for the block devices heketi will manage. There is no way to automatically or even safely detect storage and know what can and cannot be used. It should also be noted that a simple kubectl delete
operation of any kind would not be able to properly remove all traces of heketi and GlusterFS on the nodes and their storage, and would require additional administrative tasks.
At present you can use the gk-deploy script to deploy heketi (and optionally GlusterFS) with a single command, provided you have a properly configured topology file. While the script does provide an --abort
option in case the deployment fails partway, the clean and complete removal of a storage solution is a tricky and very site-specific endeavour, and is thus currently not in scope for this project.
To address the initial comment, in the current context it would not make much sense to manage the heketi DB storage volume as a PVC since heketi, as part of the current deployment process, assumes management and control over its own volume. If the intent is to simply the deployment and usage of heketi, I again point you to #37 as a likely step in that direction.
from gluster-kubernetes.
The administrator must have knowledge of and provide a description for the block devices heketi will manage
Thi is not about 'auto device' discovery, as proposed in #46, topology can be configured via configmap.
As for #37, I don't think deploying an etcd cluster is any easier than simply mounting a volume.
Thanks for your answers
from gluster-kubernetes.
@ant31 I'd just like to point out, you can do a simple kubectl create -f etcd.yml
to deploy an etcd cluster in Kubernetes. If you're not using the gk-deploy
script, this would greatly simplify the manual deployment of heketi on Kubernetes, which seems in line with the spirit of your original comment.
from gluster-kubernetes.
Related Issues (20)
- Error: Failed to allocate new volume: No space HOT 2
- Unable to access db HOT 1
- missing required field "selector" in io.k8s.api.apps.v1.DeploymentSpec HOT 1
- Unable to deploy on Ubuntu 18.04 -> pods not found. HOT 6
- Request to structure the README to include more projects
- 401 with latest heketi:dev image HOT 1
- probe failed
- glusterFS pod deploy failing
- PVC in pending status-no other error HOT 2
- Mount failed:E [glusterfsd.c:795:gf_remember_backup_volfile_server] 0-glusterfs: failed to set volfile server: File exists HOT 5
- Pod devices for topology get stuck, if pods are restarted.
- vagrant - failed to install glusterfs-client
- is this project still ALIVE? HOT 9
- Which gluster node are my pods/pvc talking to?
- Error waiting for job 'heketi-storage-copy-job' to complete HOT 4
- Kubernetes DaemonSet extensions/v1beta1 deprecated
- speed up deploying gluster
- heketi deployment has CrashLoopBackOff state, I am using ./gk-deploy script
- glusterfs on kubernetes stock on Error waiting for job 'heketi-storage-copy-job' to complete. stage
- About GlusterFs containers support geographic replication
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gluster-kubernetes.