add service and storage
This commit is contained in:
@@ -119,6 +119,13 @@ ollama:
|
|||||||
port: 11434
|
port: 11434
|
||||||
targetPort: 11434
|
targetPort: 11434
|
||||||
protocol: HTTP
|
protocol: HTTP
|
||||||
|
stable-diffusion:
|
||||||
|
controller: stable-diffusion
|
||||||
|
ports:
|
||||||
|
http:
|
||||||
|
port: 7860
|
||||||
|
targetPort: 7860
|
||||||
|
protocol: HTTP
|
||||||
web:
|
web:
|
||||||
controller: web
|
controller: web
|
||||||
ports:
|
ports:
|
||||||
@@ -152,6 +159,16 @@ ollama:
|
|||||||
main:
|
main:
|
||||||
- path: /root/.ollama
|
- path: /root/.ollama
|
||||||
readOnly: false
|
readOnly: false
|
||||||
|
workspace:
|
||||||
|
storageClass: ceph-block
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
size: 50Gi
|
||||||
|
retain: true
|
||||||
|
advancedMounts:
|
||||||
|
stable-diffusion:
|
||||||
|
main:
|
||||||
|
- path: /workspace
|
||||||
|
readOnly: false
|
||||||
web-data:
|
web-data:
|
||||||
storageClass: ceph-block
|
storageClass: ceph-block
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
|
Reference in New Issue
Block a user