forked from open-webui/open-webui
		
	update image repository and storage
This commit is contained in:
		
							parent
							
								
									05e31494c2
								
							
						
					
					
						commit
						0d803aa0fd
					
				
					 3 changed files with 28 additions and 13 deletions
				
			
		|  | @ -17,7 +17,10 @@ spec: | ||||||
|     spec: |     spec: | ||||||
|       containers: |       containers: | ||||||
|       - name: {{ include "ollama.name" . }} |       - name: {{ include "ollama.name" . }} | ||||||
|         image: {{ .Values.ollama.image }} |         {{- with .Values.ollama.image }} | ||||||
|  |         image: {{ .repository }}:{{ .tag }} | ||||||
|  |         imagePullPolicy: {{ .pullPolicy }} | ||||||
|  |         {{- end }} | ||||||
|         ports: |         ports: | ||||||
|         - name: http |         - name: http | ||||||
|           containerPort: {{ .Values.ollama.service.containerPort }} |           containerPort: {{ .Values.ollama.service.containerPort }} | ||||||
|  | @ -41,11 +44,9 @@ spec: | ||||||
|       nodeSelector: |       nodeSelector: | ||||||
|         {{- toYaml . | nindent 8 }} |         {{- toYaml . | nindent 8 }} | ||||||
|       {{- end }} |       {{- end }} | ||||||
|  |       {{- with .Values.ollama.tolerations }} | ||||||
|       tolerations: |       tolerations: | ||||||
|         {{- if .Values.ollama.gpu.enabled }} |         {{- toYaml . | nindent 8 }} | ||||||
|         - key: nvidia.com/gpu |  | ||||||
|           operator: Exists |  | ||||||
|           effect: NoSchedule |  | ||||||
|       {{- end }} |       {{- end }} | ||||||
|   volumeClaimTemplates: |   volumeClaimTemplates: | ||||||
|   - metadata: |   - metadata: | ||||||
|  | @ -54,4 +55,4 @@ spec: | ||||||
|       accessModes: [ "ReadWriteOnce" ] |       accessModes: [ "ReadWriteOnce" ] | ||||||
|       resources: |       resources: | ||||||
|         requests: |         requests: | ||||||
|           storage: {{ .Values.ollama.volumeSize }} |           storage: {{ .Values.ollama.persistence.size }} | ||||||
|  |  | ||||||
|  | @ -16,7 +16,10 @@ spec: | ||||||
|     spec: |     spec: | ||||||
|       containers: |       containers: | ||||||
|       - name: {{ .Chart.Name }} |       - name: {{ .Chart.Name }} | ||||||
|         image: {{ .Values.webui.image }} |         {{- with .Values.webui.image }} | ||||||
|  |         image: {{ .repository }}:{{ .tag }} | ||||||
|  |         imagePullPolicy: {{ .pullPolicy }} | ||||||
|  |         {{- end }} | ||||||
|         ports: |         ports: | ||||||
|         - name: http |         - name: http | ||||||
|           containerPort: {{ .Values.webui.service.containerPort }} |           containerPort: {{ .Values.webui.service.containerPort }} | ||||||
|  |  | ||||||
|  | @ -1,6 +1,9 @@ | ||||||
| ollama: | ollama: | ||||||
|   replicaCount: 1 |   replicaCount: 1 | ||||||
|   image: ollama/ollama:latest |   image: | ||||||
|  |     repository: ollama/ollama | ||||||
|  |     tag: latest | ||||||
|  |     pullPolicy: Always | ||||||
|   resources: |   resources: | ||||||
|     requests: |     requests: | ||||||
|       cpu: "2000m" |       cpu: "2000m" | ||||||
|  | @ -9,9 +12,14 @@ ollama: | ||||||
|       cpu: "4000m" |       cpu: "4000m" | ||||||
|       memory: "4Gi" |       memory: "4Gi" | ||||||
|       nvidia.com/gpu: "0" |       nvidia.com/gpu: "0" | ||||||
|   volumeSize: 30Gi |   persistence: | ||||||
|  |     enabled: true | ||||||
|  |     size: 30Gi | ||||||
|   nodeSelector: {} |   nodeSelector: {} | ||||||
|   tolerations: [] |   tolerations: | ||||||
|  |   - key: nvidia.com/gpu | ||||||
|  |     operator: Exists | ||||||
|  |     effect: NoSchedule | ||||||
|   service: |   service: | ||||||
|     type: ClusterIP |     type: ClusterIP | ||||||
|     port: 80 |     port: 80 | ||||||
|  | @ -21,7 +29,10 @@ ollama: | ||||||
| 
 | 
 | ||||||
| webui: | webui: | ||||||
|   replicaCount: 1 |   replicaCount: 1 | ||||||
|   image: ghcr.io/open-webui/open-webui:main |   image: | ||||||
|  |     repository: ghcr.io/open-webui/open-webui | ||||||
|  |     tag: main | ||||||
|  |     pullPolicy: Always | ||||||
|   resources: |   resources: | ||||||
|     requests: |     requests: | ||||||
|       cpu: "500m" |       cpu: "500m" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 duhow
						duhow