apiVersion: apps/v1 kind: Deployment metadata: annotations: a8r.io/repository: ssh://git@git.tr1ceracop.de:222/gitea_admin/k8s-and-chill.git labels: app.kubernetes.io/instance: nextcloud app.kubernetes.io/name: valkey name: nextcloud-valkey namespace: nextcloud spec: replicas: 1 selector: matchLabels: app.kubernetes.io/instance: nextcloud app.kubernetes.io/name: valkey template: metadata: labels: app.kubernetes.io/instance: nextcloud app.kubernetes.io/name: valkey spec: containers: - args: - valkey-server - --requirepass - $(VALKEY_PASSWORD) env: - name: VALKEY_PASSWORD valueFrom: secretKeyRef: key: password name: nextcloud-valkey-password image: valkey/valkey:8-alpine livenessProbe: initialDelaySeconds: 10 periodSeconds: 10 tcpSocket: port: valkey name: valkey ports: - containerPort: 6379 name: valkey protocol: TCP readinessProbe: initialDelaySeconds: 5 periodSeconds: 5 tcpSocket: port: valkey resources: limits: memory: 128Mi requests: cpu: 50m memory: 64Mi