2019-03-13 23:15:14 -06:00
|
|
|
#################################################################################################################
|
|
|
|
|
# Create an object store with settings for a test environment. Only a single OSD is required in this example.
|
|
|
|
|
# kubectl create -f object-test.yaml
|
|
|
|
|
#################################################################################################################
|
|
|
|
|
|
|
|
|
|
apiVersion: ceph.rook.io/v1
|
|
|
|
|
kind: CephObjectStore
|
|
|
|
|
metadata:
|
|
|
|
|
name: my-store
|
2020-12-09 13:21:15 -07:00
|
|
|
namespace: rook-ceph # namespace:cluster
|
2019-03-13 23:15:14 -06:00
|
|
|
spec:
|
|
|
|
|
metadataPool:
|
|
|
|
|
replicated:
|
|
|
|
|
size: 1
|
|
|
|
|
dataPool:
|
|
|
|
|
replicated:
|
|
|
|
|
size: 1
|
2019-09-24 18:35:34 +02:00
|
|
|
preservePoolsOnDelete: false
|
2019-03-13 23:15:14 -06:00
|
|
|
gateway:
|
|
|
|
|
port: 80
|
2020-09-02 12:14:01 +05:30
|
|
|
# securePort: 443
|
2019-03-13 23:15:14 -06:00
|
|
|
instances: 1
|