-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathvalues.yaml
More file actions
134 lines (126 loc) · 3.47 KB
/
Copy pathvalues.yaml
File metadata and controls
134 lines (126 loc) · 3.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
global:
# -- OpenShift cluster platform (AWS, Azure, GCP). Used to select the default OSD storage class when odf.osd.pvc.storageClassName is empty.
clusterPlatform: ""
odf:
namespace: openshift-storage
serviceUrl: "http://rook-ceph-rgw-ocs-storagecluster-cephobjectstore.openshift-storage.svc.cluster.local"
externalUrl: "https://s3-rgw-openshift-storage"
enable_mirroring: false
mon:
requests:
cpu: 1
memory: 2Gi
mds:
requests:
cpu: 3
memory: 8Gi
mgr:
requests:
cpu: 1
memory: 3Gi
noobaacore:
requests:
cpu: 1
memory: 4Gi
noobaadb:
requests:
cpu: 1
memory: 4Gi
osd:
requests:
cpu: 2
memory: 5Gi
pvc:
storage: 2Ti
# -- Storage class for ODF OSD volumes. Empty selects a platform default from global.clusterPlatform (AWS: gp3-csi, Azure: managed-csi, GCP: standard-csi).
storageClassName: ""
# -- Optional preparePlacement for OSD device sets. When set, overrides the default empty
# preparePlacement on the StorageCluster storageDeviceSets, allowing topology spread
# constraints or affinity rules to control OSD prepare pod scheduling.
preparePlacement: {}
storageClass:
name: ocs-storagecluster-ceph-rgw
# name: openshift-storage.noobaa.io
objectStoreName: ocs-storagecluster-cephobjectstore
route:
name: s3-rgw
service:
name: rook-ceph-rgw-ocs-storagecluster-cephobjectstore
weight: 100
port:
targetPort: http
#Define the CephObjectStorage parameters
objectStorage:
# -- Deploy object storage (Ceph RGW, NooBaa MCG, and related StorageClasses/Routes). When false, NooBaa reconciliation is disabled.
enable: true
dataPool:
replicas: 3
# -- Failuredomain for the dataPool
failureDomain: host
metadataPool:
# -- Failuredomain for the metadataPool
failureDomain: host
gateway:
instances: 2
resources:
requests:
cpu: "1"
memory: 4Gi
limits:
cpu: "2"
memory: 6Gi
#Define the odf storageSystem parameters
storageSystem:
inventory:
nodeJobLabelSelector: 'node-role.kubernetes.io/worker='
useSpecificNodes: true # true/false to label a specific set of nodes to be part of ODF
nodes: # At least specify three nodes
- nodeA
- nodeB
- nodeC
deploy: false
name: ocs-storagecluster-storagesystem
namespace: openshift-storage
spec:
kind: storagecluster.ocs.openshift.io/v1
name: ocs-storagecluster
namespace: ""
#RoleBasedAccessControl
serviceAccountName: odf-node-label-sa
rbac:
roles:
- name: label-storage-nodes
createRole: true
apiGroups:
- '""'
scope:
cluster: true
resources:
- nodes
verbs:
- "get"
- "list"
- "patch"
- "update"
roleBindings:
- name: label-storage-nodes
createBinding: true
scope:
cluster: true
namespace: ""
subjects:
kind: ServiceAccount
name: odf-node-label-sa
namespace: openshift-storage
apiGroup: ""
roleRef:
kind: ClusterRole
name: label-storage-nodes
job:
image: image-registry.openshift-image-registry.svc:5000/openshift/cli:latest
# -- Cron schedule for re-labeling storage nodes after the initial Job (UTC).
schedule: "*/15 * * * *"
# -- successfulJobsHistoryLimit for the label-storage-nodes CronJob.
successfulJobsHistoryLimit: 3
# -- failedJobsHistoryLimit for the label-storage-nodes CronJob.
failedJobsHistoryLimit: 1