ooniprobe.yaml 987 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ---
  2. apiVersion: v1
  3. kind: Namespace
  4. metadata:
  5. name: ooniprobe
  6. ---
  7. apiVersion: apps/v1
  8. kind: Deployment
  9. metadata:
  10. name: ooniprobe
  11. namespace: ooniprobe
  12. spec:
  13. strategy:
  14. type: Recreate
  15. selector:
  16. matchLabels:
  17. app: ooniprobe
  18. replicas: 1
  19. template:
  20. metadata:
  21. labels:
  22. app: ooniprobe
  23. annotations:
  24. backup.velero.io/backup-volumes-excludes: ooniprobe
  25. spec:
  26. containers:
  27. - name: ooniprobe
  28. image: aaimio/ooniprobe:latest
  29. imagePullPolicy: Always
  30. env:
  31. - name: informed_consent
  32. value: "true"
  33. - name: upload_results
  34. value: "true"
  35. - name: sleep
  36. value: "true"
  37. volumeMounts:
  38. - mountPath: "/config"
  39. name: ooniprobe
  40. resources:
  41. requests:
  42. memory: "0"
  43. limits:
  44. memory: "300Mi"
  45. volumes:
  46. - name: ooniprobe
  47. persistentVolumeClaim:
  48. claimName: ooniprobe-pvc