`CephObjectStore->gateway->type` is not used. Rook has only supported s3-like
interface and hasn't had no code which handles `type` field.
In addition, this field was removed from CRD in the following commit.
ceph: auto-gen crds
31db03fece
Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
#################################################################################################################
|
|
# Create an object store with settings for a test environment. Only a single OSD is required in this example.
|
|
# kubectl create -f object-multisite.yaml
|
|
#################################################################################################################
|
|
apiVersion: ceph.rook.io/v1
|
|
kind: CephObjectRealm
|
|
metadata:
|
|
name: realm-a
|
|
namespace: rook-ceph # namespace:cluster
|
|
---
|
|
apiVersion: ceph.rook.io/v1
|
|
kind: CephObjectZoneGroup
|
|
metadata:
|
|
name: zonegroup-a
|
|
namespace: rook-ceph # namespace:cluster
|
|
spec:
|
|
realm: realm-a
|
|
---
|
|
apiVersion: ceph.rook.io/v1
|
|
kind: CephObjectZone
|
|
metadata:
|
|
name: zone-a
|
|
namespace: rook-ceph # namespace:cluster
|
|
spec:
|
|
zoneGroup: zonegroup-a
|
|
metadataPool:
|
|
failureDomain: host
|
|
replicated:
|
|
size: 1
|
|
requireSafeReplicaSize: true
|
|
dataPool:
|
|
failureDomain: host
|
|
replicated:
|
|
size: 1
|
|
requireSafeReplicaSize: true
|
|
parameters:
|
|
compression_mode: none
|
|
---
|
|
apiVersion: ceph.rook.io/v1
|
|
kind: CephObjectStore
|
|
metadata:
|
|
name: multisite-store
|
|
namespace: rook-ceph # namespace:cluster
|
|
spec:
|
|
gateway:
|
|
port: 80
|
|
# securePort: 443
|
|
instances: 1
|
|
zone:
|
|
name: zone-a
|