diff --git a/clusters/cl01tl/manifests/immich/Deployment-immich-machine-learning.yaml b/clusters/cl01tl/manifests/immich/Deployment-immich-machine-learning.yaml deleted file mode 100644 index 104de857f..000000000 --- a/clusters/cl01tl/manifests/immich/Deployment-immich-machine-learning.yaml +++ /dev/null @@ -1,72 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: immich-machine-learning - labels: - app.kubernetes.io/controller: machine-learning - app.kubernetes.io/instance: immich - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: immich - helm.sh/chart: immich-4.5.0 - namespace: immich -spec: - revisionHistoryLimit: 3 - replicas: 1 - strategy: - type: Recreate - selector: - matchLabels: - app.kubernetes.io/controller: machine-learning - app.kubernetes.io/name: immich - app.kubernetes.io/instance: immich - template: - metadata: - labels: - app.kubernetes.io/controller: machine-learning - app.kubernetes.io/instance: immich - app.kubernetes.io/name: immich - spec: - enableServiceLinks: false - serviceAccountName: default - automountServiceAccountToken: true - hostIPC: false - hostNetwork: false - hostPID: false - dnsPolicy: ClusterFirst - containers: - - env: - - name: TRANSFORMERS_CACHE - value: /cache - image: ghcr.io/immich-app/immich-machine-learning:v2.3.1 - imagePullPolicy: IfNotPresent - livenessProbe: - failureThreshold: 3 - httpGet: - path: /ping - port: 3003 - initialDelaySeconds: 0 - periodSeconds: 10 - timeoutSeconds: 1 - name: main - readinessProbe: - failureThreshold: 3 - httpGet: - path: /ping - port: 3003 - initialDelaySeconds: 0 - periodSeconds: 10 - timeoutSeconds: 1 - resources: - limits: - gpu.intel.com/i915: 1 - requests: - cpu: 10m - gpu.intel.com/i915: 1 - memory: 256Mi - volumeMounts: - - mountPath: /cache - name: cache - volumes: - - name: cache - persistentVolumeClaim: - claimName: immich diff --git a/clusters/cl01tl/manifests/immich/Deployment-immich-main.yaml b/clusters/cl01tl/manifests/immich/Deployment-immich.yaml similarity index 96% rename from clusters/cl01tl/manifests/immich/Deployment-immich-main.yaml rename to clusters/cl01tl/manifests/immich/Deployment-immich.yaml index d1eb21f89..803b36819 100644 --- a/clusters/cl01tl/manifests/immich/Deployment-immich-main.yaml +++ b/clusters/cl01tl/manifests/immich/Deployment-immich.yaml @@ -1,7 +1,7 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: immich-main + name: immich labels: app.kubernetes.io/controller: main app.kubernetes.io/instance: immich @@ -41,8 +41,6 @@ spec: value: all - name: IMMICH_CONFIG_FILE value: /config/immich.json - - name: IMMICH_MACHINE_LEARNING_URL - value: http://immich-machine-learning.immich:3003 - name: REDIS_HOSTNAME value: redis-replication-immich-master - name: DB_VECTOR_EXTENSION diff --git a/clusters/cl01tl/manifests/immich/PersistentVolumeClaim-immich.yaml b/clusters/cl01tl/manifests/immich/PersistentVolumeClaim-immich.yaml deleted file mode 100644 index efbbe17f3..000000000 --- a/clusters/cl01tl/manifests/immich/PersistentVolumeClaim-immich.yaml +++ /dev/null @@ -1,19 +0,0 @@ -kind: PersistentVolumeClaim -apiVersion: v1 -metadata: - name: immich - labels: - app.kubernetes.io/instance: immich - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: immich - helm.sh/chart: immich-4.5.0 - annotations: - helm.sh/resource-policy: keep - namespace: immich -spec: - accessModes: - - "ReadWriteOnce" - resources: - requests: - storage: "10Gi" - storageClassName: "ceph-block" diff --git a/clusters/cl01tl/manifests/immich/Service-immich-machine-learning.yaml b/clusters/cl01tl/manifests/immich/Service-immich-machine-learning.yaml deleted file mode 100644 index daf581b1c..000000000 --- a/clusters/cl01tl/manifests/immich/Service-immich-machine-learning.yaml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: immich-machine-learning - labels: - app.kubernetes.io/instance: immich - app.kubernetes.io/managed-by: Helm - app.kubernetes.io/name: immich - app.kubernetes.io/service: immich-machine-learning - helm.sh/chart: immich-4.5.0 - namespace: immich -spec: - type: ClusterIP - ports: - - port: 3003 - targetPort: 3003 - protocol: TCP - name: http - selector: - app.kubernetes.io/controller: machine-learning - app.kubernetes.io/instance: immich - app.kubernetes.io/name: immich diff --git a/clusters/cl01tl/manifests/immich/Service-immich-main.yaml b/clusters/cl01tl/manifests/immich/Service-immich.yaml similarity index 90% rename from clusters/cl01tl/manifests/immich/Service-immich-main.yaml rename to clusters/cl01tl/manifests/immich/Service-immich.yaml index 3f69965df..4a32ffc42 100644 --- a/clusters/cl01tl/manifests/immich/Service-immich-main.yaml +++ b/clusters/cl01tl/manifests/immich/Service-immich.yaml @@ -1,12 +1,12 @@ apiVersion: v1 kind: Service metadata: - name: immich-main + name: immich labels: app.kubernetes.io/instance: immich app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: immich - app.kubernetes.io/service: immich-main + app.kubernetes.io/service: immich helm.sh/chart: immich-4.5.0 namespace: immich spec: