fix rook add missing destination
This commit is contained in:
@@ -15,14 +15,12 @@ spec:
|
|||||||
values: |
|
values: |
|
||||||
operatorNamespace: rook-ceph
|
operatorNamespace: rook-ceph
|
||||||
toolbox:
|
toolbox:
|
||||||
enabled: true # Nützlich für Debugging (ceph CLI)
|
enabled: true
|
||||||
|
|
||||||
# Monitoring Dashboard
|
|
||||||
dashboard:
|
dashboard:
|
||||||
enabled: true
|
enabled: true
|
||||||
ssl: false
|
ssl: false
|
||||||
|
|
||||||
# Single Node Config (WICHTIG für dein Setup)
|
|
||||||
cephClusterSpec:
|
cephClusterSpec:
|
||||||
dataDirHostPath: /var/lib/rook
|
dataDirHostPath: /var/lib/rook
|
||||||
mon:
|
mon:
|
||||||
@@ -32,13 +30,12 @@ spec:
|
|||||||
count: 1
|
count: 1
|
||||||
allowMultiplePerNode: true
|
allowMultiplePerNode: true
|
||||||
|
|
||||||
# Wir nutzen PVCs statt Raw Disks (einfacher in VM)
|
|
||||||
storage:
|
storage:
|
||||||
useAllNodes: false
|
useAllNodes: false
|
||||||
useAllDevices: false
|
useAllDevices: false
|
||||||
storageClassDeviceSets:
|
storageClassDeviceSets:
|
||||||
- name: set1
|
- name: set1
|
||||||
count: 1 # Anzahl der OSDs
|
count: 1
|
||||||
portable: false
|
portable: false
|
||||||
tuneDeviceClass: true
|
tuneDeviceClass: true
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
@@ -52,14 +49,13 @@ spec:
|
|||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
|
|
||||||
# S3 Object Store (RadosGW)
|
|
||||||
cephObjectStores:
|
cephObjectStores:
|
||||||
- name: ceph-objectstore
|
- name: ceph-objectstore
|
||||||
spec:
|
spec:
|
||||||
metadataPool:
|
metadataPool:
|
||||||
failureDomain: host
|
failureDomain: host
|
||||||
replicated:
|
replicated:
|
||||||
size: 1 # Keine Replikation (Single Node)
|
size: 1
|
||||||
dataPool:
|
dataPool:
|
||||||
failureDomain: host
|
failureDomain: host
|
||||||
replicated:
|
replicated:
|
||||||
@@ -73,9 +69,8 @@ spec:
|
|||||||
enabled: true
|
enabled: true
|
||||||
interval: 60s
|
interval: 60s
|
||||||
|
|
||||||
# StorageClass für S3 Buckets (damit wir Buckets via K8s Yaml anlegen können)
|
|
||||||
cephObjectStoreUser:
|
cephObjectStoreUser:
|
||||||
enabled: false # Wir legen User manuell oder via CRD an
|
enabled: false
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
dashboard:
|
dashboard:
|
||||||
@@ -89,3 +84,13 @@ spec:
|
|||||||
- hosts:
|
- hosts:
|
||||||
- ceph.apps.internal.k3s.stabify.de
|
- ceph.apps.internal.k3s.stabify.de
|
||||||
secretName: ceph-dashboard-tls
|
secretName: ceph-dashboard-tls
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: rook-ceph
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
- ServerSideApply=true
|
||||||
|
|||||||
22
infrastructure/rook-ceph-config-app.yaml
Normal file
22
infrastructure/rook-ceph-config-app.yaml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: rook-ceph-config
|
||||||
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
argocd.argoproj.io/sync-wave: "3" # Nach dem Cluster deployen
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
source:
|
||||||
|
repoURL: https://git.cloud-infra.prod.openmailserver.de/stabify/gitops.git
|
||||||
|
targetRevision: HEAD
|
||||||
|
path: infrastructure/rook-ceph
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: rook-ceph
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
Reference in New Issue
Block a user