Skip to content

Commit

Permalink
feat: persistent storage
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian committed Sep 28, 2021
1 parent b511e4e commit acff6d9
Show file tree
Hide file tree
Showing 309 changed files with 36,450 additions and 11,259 deletions.
19 changes: 19 additions & 0 deletions _docs/kustomize/storage/storageclass.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: beta2
labels:
akash.network: "true"
provisioner: rancher.io/local-path
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: default
labels:
akash.network: "true"
provisioner: rancher.io/local-path
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
42 changes: 42 additions & 0 deletions _docs/rook/cluster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
kind: ConfigMap
apiVersion: v1
metadata:
name: rook-config-override
namespace: rook-ceph # namespace:cluster
data:
config: |
[global]
osd_pool_default_size = 1
mon_warn_on_pool_no_redundancy = false
bdev_flock_retry = 20
bluefs_buffered_io = false
---
apiVersion: ceph.rook.io/v1
kind: CephCluster
metadata:
name: rook-ceph
namespace: rook-ceph # namespace:cluster
spec:
dataDirHostPath: /var/lib/rook
cephVersion:
image: ceph/ceph:v15.2.13
allowUnsupported: true
mon:
count: 1
allowMultiplePerNode: true
mgr:
count: 1
dashboard:
enabled: true
crashCollector:
disable: true
storage: # cluster level storage configuration and selection
useAllNodes: true
useAllDevices: true
healthCheck:
daemonHealth:
mon:
interval: 45s
timeout: 600s
disruptionManagement:
managePodBudgets: true
Loading

0 comments on commit acff6d9

Please sign in to comment.