Comments (4)
@aravindavk do you remember what option has high priority? If not, will have a quick look at the code.
looks like kadalu_format: native (default value) is taking high preference here. Removing the default value for kadalu_format field from CRD file will fix this issue.
from kadalu.
What am I missing here?
-
mostly nomenclature I believe
-
see if these terms make sense https://thoughtexpo.com/exploring-kadalu-storage-in-k3d-cluster-glusterfs/#terminologies
-
gist would be, you are use external gluster, in native mode it'll be multiple PVs per gluster vol and in non-native mode it's 1 gvol : 1 pv
from kadalu.
Change kadalu_format to single_pv_per_pool ---> In this fix, please remove default value given for kadalu_format field in CRD file.
https://github.com/kadalu/kadalu/blob/devel/helm/kadalu/charts/operator/crds/kadalu_storage.yaml#L45
Because if I just use single_pv_per_pool: true in my kadalu storage class, I still see storage class getting created with single_pv_per_pool as "False", as default value "native" is getting applied for kadalu_format field.
This is the file I applied.
apiVersion: kadalu-operator.storage/v1alpha1
kind: KadaluStorage
metadata:
name: check-vol
spec:
details:
gluster_hosts: [10.10.126.140,10.10.136.24,10.10.146.207]
gluster_options: log-level=DEBUG
gluster_volname: glustervol3
pvReclaimPolicy: retain
single_pv_per_pool: true
type: External
This is the object which got created.
allowVolumeExpansion: true
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"allowVolumeExpansion":true,"apiVersion":"storage.k8s.io/v1","kind":"StorageClass","metadata":{"annotations":{},"name":"kadalu.check-vol"},"parameters":{"gluster_hosts":"10.10.126.140,10.10.136.24,10.10.146.207","gluster_options":"log-level=DEBUG","gluster_volname":"glustervol3","hostvol_type":"External","single_pv_per_pool":"False"},"provisioner":"kadalu"}
creationTimestamp: "2023-04-12T08:05:59Z"
name: kadalu.check-vol
resourceVersion: "13874"
uid: 80876066-2917-41fe-904f-db7d13058f6d
parameters:
gluster_hosts: 10.10.126.140,10.10.136.24,10.10.146.207
gluster_options: log-level=DEBUG
gluster_volname: glustervol3
hostvol_type: External
single_pv_per_pool: "False"
provisioner: kadalu
reclaimPolicy: Delete
volumeBindingMode: Immediate
Now, I have to use both fields(kadalu_format: non-native single_pv_per_pool: true) in my storage yaml file to make this work.
from kadalu.
@aravindavk do you remember what option has high priority? If not, will have a quick look at the code.
from kadalu.
Related Issues (20)
- [Bug]: Shared volume issue in RWX mode HOT 18
- [Bug]: Operator restart removes tolerations from storage pool StatefulSets HOT 2
- [Bug]: The displayed storage space is inconsistent with the actual storage space HOT 1
- [Bug]: External Storage will not connect to another GlusterFS host if first is down HOT 2
- [RFE]: Support for storage definitions in helm chart HOT 2
- [RFE]: Helm. kadalu-logging and kadalu-csi-nodeplugin . Parameterization of image
- [Need Help]: Expect shared path for different pods across machine/nodes HOT 7
- [Need Help]When I upload a file directly to the server's mount path of kadalu pvc, the file cannot be identified in the corresponding pod. HOT 5
- [Bug]: nomad controller exception HOT 2
- [Bug]: Over-provisioning stops working when one of the PVC is resized HOT 6
- [Bug]: Failed to pull image "docker.io/library/busybox" HOT 8
- [Bug]: Failed to mount device - not a block device HOT 6
- [Bug]: kadalu-operator can't response prometheus metrics from `/metrics`, except `/metrics.json` HOT 2
- [Bug]: Storage not created HOT 2
- [Bug]: Kadalu upgrading not working properly and PV data not correct HOT 2
- [Bug]: kadalu-operator.storage missing, how to add performance options HOT 8
- 3 node cluster - Arbiter volume still becomes unavailable temporarly when one node is rebooted HOT 3
- [RFE]: Can't create a volume via the kadalu cli not using kubernetes HOT 3
- [Bug]: HOT 1
- kubernetes.io/csi: attacher.MountDevice failed to create newCsiDriverClient: driver name kadalu not found in the list of registered CSI drivers HOT 3
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 kadalu.