Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
apiVersion: rook.io/v1alpha1
kind: Cluster
metadata:
name: rook
namespace: rook
spec:
versionTag: master
dataDirHostPath: /var/lib/rook/config
hostNetwork: true
monCount: 3
placement:
api:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: roles.example.com/rook-api
operator: In
values:
- ""
mon:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: roles.example.com/rook-mon
operator: In
values:
- ""
osd:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: roles.example.com/rook-osd
operator: In
values:
- ""
rgw:
nodeAffinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: roles.example.com/rook-rgw
operator: In
values:
- ""
resources:
api:
limits:
cpu: "100m"
memory: "512Mi"
requests:
cpu: "75m"
memory: "128Mi"
mgr:
limits:
cpu: "2"
memory: "1536Mi"
requests:
cpu: "100m"
memory: "128Mi"
storage:
useAllNodes: false
useAllDevices: false
deviceFilter: ^sd(b)
storeConfig:
storeType: bluestore
directories:
- path: "/var/lib/rook/osddata"
nodes:
- name: "worker-01.example.com"
- name: "worker-02.example.com"
- name: "worker-03.example.com"
- name: "worker-04.example.com"
- name: "worker-05.example.com"
- name: "worker-06.example.com"
- name: "worker-07.example.com"
- name: "worker-08.example.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment