-
Notifications
You must be signed in to change notification settings - Fork 0
/
backend-service.yaml
48 lines (48 loc) · 1.41 KB
/
backend-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
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
annotations:
run.googleapis.com/ingress: all
run.googleapis.com/ingress-status: all
labels:
cloud.googleapis.com/location: europe-west1
commit-sha: 69d9d13c72f92d6d80ad21cbb620ab6db3a1b301
managed-by: github-actions
name: gcloudmaps-backend-test
namespace: '707432047927'
spec:
template:
metadata:
annotations:
autoscaling.knative.dev/maxScale: '1'
run.googleapis.com/client-name: gcloud
run.googleapis.com/client-version: 462.0.1
run.googleapis.com/startup-cpu-boost: 'true'
labels:
client.knative.dev/nonce: uvujxbdqbn
commit-sha: 69d9d13c72f92d6d80ad21cbb620ab6db3a1b301
managed-by: github-actions
run.googleapis.com/startupProbeType: Default
spec:
containerConcurrency: 80
containers:
- image: europe-west1-docker.pkg.dev/gcloudmaps/gcloudmaps/backend_go
name: backend-1
ports:
- containerPort: 3001
name: http1
resources:
limits:
cpu: 1000m
memory: 512Mi
startupProbe:
failureThreshold: 1
periodSeconds: 240
tcpSocket:
port: 3001
timeoutSeconds: 240
serviceAccountName: [email protected]
timeoutSeconds: 300
traffic:
- latestRevision: true
percent: 100