-
Notifications
You must be signed in to change notification settings - Fork 0
/
service.yaml
80 lines (80 loc) · 2.24 KB
/
service.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: hp-stg
namespace: '292061085119'
selfLink: /apis/serving.knative.dev/v1/namespaces/292061085119/services/hp-stg
labels:
cloud.googleapis.com/location: asia-northeast1
annotations:
run.googleapis.com/ingress: all
run.googleapis.com/ingress-status: all
spec:
template:
metadata:
labels:
github_sha: test
run.googleapis.com/startupProbeType: Default
annotations:
run.googleapis.com/client-name: cloud-console
autoscaling.knative.dev/maxScale: '2'
run.googleapis.com/startup-cpu-boost: 'false'
spec:
containerConcurrency: 80
timeoutSeconds: 300
serviceAccountName: 292061085119-compute@developer.gserviceaccount.com
containers:
- name: frontend
image: asia-northeast1-docker.pkg.dev/ynufes-hp-cloudrun/staging/nginx:latest
ports:
- name: http1
containerPort: 80
resources:
limits:
cpu: 1000m
memory: 512Mi
startupProbe:
timeoutSeconds: 240
periodSeconds: 240
failureThreshold: 1
tcpSocket:
port: 80
- name: tokiwa24
image: asia-northeast1-docker.pkg.dev/ynufes-hp-cloudrun/staging/tokiwa24:latest
env:
- name: PORT
value: '8242'
resources:
limits:
cpu: 1000m
memory: 512Mi
- name: seiryo24
image: asia-northeast1-docker.pkg.dev/ynufes-hp-cloudrun/staging/seiryo24:latest
env:
- name: PORT
value: '8241'
resources:
limits:
cpu: 1000m
memory: 512Mi
- name: tokiwa23
image: asia-northeast1-docker.pkg.dev/ynufes-hp-cloudrun/staging/tokiwa23:latest
env:
- name: PORT
value: '8080'
resources:
limits:
cpu: 1000m
memory: 512Mi
- name: seiryo23
image: asia-northeast1-docker.pkg.dev/ynufes-hp-cloudrun/staging/seiryo23:latest
env:
- name: PORT
value: '8081'
resources:
limits:
cpu: 1000m
memory: 512Mi
traffic:
- percent: 100
latestRevision: true