ooniprobe.yaml 954 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. env:
  30. - name: informed_consent
  31. value: "true"
  32. - name: upload_results
  33. value: "true"
  34. - name: sleep
  35. value: "true"
  36. volumeMounts:
  37. - mountPath: "/config"
  38. name: ooniprobe
  39. resources:
  40. requests:
  41. memory: "0"
  42. limits:
  43. memory: "300Mi"
  44. volumes:
  45. - name: ooniprobe
  46. persistentVolumeClaim:
  47. claimName: ooniprobe-pvc