Преглед на файлове

Merge pull request #630 from truenas/NAS-117076

NAS-117076 / 22.12 / Allow consuming gpu in photoprism
M. Rehan преди 3 години
родител
ревизия
e4e250a362
променени са 26 файла, в които са добавени 26 реда и са изтрити 2 реда
  1. 0 0
      charts/photoprism/1.0.6/Chart.lock
  2. 1 1
      charts/photoprism/1.0.6/Chart.yaml
  3. 0 0
      charts/photoprism/1.0.6/README.md
  4. 0 0
      charts/photoprism/1.0.6/app-readme.md
  5. 0 0
      charts/photoprism/1.0.6/charts/common-2207.0.0.tgz
  6. 0 0
      charts/photoprism/1.0.6/ix_values.yaml
  7. 12 0
      charts/photoprism/1.0.6/questions.yaml
  8. 0 0
      charts/photoprism/1.0.6/templates/deployment.yaml
  9. 0 0
      charts/photoprism/1.0.6/templates/pre-install-job.yaml
  10. 0 0
      charts/photoprism/1.0.6/templates/secret.yaml
  11. 0 0
      charts/photoprism/1.0.6/templates/service.yaml
  12. 0 0
      charts/photoprism/1.0.6/templates/tests/deployment-check.yaml
  13. 0 0
      charts/photoprism/1.0.6/test_values.yaml
  14. 0 0
      test/photoprism/1.0.6/Chart.lock
  15. 1 1
      test/photoprism/1.0.6/Chart.yaml
  16. 0 0
      test/photoprism/1.0.6/README.md
  17. 0 0
      test/photoprism/1.0.6/app-readme.md
  18. 0 0
      test/photoprism/1.0.6/charts/common-2207.0.0.tgz
  19. 0 0
      test/photoprism/1.0.6/ix_values.yaml
  20. 12 0
      test/photoprism/1.0.6/questions.yaml
  21. 0 0
      test/photoprism/1.0.6/templates/deployment.yaml
  22. 0 0
      test/photoprism/1.0.6/templates/pre-install-job.yaml
  23. 0 0
      test/photoprism/1.0.6/templates/secret.yaml
  24. 0 0
      test/photoprism/1.0.6/templates/service.yaml
  25. 0 0
      test/photoprism/1.0.6/templates/tests/deployment-check.yaml
  26. 0 0
      test/photoprism/1.0.6/test_values.yaml

+ 0 - 0
charts/photoprism/1.0.5/Chart.lock → charts/photoprism/1.0.6/Chart.lock


+ 1 - 1
charts/photoprism/1.0.5/Chart.yaml → charts/photoprism/1.0.6/Chart.yaml

@@ -3,7 +3,7 @@ appVersion: "20220121"
 icon: https://photoprism.app/static/icons/logo.svg
 description: AI-powered app for browsing, organizing & sharing your photo collection.
 name: photoprism
-version: 1.0.5
+version: 1.0.6
 dependencies:
 - name: common
   repository: file://../../../library/common/2207.0.0

+ 0 - 0
charts/photoprism/1.0.5/README.md → charts/photoprism/1.0.6/README.md


+ 0 - 0
charts/photoprism/1.0.5/app-readme.md → charts/photoprism/1.0.6/app-readme.md


+ 0 - 0
charts/photoprism/1.0.5/charts/common-2207.0.0.tgz → charts/photoprism/1.0.6/charts/common-2207.0.0.tgz


+ 0 - 0
charts/photoprism/1.0.5/ix_values.yaml → charts/photoprism/1.0.6/ix_values.yaml


+ 12 - 0
charts/photoprism/1.0.5/questions.yaml → charts/photoprism/1.0.6/questions.yaml

@@ -7,6 +7,8 @@ groups:
     description: "Networking Configuration for photo prism"
   - name: "Advanced DNS Settings"
     description: "Configure DNS settings"
+  - name: "Resource Reservation"
+    description: "Specify resources to be allocated to workload"
   - name: "Resource Limits"
     description: "Set CPU/memory limits for Kubernetes Pod"
 
@@ -256,6 +258,16 @@ questions:
                   type: hostpath
                   required: true
 
+  # Specify GPU configuration
+  - variable: gpuConfiguration
+    label: "GPU Configuration"
+    group: "Resource Reservation"
+    schema:
+      type: dict
+      $ref:
+        - "definitions/gpuConfiguration"
+      attrs: []
+
   - variable: enableResourceLimits
     label: "Enable Pod resource limits"
     group: "Resource Limits"

+ 0 - 0
charts/photoprism/1.0.5/templates/deployment.yaml → charts/photoprism/1.0.6/templates/deployment.yaml


+ 0 - 0
charts/photoprism/1.0.5/templates/pre-install-job.yaml → charts/photoprism/1.0.6/templates/pre-install-job.yaml


+ 0 - 0
charts/photoprism/1.0.5/templates/secret.yaml → charts/photoprism/1.0.6/templates/secret.yaml


+ 0 - 0
charts/photoprism/1.0.5/templates/service.yaml → charts/photoprism/1.0.6/templates/service.yaml


+ 0 - 0
charts/photoprism/1.0.5/templates/tests/deployment-check.yaml → charts/photoprism/1.0.6/templates/tests/deployment-check.yaml


+ 0 - 0
charts/photoprism/1.0.5/test_values.yaml → charts/photoprism/1.0.6/test_values.yaml


+ 0 - 0
test/photoprism/1.0.5/Chart.lock → test/photoprism/1.0.6/Chart.lock


+ 1 - 1
test/photoprism/1.0.5/Chart.yaml → test/photoprism/1.0.6/Chart.yaml

@@ -3,7 +3,7 @@ appVersion: "20220121"
 icon: https://photoprism.app/static/icons/logo.svg
 description: AI-powered app for browsing, organizing & sharing your photo collection.
 name: photoprism
-version: 1.0.5
+version: 1.0.6
 dependencies:
 - name: common
   repository: file://../../../library/common/2207.0.0

+ 0 - 0
test/photoprism/1.0.5/README.md → test/photoprism/1.0.6/README.md


+ 0 - 0
test/photoprism/1.0.5/app-readme.md → test/photoprism/1.0.6/app-readme.md


+ 0 - 0
test/photoprism/1.0.5/charts/common-2207.0.0.tgz → test/photoprism/1.0.6/charts/common-2207.0.0.tgz


+ 0 - 0
test/photoprism/1.0.5/ix_values.yaml → test/photoprism/1.0.6/ix_values.yaml


+ 12 - 0
test/photoprism/1.0.5/questions.yaml → test/photoprism/1.0.6/questions.yaml

@@ -7,6 +7,8 @@ groups:
     description: "Networking Configuration for photo prism"
   - name: "Advanced DNS Settings"
     description: "Configure DNS settings"
+  - name: "Resource Reservation"
+    description: "Specify resources to be allocated to workload"
   - name: "Resource Limits"
     description: "Set CPU/memory limits for Kubernetes Pod"
 
@@ -256,6 +258,16 @@ questions:
                   type: hostpath
                   required: true
 
+  # Specify GPU configuration
+  - variable: gpuConfiguration
+    label: "GPU Configuration"
+    group: "Resource Reservation"
+    schema:
+      type: dict
+      $ref:
+        - "definitions/gpuConfiguration"
+      attrs: []
+
   - variable: enableResourceLimits
     label: "Enable Pod resource limits"
     group: "Resource Limits"

+ 0 - 0
test/photoprism/1.0.5/templates/deployment.yaml → test/photoprism/1.0.6/templates/deployment.yaml


+ 0 - 0
test/photoprism/1.0.5/templates/pre-install-job.yaml → test/photoprism/1.0.6/templates/pre-install-job.yaml


+ 0 - 0
test/photoprism/1.0.5/templates/secret.yaml → test/photoprism/1.0.6/templates/secret.yaml


+ 0 - 0
test/photoprism/1.0.5/templates/service.yaml → test/photoprism/1.0.6/templates/service.yaml


+ 0 - 0
test/photoprism/1.0.5/templates/tests/deployment-check.yaml → test/photoprism/1.0.6/templates/tests/deployment-check.yaml


+ 0 - 0
test/photoprism/1.0.5/test_values.yaml → test/photoprism/1.0.6/test_values.yaml