valkey-production.yaml (1193B)
1 --- 2 apiVersion: apps/v1 3 kind: Deployment 4 metadata: 5 name: connectivity-tester-valkey 6 namespace: matrix 7 spec: 8 replicas: 1 9 selector: 10 matchLabels: 11 app: connectivity-tester-valkey 12 template: 13 metadata: 14 labels: 15 app: connectivity-tester-valkey 16 spec: 17 securityContext: 18 runAsUser: 999 19 runAsGroup: 999 20 fsGroup: 999 21 containers: 22 - name: valkey 23 image: valkey/valkey:8-alpine 24 ports: 25 - containerPort: 6379 26 securityContext: 27 allowPrivilegeEscalation: false 28 readOnlyRootFilesystem: false 29 capabilities: 30 drop: 31 - ALL 32 resources: 33 requests: 34 cpu: 10m 35 memory: 128Mi 36 limits: 37 cpu: 500m 38 memory: 256Mi 39 volumeMounts: 40 - name: data 41 mountPath: /data 42 volumes: 43 - name: data 44 emptyDir: {} 45 --- 46 apiVersion: v1 47 kind: Service 48 metadata: 49 name: connectivity-tester-valkey 50 namespace: matrix 51 spec: 52 selector: 53 app: connectivity-tester-valkey 54 ports: 55 - port: 6379 56 targetPort: 6379