fix rook add missing destination
This commit is contained in:
@@ -15,14 +15,12 @@ spec:
|
||||
values: |
|
||||
operatorNamespace: rook-ceph
|
||||
toolbox:
|
||||
enabled: true # Nützlich für Debugging (ceph CLI)
|
||||
enabled: true
|
||||
|
||||
# Monitoring Dashboard
|
||||
dashboard:
|
||||
enabled: true
|
||||
ssl: false
|
||||
|
||||
# Single Node Config (WICHTIG für dein Setup)
|
||||
cephClusterSpec:
|
||||
dataDirHostPath: /var/lib/rook
|
||||
mon:
|
||||
@@ -32,13 +30,12 @@ spec:
|
||||
count: 1
|
||||
allowMultiplePerNode: true
|
||||
|
||||
# Wir nutzen PVCs statt Raw Disks (einfacher in VM)
|
||||
storage:
|
||||
useAllNodes: false
|
||||
useAllDevices: false
|
||||
storageClassDeviceSets:
|
||||
- name: set1
|
||||
count: 1 # Anzahl der OSDs
|
||||
count: 1
|
||||
portable: false
|
||||
tuneDeviceClass: true
|
||||
volumeClaimTemplates:
|
||||
@@ -52,14 +49,13 @@ spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
|
||||
# S3 Object Store (RadosGW)
|
||||
cephObjectStores:
|
||||
- name: ceph-objectstore
|
||||
spec:
|
||||
metadataPool:
|
||||
failureDomain: host
|
||||
replicated:
|
||||
size: 1 # Keine Replikation (Single Node)
|
||||
size: 1
|
||||
dataPool:
|
||||
failureDomain: host
|
||||
replicated:
|
||||
@@ -73,9 +69,8 @@ spec:
|
||||
enabled: true
|
||||
interval: 60s
|
||||
|
||||
# StorageClass für S3 Buckets (damit wir Buckets via K8s Yaml anlegen können)
|
||||
cephObjectStoreUser:
|
||||
enabled: false # Wir legen User manuell oder via CRD an
|
||||
enabled: false
|
||||
|
||||
ingress:
|
||||
dashboard:
|
||||
@@ -89,3 +84,13 @@ spec:
|
||||
- hosts:
|
||||
- ceph.apps.internal.k3s.stabify.de
|
||||
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