modified: infrastructure/rook-ceph-operator-app.yaml
modified: infrastructure/rook-ceph/cluster.yaml modified: infrastructure/rook-ceph/objectstore.yaml new file: infrastructure/rook-ceph/toolbox.yaml
This commit is contained in:
@@ -10,7 +10,7 @@ spec:
|
|||||||
source:
|
source:
|
||||||
chart: rook-ceph
|
chart: rook-ceph
|
||||||
repoURL: https://charts.rook.io/release
|
repoURL: https://charts.rook.io/release
|
||||||
targetRevision: v1.13.3 # Nutze eine feste Version für Stabilität
|
targetRevision: v1.14.8 # Nutze eine feste Version für Stabilität
|
||||||
helm:
|
helm:
|
||||||
values: |
|
values: |
|
||||||
crds:
|
crds:
|
||||||
|
|||||||
@@ -5,40 +5,100 @@ metadata:
|
|||||||
namespace: rook-ceph
|
namespace: rook-ceph
|
||||||
spec:
|
spec:
|
||||||
cephVersion:
|
cephVersion:
|
||||||
image: quay.io/ceph/ceph:v18.2.1
|
image: quay.io/ceph/ceph:v18.2.2
|
||||||
allowUnsupported: false
|
allowUnsupported: false
|
||||||
dataDirHostPath: /var/lib/rook
|
dataDirHostPath: /var/lib/rook
|
||||||
|
skipUpgradeChecks: false
|
||||||
|
continueUpgradeAfterChecksEvenIfNotHealthy: false
|
||||||
|
waitTimeoutForHealthyOSDInMinutes: 10
|
||||||
|
upgradeOSDRequiresHealthyPGs: false
|
||||||
mon:
|
mon:
|
||||||
count: 1
|
count: 3
|
||||||
allowMultiplePerNode: true
|
allowMultiplePerNode: false
|
||||||
mgr:
|
mgr:
|
||||||
count: 1
|
count: 2
|
||||||
allowMultiplePerNode: true
|
allowMultiplePerNode: false
|
||||||
|
modules:
|
||||||
|
- name: rook
|
||||||
|
enabled: true
|
||||||
dashboard:
|
dashboard:
|
||||||
enabled: true
|
enabled: true
|
||||||
ssl: false
|
port: 8443
|
||||||
resources:
|
ssl: true
|
||||||
mgr:
|
monitoring:
|
||||||
limits:
|
enabled: false
|
||||||
cpu: "1000m"
|
metricsDisabled: false
|
||||||
memory: "1Gi"
|
network:
|
||||||
requests:
|
connections:
|
||||||
cpu: "100m"
|
encryption:
|
||||||
memory: "512Mi"
|
enabled: false
|
||||||
mon:
|
compression:
|
||||||
limits:
|
enabled: false
|
||||||
cpu: "1000m"
|
requireMsgr2: false
|
||||||
memory: "2Gi"
|
crashCollector:
|
||||||
requests:
|
disable: false
|
||||||
cpu: "100m"
|
logCollector:
|
||||||
memory: "512Mi"
|
enabled: true
|
||||||
osd:
|
periodicity: daily
|
||||||
limits:
|
maxLogSize: 500M
|
||||||
cpu: "1000m"
|
cleanupPolicy:
|
||||||
memory: "2Gi"
|
confirmation: ""
|
||||||
requests:
|
sanitizeDisks:
|
||||||
cpu: "100m"
|
method: quick
|
||||||
memory: "1Gi"
|
dataSource: zero
|
||||||
|
iteration: 1
|
||||||
|
allowUninstallWithVolumes: false
|
||||||
|
removeOSDsIfOutAndSafeToRemove: false
|
||||||
|
priorityClassNames:
|
||||||
|
mon: system-node-critical
|
||||||
|
osd: system-node-critical
|
||||||
|
mgr: system-cluster-critical
|
||||||
storage:
|
storage:
|
||||||
useAllNodes: true
|
useAllNodes: false
|
||||||
useAllDevices: true
|
useAllDevices: false # Set to true if you want to use all available raw devices on these nodes
|
||||||
|
config:
|
||||||
|
databaseSizeMB: "1024"
|
||||||
|
nodes:
|
||||||
|
- name: "vm-k3s-master-400.stabify.de"
|
||||||
|
devices:
|
||||||
|
- name: "sdb"
|
||||||
|
# - name: "sdc"
|
||||||
|
- name: "vm-k3s-master-401.stabify.de"
|
||||||
|
devices:
|
||||||
|
- name: "sdb"
|
||||||
|
- name: "vm-k3s-master-402.stabify.de"
|
||||||
|
devices:
|
||||||
|
- name: "sdb"
|
||||||
|
onlyApplyOSDPlacement: false
|
||||||
|
disruptionManagement:
|
||||||
|
managePodBudgets: true
|
||||||
|
osdMaintenanceTimeout: 30
|
||||||
|
pgHealthCheckTimeout: 0
|
||||||
|
csi:
|
||||||
|
readAffinity:
|
||||||
|
enabled: false
|
||||||
|
healthCheck:
|
||||||
|
daemonHealth:
|
||||||
|
mon:
|
||||||
|
disabled: false
|
||||||
|
interval: 45s
|
||||||
|
osd:
|
||||||
|
disabled: false
|
||||||
|
interval: 60s
|
||||||
|
status:
|
||||||
|
disabled: false
|
||||||
|
interval: 60s
|
||||||
|
livenessProbe:
|
||||||
|
mon:
|
||||||
|
disabled: false
|
||||||
|
mgr:
|
||||||
|
disabled: false
|
||||||
|
osd:
|
||||||
|
disabled: false
|
||||||
|
startupProbe:
|
||||||
|
mon:
|
||||||
|
disabled: false
|
||||||
|
mgr:
|
||||||
|
disabled: false
|
||||||
|
osd:
|
||||||
|
disabled: false
|
||||||
|
|||||||
@@ -7,11 +7,11 @@ spec:
|
|||||||
metadataPool:
|
metadataPool:
|
||||||
failureDomain: host
|
failureDomain: host
|
||||||
replicated:
|
replicated:
|
||||||
size: 1
|
size: 3
|
||||||
dataPool:
|
dataPool:
|
||||||
failureDomain: host
|
failureDomain: host
|
||||||
replicated:
|
replicated:
|
||||||
size: 1
|
size: 3
|
||||||
preservePoolsOnDelete: true
|
preservePoolsOnDelete: true
|
||||||
gateway:
|
gateway:
|
||||||
type: s3
|
type: s3
|
||||||
|
|||||||
45
infrastructure/rook-ceph/toolbox.yaml
Normal file
45
infrastructure/rook-ceph/toolbox.yaml
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: rook-ceph-tools
|
||||||
|
namespace: rook-ceph
|
||||||
|
labels:
|
||||||
|
app: rook-ceph-tools
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: rook-ceph-tools
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: rook-ceph-tools
|
||||||
|
spec:
|
||||||
|
dnsPolicy: ClusterFirstWithHostNet
|
||||||
|
containers:
|
||||||
|
- name: rook-ceph-tools
|
||||||
|
image: quay.io/ceph/ceph:v18.2.2
|
||||||
|
command: ["/bin/bash"]
|
||||||
|
args: ["-c", "while true; do sleep 10; done"]
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 0
|
||||||
|
runAsNonRoot: false
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /etc/ceph
|
||||||
|
name: mon-endpoint-volume
|
||||||
|
- mountPath: /var/lib/rook
|
||||||
|
name: rook-config
|
||||||
|
volumes:
|
||||||
|
- name: mon-endpoint-volume
|
||||||
|
configMap:
|
||||||
|
name: rook-ceph-mon-endpoints
|
||||||
|
items:
|
||||||
|
- key: data
|
||||||
|
path: mon-endpoints
|
||||||
|
- name: rook-config
|
||||||
|
emptyDir: {}
|
||||||
|
tolerations:
|
||||||
|
- key: "node.kubernetes.io/unreachable"
|
||||||
|
operator: "Exists"
|
||||||
|
effect: "NoExecute"
|
||||||
|
tolerationSeconds: 5
|
||||||
Reference in New Issue
Block a user