120 lines
3.1 KiB
YAML
120 lines
3.1 KiB
YAML
toolbox:
|
|
# -- Enable Ceph debugging pod deployment. See [toolbox](../Troubleshooting/ceph-toolbox.md)
|
|
enabled: true
|
|
cephBlockPools: []
|
|
cephObjectStores: []
|
|
cephFileSystems:
|
|
- name: ceph-filesystem
|
|
spec:
|
|
metadataPool:
|
|
replicated:
|
|
size: 3
|
|
dataPools:
|
|
- failureDomain: host
|
|
replicated:
|
|
size: 3
|
|
name: data0
|
|
metadataServer:
|
|
activeCount: 1
|
|
activeStandby: true
|
|
resources:
|
|
limits:
|
|
cpu: ~
|
|
memory: "512Mi"
|
|
requests:
|
|
cpu: "100m"
|
|
memory: "512Mi"
|
|
priorityClassName: system-cluster-critical
|
|
storageClass:
|
|
enabled: true
|
|
isDefault: true
|
|
name: ceph-filesystem
|
|
pool: data0
|
|
reclaimPolicy: Delete
|
|
allowVolumeExpansion: true
|
|
volumeBindingMode: "Immediate"
|
|
mountOptions: []
|
|
# - discard
|
|
parameters:
|
|
csi.storage.k8s.io/provisioner-secret-name: rook-csi-cephfs-provisioner
|
|
csi.storage.k8s.io/provisioner-secret-namespace: "{{ .Release.Namespace }}"
|
|
csi.storage.k8s.io/controller-expand-secret-name: rook-csi-cephfs-provisioner
|
|
csi.storage.k8s.io/controller-expand-secret-namespace: "{{ .Release.Namespace }}"
|
|
csi.storage.k8s.io/node-stage-secret-name: rook-csi-cephfs-node
|
|
csi.storage.k8s.io/node-stage-secret-namespace: "{{ .Release.Namespace }}"
|
|
csi.storage.k8s.io/fstype: ext4
|
|
|
|
cephClusterSpec:
|
|
dashboard:
|
|
enabled: true
|
|
ssl: false
|
|
all:
|
|
nodeAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
nodeSelectorTerms:
|
|
- matchExpressions:
|
|
- key: role
|
|
operator: In
|
|
values:
|
|
- ceph
|
|
mgr:
|
|
count: 1
|
|
mon:
|
|
count: 1
|
|
resources:
|
|
api:
|
|
requests:
|
|
cpu: "500m"
|
|
memory: "512Mi"
|
|
limits:
|
|
memory: "512Mi"
|
|
mgr:
|
|
requests:
|
|
cpu: "500m"
|
|
memory: "512Mi"
|
|
limits:
|
|
memory: "512Mi"
|
|
mon:
|
|
limits:
|
|
memory: "512Mi"
|
|
requests:
|
|
cpu: "300m"
|
|
memory: "512Mi"
|
|
osd:
|
|
requests:
|
|
cpu: "500m"
|
|
memory: "1408Mi"
|
|
limits:
|
|
memory: "1408Mi"
|
|
#limits:
|
|
# cpu: "400m"
|
|
# memory: "1280Mi"
|
|
#requests:
|
|
# cpu: "200m"
|
|
# memory: "256Mi"
|
|
|
|
cephFileSystemVolumeSnapshotClass:
|
|
enabled: true
|
|
name: ceph-filesystem
|
|
isDefault: true
|
|
deletionPolicy: Delete
|
|
|
|
ingress:
|
|
# -- Enable an ingress for the ceph-dashboard
|
|
dashboard:
|
|
annotations:
|
|
kubernetes.io/ingress.class: traefik
|
|
kubernetes.io/tls-acme: "true"
|
|
kubernetes.io/ingress.allow-http: "false"
|
|
kubernetes.io/ingress.global-static-ip-name: ""
|
|
cert-manager.io/cluster-issuer: badhouseplants-issuer-http01
|
|
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
|
host:
|
|
name: dashboard-ceph.badhouseplants.net
|
|
path: "/"
|
|
tls:
|
|
- hosts:
|
|
- dashboard-ceph.badhouseplants.net
|
|
secretName: dashboard-ceph.badhouseplants.net
|
|
ingressClassName: traefik
|