diff --git a/ente/kustomization.yaml b/ente/kustomization.yaml index 3fc9800..cf2e57e 100644 --- a/ente/kustomization.yaml +++ b/ente/kustomization.yaml @@ -11,7 +11,7 @@ images: - name: museum newName: code.icb4dc0.de/infrastructure/images/ente/musuem newTag: latest - digest: sha256:f481c5cb262b8e737a11dd1dc20951b172f75f30ee742e6091981747fc3e57d7 + digest: sha256:93a7bf919813551ed53ceedba33d6fc6bcd8eec34ec7513865b46d2019be08c4 - name: photos newName: code.icb4dc0.de/infrastructure/images/ente/photos newTag: v0.9.27 @@ -20,22 +20,23 @@ images: newTag: v0.9.30 labels: -- includeSelectors: true - pairs: - app.kubernetes.io/instance: ente - app.kubernetes.io/managed-by: kustomize + - includeSelectors: true + pairs: + app.kubernetes.io/instance: ente + app.kubernetes.io/managed-by: kustomize resources: -- resources/namespace.yaml -- resources/museum/db/db.yaml -- resources/museum/db/user.yaml -- resources/museum/deployment.yaml -- resources/museum/service.yaml -- resources/photos/deployment.yaml -- resources/photos/service.yaml -- resources/cast/deployment.yaml -- resources/cast/service.yaml -- resources/http_routes.yaml + - resources/namespace.yaml + - resources/museum/db/db.yaml + - resources/museum/db/user.yaml + - resources/museum/cache.yaml + - resources/museum/deployment.yaml + - resources/museum/service.yaml + - resources/photos/deployment.yaml + - resources/photos/service.yaml + - resources/cast/deployment.yaml + - resources/cast/service.yaml + - resources/http_routes.yaml configMapGenerator: - name: museum-config diff --git a/ente/resources/museum/cache.yaml b/ente/resources/museum/cache.yaml new file mode 100644 index 0000000..d513f05 --- /dev/null +++ b/ente/resources/museum/cache.yaml @@ -0,0 +1,20 @@ +--- +apiVersion: dragonflydb.io/v1alpha1 +kind: Dragonfly +metadata: + name: musuem-cache + labels: + app.kubernetes.io/name: museum-cache + app.kubernetes.io/instance: museum + app.kubernetes.io/part-of: ente +spec: + replicas: 2 + nodeSelector: + kubernetes.io/arch: arm64 + resources: + requests: + cpu: 50m + memory: 50Mi + limits: + cpu: 100m + memory: 350Mi