-
Notifications
You must be signed in to change notification settings - Fork 17
/
c2-jscalcerror-v3-error.yaml
63 lines (63 loc) · 1.28 KB
/
c2-jscalcerror-v3-error.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
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: jscalcfrontend-v2
namespace: challengeistio
spec:
replicas: 1
minReadySeconds: 5
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
template:
metadata:
labels:
name: jscalcfrontend
app: frontend
version: v2
spec:
containers:
- name: jscalcfrontend
image: csaocpger/jscalcfrontend:9.0
ports:
- containerPort: 80
name: http
protocol: TCP
env:
- name: "ENDPOINT"
value: "calcbackendsvc"
- name: "PORT"
value: "80"
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: jscalcerror-v3-error
namespace: challengeistio
spec:
replicas: 2
minReadySeconds: 5
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
template:
metadata:
labels:
name: jscalcerror
app: backend
version: v3-error
spec:
containers:
- name: jscalcerror
image: csaocpger/jscalcerror:6.0
ports:
- containerPort: 80
name: http
protocol: TCP
env:
- name: "PORT"
value: "80"