File tree 3 files changed +19
-15
lines changed
3 files changed +19
-15
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ appVersion: '1.7.0'
3
3
description : description
4
4
name : sdwebuiclient
5
5
type : application
6
- version : ' 1.0.2 '
6
+ version : ' 1.0.3 '
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
description : Stable Diffusion web UI.
6
6
icon : https://file.bttcdn.com/appstore/sdwebui/icon.png
7
7
appid : sdwebuiclient
8
- version : ' 1.0.2 '
8
+ version : ' 1.0.3 '
9
9
title : SD Web UI
10
10
categories :
11
11
- Productivity
@@ -57,11 +57,11 @@ spec:
57
57
- zh-CN
58
58
doc : https://sdwebui.app/docs/overview/introduction
59
59
requiredMemory : 32Mi
60
- limitedMemory : 256Mi
60
+ limitedMemory : 1Gi
61
61
requiredDisk : 56Mi
62
62
limitedDisk : 1Gi
63
63
requiredCpu : 10m
64
- limitedCpu : 100m
64
+ limitedCpu : 1
65
65
supportArch :
66
66
- amd64
67
67
options :
Original file line number Diff line number Diff line change @@ -73,12 +73,16 @@ spec:
73
73
failureThreshold : 30
74
74
periodSeconds : 10
75
75
livenessProbe :
76
- httpGet :
77
- path : /
78
- port : 8080
76
+ exec :
77
+ command :
78
+ - /bin/sh
79
+ - -c
80
+ - |
81
+ http_code=$(curl -s -o /dev/null -w "%{http_code}" http://sdwebui.sdwebui-{{ .Values.admin }}:7860/health)
82
+ [ $http_code -ge 403 ] && [ $http_code -lt 405 ]
79
83
initialDelaySeconds : 30
80
84
timeoutSeconds : 60
81
- periodSeconds : 60
85
+ periodSeconds : 120
82
86
successThreshold : 1
83
87
failureThreshold : 10
84
88
readinessProbe :
@@ -87,17 +91,17 @@ spec:
87
91
- /bin/sh
88
92
- -c
89
93
- |
90
- http_code=$(curl -s -o /dev/null -w "%{http_code}" http://sdwebui.sdwebui-{{ .Values.admin }}:7860)
91
- [ $http_code -ge 200 ] && [ $http_code -lt 300 ]
94
+ http_code=$(curl -s -o /dev/null -w "%{http_code}" http://sdwebui.sdwebui-{{ .Values.admin }}:7860/health )
95
+ [ $http_code -ge 403 ] && [ $http_code -lt 405 ]
92
96
initialDelaySeconds : 10
93
- timeoutSeconds : 2
94
- periodSeconds : 5
97
+ timeoutSeconds : 30
98
+ periodSeconds : 120
95
99
successThreshold : 1
96
- failureThreshold : 3
100
+ failureThreshold : 5
97
101
resources :
98
102
limits :
99
- cpu : 100m
100
- memory : 256Mi
103
+ cpu : 1
104
+ memory : 1Gi
101
105
requests :
102
106
cpu : 10m
103
107
memory : 64Mi
You can’t perform that action at this time.
0 commit comments