Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: rook-ceph-operator
- namespace: rook-ceph
- labels:
- operator: rook
- storage-backend: ceph
- spec:
- selector:
- matchLabels:
- app: rook-ceph-operator
- replicas: 1
- template:
- metadata:
- labels:
- app: rook-ceph-operator
- spec:
- serviceAccountName: rook-ceph-system
- containers:
- - name: rook-ceph-operator
- image: rook/ceph:v1.0.2
- args: ["ceph", "operator"]
- volumeMounts:
- - mountPath: /var/lib/rook
- name: rook-config
- - mountPath: /etc/ceph
- name: default-config-dir
- env:
- - name: ROOK_CURRENT_NAMESPACE_ONLY
- value: "true"
- # CSI enablement
- - name: ROOK_CSI_ENABLE_CEPHFS
- value: "true"
- - name: ROOK_CSI_CEPHFS_IMAGE
- value: "quay.io/cephcsi/cephfsplugin:v1.0.0"
- - name: ROOK_CSI_ENABLE_RBD
- value: "true"
- - name: ROOK_CSI_RBD_IMAGE
- value: "quay.io/cephcsi/rbdplugin:v1.0.0"
- - name: ROOK_CSI_REGISTRAR_IMAGE
- value: "quay.io/k8scsi/csi-node-driver-registrar:v1.0.2"
- - name: ROOK_CSI_PROVISIONER_IMAGE
- value: "quay.io/k8scsi/csi-provisioner:v1.0.1"
- - name: ROOK_CSI_SNAPSHOTTER_IMAGE
- value: "quay.io/k8scsi/csi-snapshotter:v1.0.1"
- - name: ROOK_CSI_ATTACHER_IMAGE
- value: "quay.io/k8scsi/csi-attacher:v1.0.1"
- - name: ROOK_ALLOW_MULTIPLE_FILESYSTEMS
- value: "false"
- # The logging level for the operator: INFO | DEBUG
- - name: ROOK_LOG_LEVEL
- value: "INFO"
- # The interval to check the health of the ceph cluster and update the status in the custom resource.
- - name: ROOK_CEPH_STATUS_CHECK_INTERVAL
- value: "60s"
- # The interval to check if every mon is in the quorum.
- - name: ROOK_MON_HEALTHCHECK_INTERVAL
- value: "45s"
- # The duration to wait before trying to failover or remove/replace the
- # current mon with a new mon (useful for compensating flapping network).
- - name: ROOK_MON_OUT_TIMEOUT
- value: "600s"
- # The duration between discovering devices in the rook-discover daemonset.
- - name: ROOK_DISCOVER_DEVICES_INTERVAL
- value: "60m"
- # The name of the node to pass with the downward API
- - name: NODE_NAME
- valueFrom:
- fieldRef:
- fieldPath: spec.nodeName
- # The pod name to pass with the downward API
- - name: POD_NAME
- valueFrom:
- fieldRef:
- fieldPath: metadata.name
- # The pod namespace to pass with the downward API
- - name: POD_NAMESPACE
- valueFrom:
- fieldRef:
- fieldPath: metadata.namespace
- volumes:
- - name: rook-config
- emptyDir: {}
- - name: default-config-dir
- emptyDir: {}
Advertisement
Add Comment
Please, Sign In to add comment