From c612bf7ffaebd2057c9129a18f7662c0b9eabc24 Mon Sep 17 00:00:00 2001 From: Steffen Illium <steffen.illium@gmail.com> Date: Thu, 2 May 2024 19:07:34 +0200 Subject: [PATCH] traefik pvc on ceph --- infrastructure/03-traefik/base/deployment.yaml | 10 ++-------- infrastructure/03-traefik/base/pvc.yaml | 6 +++--- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/infrastructure/03-traefik/base/deployment.yaml b/infrastructure/03-traefik/base/deployment.yaml index 9c6f8c2..2ffb281 100644 --- a/infrastructure/03-traefik/base/deployment.yaml +++ b/infrastructure/03-traefik/base/deployment.yaml @@ -149,12 +149,6 @@ spec: serviceAccountName: traefik terminationGracePeriodSeconds: 60 volumes: - #- name: traefik - # persistentVolumeClaim: - # claimName: traefik-pvc - name: traefik - nfs: - server: 192.168.178.100 - path: /traefik - readOnly: false - + persistentVolumeClaim: + claimName: traefik diff --git a/infrastructure/03-traefik/base/pvc.yaml b/infrastructure/03-traefik/base/pvc.yaml index 6741d9a..2513bc7 100644 --- a/infrastructure/03-traefik/base/pvc.yaml +++ b/infrastructure/03-traefik/base/pvc.yaml @@ -1,12 +1,12 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: traefik-pvc + name: traefik namespace: traefik spec: accessModes: - ReadWriteOnce - storageClassName: local-path + storageClassName: "rook-cephfs" resources: requests: - storage: 1Gi \ No newline at end of file + storage: 500 Mi \ No newline at end of file