khenidak / dysk

Attach Azure disks in < 1 second. Attach as many as you want. Attach them where ever you want. dysk mounts Azure disks as Linux block devices directly on VMs without dependency on the host.
MIT License
181 stars 13 forks source link

Dysk Planning #9

Open khenidak opened 6 years ago

khenidak commented 6 years ago

Use this issue to track beta/stable functions + features. BETA Goals

output piped to kubectl create stdin is:

apiVersion: v1 kind: PersistentVolume metadata: name: my-name lables: value of --labels dictionary spec: flexVolume: driver: "dysk/dysk" fsType: **value of --fstype* readOnly: if --read-only was passed to convert-pv secretRef: name: my-secret** options: accountName: "{Account-Name-Here-FROM-DYSK}" pageBlobPath: "{PAGE BLOB PATH- FROM - DYSK}"



   - [x] Samples
   - [ ] (STRETCH) Support for cache using dm-cache
**Stable Goals**
- [x] Move to Azure Storage SAS for authentication.
- [ ] Flexvol support for raid configuration (multi dysks) via LVM

@ritazh @andyzhangx 
andyzhangx commented 6 years ago

@khenidak Have you ever run https://github.com/khenidak/dysk/blob/master/kubernetes/dysk as a flexvolume driver, there are lots of bugs, it even cannot be loaded. And pls note that bash env in kubelet image is different than your dev env, there are some bash syntax not supported in kubelet bash.

khenidak commented 6 years ago

hmm Ok i will go back and check. in all cases thank you for putting it back on track.

andyzhangx commented 6 years ago

@khenidak, I have a PR to fix it all.

khenidak commented 6 years ago

the commit on head was not the latest code i had :-( Thanks again

andyzhangx commented 6 years ago

that's bad, you need to merge... Pls add me as reviewer if you want to change flex vol driver. I am quite familiar with flex vol driver development, you may propose design and requirement, I could do the development.

khenidak commented 6 years ago

No need to, you have put back everything back on track (basically took care of a mess i created :-)) thanks again.

rocketraman commented 5 years ago

I'm wondering if dysk is the solution to all my Azure Disk problems with Kubernetes on Azure (wishful thinking I know). As far as I can tell from this issue, almost everything in the checklist above, except raid+lvm config that is a blocker for beta is done -- is raid+lvm really a blocker for beta? Can this be moved forward? I've seen no commits in these repo for two months.

andyzhangx commented 5 years ago

@rocketraman Your issue should be related to this bug: https://github.com/andyzhangx/demo/blob/master/issues/azuredisk-issues.md#14-azure-disk-attachdetach-failure-mount-issue-io-error, it's due to the dirty vm cache which would lead to lots of strange disk attach/detach issues. The fix has been verified in more than 150 k8s clusters by one customer, no disk attach/detach issue any more. I would encouge you to use 1.11.6, 1.12.4 or 1.13.0 when these versions come out.