File tree Expand file tree Collapse file tree 2 files changed +81
-1
lines changed Expand file tree Collapse file tree 2 files changed +81
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : apps/v1
3
+ kind : Deployment
4
+ metadata :
5
+ name : loadtest-e2e-internal
6
+ namespace : loadtest-e2e
7
+ labels :
8
+ application : loadtest-e2e
9
+ component : internal
10
+ spec :
11
+ replicas : 3
12
+ selector :
13
+ matchLabels :
14
+ deployment : loadtest-e2e-internal
15
+ template :
16
+ metadata :
17
+ labels :
18
+ deployment : loadtest-e2e-internal
19
+ application : loadtest-e2e
20
+ component : internal
21
+ spec :
22
+ containers :
23
+ - name : skipper
24
+ image : container-registry.zalando.net/teapot/skipper:v0.21.192
25
+ imagePullPolicy : IfNotPresent
26
+ args :
27
+ - skipper
28
+ - -address=:9090
29
+ - -wait-first-route-load
30
+ - -wait-for-healthcheck-interval=25s
31
+ - -metrics-flavour=prometheus
32
+ - -close-idle-conns-period=20s
33
+ - -idle-conns-num=1000
34
+ - -serve-host-metrics
35
+ - -serve-method-metric=false
36
+ - -serve-status-code-metric=true
37
+ - -serve-host-counter
38
+ - -access-log-disabled
39
+ - -inline-routes
40
+ - |
41
+ s: * -> enableAccessLog(4,5) -> inlineContent("<h1>main</h1>") -> <shunt>;
42
+ healthz: Path("/healthz") -> enableAccessLog(4,5) -> status(200)-> <shunt>;
43
+ ports :
44
+ - containerPort : 9090
45
+ name : ingress-port
46
+ protocol : TCP
47
+ lifecycle :
48
+ preStop :
49
+ sleep :
50
+ seconds : 1
51
+ readinessProbe :
52
+ failureThreshold : 1
53
+ httpGet :
54
+ path : /healthz
55
+ port : 9090
56
+ scheme : HTTP
57
+ initialDelaySeconds : 1
58
+ periodSeconds : 5
59
+ successThreshold : 1
60
+ timeoutSeconds : 1
61
+ resources :
62
+ limits :
63
+ cpu : " 1"
64
+ memory : 1500Mi
65
+ requests :
66
+ cpu : " 1"
67
+ memory : 1500Mi
68
+ ---
69
+ apiVersion : v1
70
+ kind : Service
71
+ metadata :
72
+ name : loadtest-e2e-internal
73
+ namespace : loadtest-e2e
74
+ spec :
75
+ selector :
76
+ deployment : loadtest-e2e-internal
77
+ ports :
78
+ - port : 80
79
+ targetPort : 9090
80
+ type : ClusterIP
Original file line number Diff line number Diff line change 9
9
routes.eskip : |
10
10
h: PathSubtree("/healthz") -> status(200) -> inlineContent("OK") -> <shunt>;
11
11
e: Host("external.zalan.do") -> "https://%TARGET%.%ZONE%";
12
- i: Host("internal.zalan.do") -> "http://loadtest-e2e.ingress.cluster.local ";
12
+ i: Host("internal.zalan.do") -> "http://loadtest-e2e-internal ";
13
13
get_external.txt : |
14
14
GET http://127.0.0.1:9090
15
15
Host: external.zalan.do
You can’t perform that action at this time.
0 commit comments