Giter VIP home page Giter VIP logo

open-object's Introduction

Open-Object

Open-Object将对象存储能力以 PV/PVC 方式提供给 K8s 集群内的应用使用,即将一个 Bucket 挂载到容器目录中,使得应用像访问本地文件一般(通过 read/write/stat 等 POSIX 接口)访问 Bucket 中的 Object。

Open-Object已广泛用于生产环境,目前使用的产品包括:

特性

  • 支持S3对象存储作为后端存储
  • 存储卷动态分配
  • 存储卷容量隔离
  • 存储卷扩容
  • 存储卷监控

开发

# clone repo
mkdir -p $GOPATH/src/github.com/alibaba/
cd $GOPATH/src/github.com/alibaba/
git clone https://github.com/alibaba/open-object.git
cd open-object
# build binary
make
# build image
make image

部署

# 安装 s3fs 依赖
# 需要在 k8s 集群每个节点上安装
yum update
yum install -y s3fs

cd $GOPATH/src/github.com/alibaba/open-object
# 编辑 values.yaml 中的 .minio 字段
# minio:
#   host: "http://10.96.2.217:9000"
#   accesskey: "minio"
#   secretkey: "miniostorage"
#   region: "china"
vi values.yaml
# 通过 helm 安装 open-object
helm install open-object helm/

许可证

Apache 2.0 License

open-object's People

Contributors

alibaba-oss avatar thebeatles1994 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dawnguodev

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.