apiVersion: v1 kind: Service metadata: name: downtify-service namespace: downtify spec: selector: app: downtify ports: - port: 8000 targetPort: 8000 --- apiVersion: apps/v1 kind: Deployment metadata: name: downtify-deployment namespace: downtify spec: replicas: 1 selector: matchLabels: app: downtify template: metadata: labels: app: downtify spec: containers: - name: downtify image: ghcr.io/henriquesebastiao/downtify:latest ports: - containerPort: 8000 volumeMounts: - name: downloads mountPath: /downloads resources: requests: memory: "128Mi" cpu: "200m" limits: memory: "1Gi" cpu: "1" volumes: - name: downloads persistentVolumeClaim: claimName: downtify-downloads-pvc --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: downtify-downloads-pvc namespace: downtify spec: accessModes: - ReadWriteOnce resources: requests: storage: 10Gi