File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ kind : HTTPScaledObject
2+ apiVersion : http.keda.sh/v1alpha1
3+ metadata :
4+ name : xkcd
5+ spec :
6+ hosts :
7+ - myhost.com
8+ pathPrefixes :
9+ - /test
10+ scaleTargetRef :
11+ name : xkcd
12+ kind : Deployment
13+ apiVersion : apps/v1
14+ service : xkcd
15+ port : 8080
16+ replicas :
17+ min : 1
18+ max : 10
19+ scaledownPeriod : 300
20+ scalingMetric :
21+ requestRate :
22+ granularity : 1s
23+ targetValue : 100
24+ window : 1m
25+ placeholderConfig :
26+ enabled : true
27+ refreshInterval : 5
28+ statusCode : 503
29+ headers :
30+ X-Service-Status : " warming-up"
31+ content : |
32+ <!DOCTYPE html>
33+ <html>
34+ <head>
35+ <title>Service Starting</title>
36+ <meta http-equiv="refresh" content="{{.RefreshInterval}}">
37+ </head>
38+ <body>
39+ <h1>{{.ServiceName}} is starting...</h1>
40+ </body>
41+ </html>
You can’t perform that action at this time.
0 commit comments