-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhttpbin-in-mesh.yaml
66 lines (66 loc) · 1.41 KB
/
httpbin-in-mesh.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
apiVersion: v1
kind: ServiceAccount
metadata:
name: in-mesh
---
apiVersion: v1
kind: Service
metadata:
name: in-mesh
labels:
app: in-mesh
service: in-mesh
spec:
ports:
- name: http
port: 8000
targetPort: 80
selector:
app: in-mesh
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: in-mesh
spec:
replicas: 1
selector:
matchLabels:
app: in-mesh
version: v1
template:
metadata:
labels:
app: in-mesh
version: v1
istio.io/rev: $REVISION
spec:
serviceAccountName: in-mesh
containers:
- image: docker.io/mccutchen/go-httpbin:v2.6.0
imagePullPolicy: IfNotPresent
name: httpbin
command: [ go-httpbin ]
args:
- "-port"
- "8080"
- "-max-duration"
- "600s" # override default 10s
ports:
- containerPort: 8080
# Include curl container for e2e testing, allows sending traffic mediated by the proxy sidecar
- name: curl
image: curlimages/curl:7.83.1
resources:
requests:
cpu: "100m"
limits:
cpu: "200m"
imagePullPolicy: IfNotPresent
command:
- "tail"
- "-f"
- "/dev/null"
- name: hey
image: gcr.io/solo-public/docs/hey:0.1.4
imagePullPolicy: IfNotPresent