Code Monkey home page Code Monkey logo

k8s-cloudreve's Introduction

通过k8s方式部署 cloudreve

  • 依赖 k8s 1.23
  • cert-manager 1.9.1

部署方式

  1. hostpath:直接挂载宿主机的物理地址。无外部存储的单节点,可以用该方法体验。多节点的,需要用nodeSelector 参数绑定指定的node机器,防止节点飘逸到其他机器上去了。

配置文件样例在 cloudreve_hostpath文件夹中,

部署顺序: conf.yaml -> deploment.yaml -> service.yaml -> ingress.yaml

  1. 直接使用nfs挂载:不用配置pvc,直接在deploment中进行挂载nfs路径。

配置文件样例在 cloudreve_nfs文件夹中,

部署顺序: conf.yaml -> deploment.yaml -> service.yaml -> ingress.yaml

  1. 标准的pvc方式: 标准的pvc方式,可以支持挂载多种存储后端,这里以nfs的后端存储为demo。

配置文件样例在 cloudreve_with_pvc文件夹中,

部署顺序:nfs.sh -> pvc.yaml -> conf.yaml -> deploment.yaml -> service.yaml -> ingress.yaml

k8s-cloudreve's People

Contributors

scjtqs2 avatar

Watchers

 avatar

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.