Files
my-rook-config/cluster/examples/kubernetes/1.6/rook-object.yaml
T

46 lines
1.3 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:
replicated:
size: 2
# The pool spec used to create the data pool
dataPool:
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: