Browse Source

Allow consuming gpu in photoprism

M. Rehan 3 years ago
parent
commit
1e043b90ee

+ 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