Git Product home page Git Product logo

rook-ceph-playground's Introduction

rook-ceph-playground

Kustomize を使用して Rook/Ceph をデプロイする。参考

※ 3 ノード以上の ベアメタル Kubernetes クラスタが構築済みであるとします。

Requirement

### kubectl / kustomize コマンドが使用できることを確認
$ kubectl version -o yaml
clientVersion:
  buildDate: "2022-10-12T10:57:26Z"
  compiler: gc
  gitCommit: 434bfd82814af038ad94d62ebe59b133fcb50506
  gitTreeState: clean
  gitVersion: v1.25.3
  goVersion: go1.19.2
  major: "1"
  minor: "25"
  platform: darwin/amd64
kustomizeVersion: v4.5.7
serverVersion:
  buildDate: "2022-10-12T10:49:09Z"
  compiler: gc
  gitCommit: 434bfd82814af038ad94d62ebe59b133fcb50506
  gitTreeState: clean
  gitVersion: v1.25.3
  goVersion: go1.19.2
  major: "1"
  minor: "25"
  platform: linux/amd64

Usage

1. Rook/Ceph

$ cd ./rook-ceph

### rook-ceph という Namespace を準備する
$ kubectl create namespace rook-ceph

### Rook/Ceph のデプロイ
$ kustomize build ./base | kubectl apply -f -

### Tool Boxのデプロイ(必要に応じて)
$ kubectl apply -f ./base/toolbox.yaml -n rook-ceph

2. MinIO Operator

$ cd ./minio/operator

### minio-operator という Namespace を準備する
$ kubectl create namespace minio-operator

### MinIO Operator のデプロイ
$ kustomize build ./base  | kubectl apply -f -

3. MinIO Tenant

$ cd ./minio/tetant

### minio-tenant-sample-bucket-provider という Namespace を準備する
$ kubectl create namespace minio-tenant-sample-bucket-provider

### MinIO Tenant のデプロイ
$ kustomize build ./base  | kubectl apply -f -

パラメタ設定

  • これ が分かりやすい
# ./rook-ceph/base/ceph-cluster.yaml
spec.mon.allowMultiplePerNode: false ## 1 ノードに複数の MON を配置することを許可するかどうか
spec.mgr.allowMultiplePerNode: false ## 1 ノードに複数の MGR を配置することを許可するかどうか

rook-ceph-playground's People

Contributors

gotoren avatar

Watchers

 avatar  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.