forked from rook/rook
60 lines
1.8 KiB
YAML
60 lines
1.8 KiB
YAML
apiVersion: rook.io/v1alpha1
|
|
# For earlier versions than K8s 1.7, the kind must be Objectstore
|
|
kind: ObjectStore
|
|
metadata:
|
|
name: my-store
|
|
namespace: rook
|
|
spec:
|
|
# The pool spec used to create the metadata pools
|
|
metadataPool:
|
|
failureDomain: host
|
|
replicated:
|
|
# Increase the replication size if you have more than one osd
|
|
size: 1
|
|
# The pool spec used to create the data pool
|
|
dataPool:
|
|
failureDomain: osd
|
|
replicated:
|
|
size: 1
|
|
# If you have at least three osds, erasure coding can be specified
|
|
# erasureCoded:
|
|
# dataChunks: 2
|
|
# codingChunks: 1
|
|
# The gaeteway service configuration
|
|
gateway:
|
|
# type of the gateway (s3)
|
|
type: s3
|
|
# A reference to the secret in the rook namespace where the ssl certificate is stored
|
|
sslCertificateRef:
|
|
# The port that RGW pods will listen on (http)
|
|
port: 80
|
|
# The port that RGW pods will listen on (https). An ssl certificate is required.
|
|
securePort: 443
|
|
# The number of pods in the rgw deployment (ignored if allNodes=true)
|
|
instances: 1
|
|
# Whether the rgw pods should be deployed on all nodes as a daemonset
|
|
allNodes: false
|
|
# The affinity rules to apply to the rgw deployment or daemonset.
|
|
placement:
|
|
# nodeAffinity:
|
|
# requiredDuringSchedulingIgnoredDuringExecution:
|
|
# nodeSelectorTerms:
|
|
# - matchExpressions:
|
|
# - key: role
|
|
# operator: In
|
|
# values:
|
|
# - rgw-node
|
|
# tolerations:
|
|
# - key: rgw-node
|
|
# operator: Exists
|
|
# podAffinity:
|
|
# podAntiAffinity:
|
|
resources:
|
|
# The requests and limits set here, allow the object store gateway Pod(s) to use half of one CPU core and 1 gigabyte of memory
|
|
# limits:
|
|
# cpu: "500m"
|
|
# memory: "1024Mi"
|
|
# requests:
|
|
# cpu: "500m"
|
|
# memory: "1024Mi"
|