Last active
August 13, 2019 05:17
-
-
Save tutsunom/9f5dcea6dcfe2b0d61a4f21fc9ed8a55 to your computer and use it in GitHub Desktop.
Rook-Ceph : create ceph cluster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: ceph.rook.io/v1 | |
kind: CephCluster | |
metadata: | |
name: my-rook-ceph | |
namespace: my-rook-ceph | |
spec: | |
cephVersion: | |
image: 'ceph/ceph:v14.2.1-20190430' | |
dataDirHostPath: /var/lib/rook | |
mon: | |
count: 3 | |
allowMultiplePerNode: false | |
dashboard: | |
enabled: true | |
network: | |
hostNetwork: false | |
rbdMirroring: | |
workers: 0 | |
placement: | |
all: | |
nodeAffinity: | |
requiredDuringSchedulingIgnoredDuringExecution: | |
nodeSelectorTerms: | |
- matchExpressions: | |
- key: nodetype | |
operator: In | |
values: | |
- storage | |
podAffinity: | |
podAntiAffinity: | |
tolerations: | |
- key: nodetype | |
operator: Equal | |
value: storage | |
effect: "NoSchedule" | |
storage: | |
useAllNodes: true | |
useAllDevices: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment