Code Monkey home page Code Monkey logo

csi-driver-localstorage's Introduction

LocalStorage

Build Status Release License

Overview

This driver allows Kubernetes to access LocalStorage on Linux node.

Getting Started

Installation

  • 选择运行 localstoragekubernetes 节点

    kubectl label node <node-name> storage.caoyingjunz.io/node=
  • 安装 localstorage 组件

    kubectl apply -f deploy/crds
    kubectl apply -f deploy/latest
    
    # 验证
    root@pixiu01:~# kubectl get pod -n kube-system | grep pixiu
    pixiu-ls-controller-7997b8c446-8hndc        1/1     Running            0                87s
    pixiu-ls-node-gfd78                         4/4     Running            0                87s
    pixiu-ls-node-mb4x6                         4/4     Running            0                87s
  • 安装 LocalStorage 调度扩展

  • 创建 localstorage 资源

    # 自动创建
    kubectl apply -f deploy/ls-job.yaml
    
    # 手动创建
    # 修改 examples/ls.yaml, 多个 node 节点需要多次创建
    kubectl apply -f examples/ls.yaml
    
    # 验证
    kubectl get ls
    NAME         STATUS   KUBENODE   ALLOCATABLE   CAPACITY   AGE
    ls-pixiu01   Ready    pixiu01    360Gi         360Gi      16d
  • 安装 storageclass

    kubectl apply -f deploy/ls-storageclass.yaml
    
    # 验证
    kubectl get sc pixiu-localstorage
    NAME                 PROVISIONER                       RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
    pixiu-localstorage   localstorage.csi.caoyingjunz.io   Delete          WaitForFirstConsumer   false                  2m54s
  • 创建 pvc 验证

    kubectl apply -f examples/pvc.yaml
    
    # 验证
    kubectl get pvc
    NAME                 STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS              AGE
    test-pvc             Bound    pvc-2b2c809f-33b5-437f-a4b8-61906c10a3e1   1Mi        RWX            pixiu-localstorage        5s

Feature

  • Schedule with volume status
  • Volume metrics

学习分享

沟通交流

  • 搜索微信号 yingjuncz, 备注(ls), 验证通过会加入群聊
  • bilibili 技术分享

Copyright 2019 caoyingjun ([email protected]) Apache License 2.0

csi-driver-localstorage's People

Contributors

aide-cloud avatar caoyingjunz avatar crazytaxii avatar darianjmy avatar dierbei avatar gitlayzer avatar houwenchen avatar kit-hung avatar lbemi avatar maincine avatar pixiuio avatar shcw avatar wanglishuai1 avatar yongxingma avatar yvanu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

csi-driver-localstorage's Issues

实现 csi 的 csi.NodeServer 接口

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

localstorage node配置错误时,提供报错信息

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

The ls object should be protect when deleting

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

支持卷快照能力,提供卷备份能力

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

支持卷跨节点迁移接口

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

删除volume的接口异常

Describe the Bug
A clear and concise description of what the bug is.

For UI issues please also add a screenshot that shows the issue.

Versions Used
KubeSphere:
Kubernetes: (If KubeSphere installer used, you can skip this)

Environment
How many nodes and their hardware configuration:

For example: CentOS 7.5 / 3 masters: 8cpu/8g; 3 nodes: 8cpu/16g
(and other info are welcomed to help us debugging)

How To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

支持lvm的自动初始化

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

支持 helm chart 的安装方式

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

Provide an architecture diagram

What's it about?

What's the reason why we need it?

We need him to quickly learn about localstorage.

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

make 支持多个镜像同时构建和推送

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

新增 localstorage manager controller 进行 crd 资源管理

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

实现 localstorage 的资源定义

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

新增localstorage首次创建时的状态更新

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

启动初始化job的时候,提示 suspend 字段不存在

Describe the Bug
A clear and concise description of what the bug is.

For UI issues please also add a screenshot that shows the issue.

Versions Used
KubeSphere:
Kubernetes: (If KubeSphere installer used, you can skip this)

Environment
How many nodes and their hardware configuration:

For example: CentOS 7.5 / 3 masters: 8cpu/8g; 3 nodes: 8cpu/16g
(and other info are welcomed to help us debugging)

How To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

支持卷的限速

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

支持 pod 的 mount 接口实现

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

提供单元测试

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

prometheus metrics

What's it about?

prometheus metrics

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

localstorage 的 volumes 维护分配的卷

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

将webhook 合并进 manager-controller 进程

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

创建pod时,调度时获取关联 pvc 失败

Describe the Bug
A clear and concise description of what the bug is.

For UI issues please also add a screenshot that shows the issue.

Versions Used
KubeSphere:
Kubernetes: (If KubeSphere installer used, you can skip this)

failed to get pvc pixiu-test-sts-0 from indexer: persistentvolumeclaim "pixiu-test-sts-0" not found

Environment
How many nodes and their hardware configuration:

For example: CentOS 7.5 / 3 masters: 8cpu/8g; 3 nodes: 8cpu/16g
(and other info are welcomed to help us debugging)

How To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

实现localstorage的后端 lvm 的具体方法

What's it about?

What's the reason why we need it?

I believe this is an important feature for Pixiu. There're a few use cases:

  • case one
  • case two
  • ...

Please leave your comments below if there's anyone agrees with me. Or just give me a thumb up.

Area Suggestion

/kind feature-request

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.