apiVersion: apps/v1 kind: Deployment metadata: annotations: kompose.cmd: kompose convert kompose.version: 1.26.0 (40646f47) creationTimestamp: null labels: io.kompose.service: redis name: redis spec: replicas: 1 selector: matchLabels: io.kompose.service: redis strategy: type: Recreate template: metadata: annotations: kompose.cmd: kompose convert kompose.version: 1.26.0 (40646f47) creationTimestamp: null labels: io.kompose.service: redis spec: containers: - args: - --databases - "1" image: redis:6 livenessProbe: exec: command: - redis-cli - ping failureThreshold: 5 periodSeconds: 10 timeoutSeconds: 5 name: owncloud-redis resources: {} volumeMounts: - mountPath: /data name: redis restartPolicy: Always volumes: - name: redis persistentVolumeClaim: claimName: redis status: {}