snow-flow 3.4.39 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,61 @@
1
+ # Snow-Flow Website - Cloud Run Service Configuration
2
+ apiVersion: serving.knative.dev/v1
3
+ kind: Service
4
+ metadata:
5
+ name: snow-flow-website
6
+ labels:
7
+ cloud.googleapis.com/location: europe-west1
8
+ run.googleapis.com/cpu-throttling: "true"
9
+ annotations:
10
+ run.googleapis.com/ingress: all
11
+ run.googleapis.com/execution-environment: gen2
12
+ spec:
13
+ template:
14
+ metadata:
15
+ labels:
16
+ run.googleapis.com/startupProbeType: Default
17
+ annotations:
18
+ autoscaling.knative.dev/maxScale: "10"
19
+ autoscaling.knative.dev/minScale: "1"
20
+ run.googleapis.com/cpu-throttling: "true"
21
+ run.googleapis.com/execution-environment: gen2
22
+ run.googleapis.com/startup-cpu-boost: "true"
23
+ spec:
24
+ containerConcurrency: 80
25
+ timeoutSeconds: 300
26
+ serviceAccountName: PROJECT_NUMBER-compute@developer.gserviceaccount.com
27
+ containers:
28
+ - image: gcr.io/PROJECT_ID/snow-flow-website:latest
29
+ ports:
30
+ - name: http1
31
+ containerPort: 80
32
+ env:
33
+ - name: NODE_ENV
34
+ value: production
35
+ - name: PORT
36
+ value: "80"
37
+ resources:
38
+ limits:
39
+ cpu: "1"
40
+ memory: 512Mi
41
+ startupProbe:
42
+ httpGet:
43
+ path: /health
44
+ port: 80
45
+ initialDelaySeconds: 0
46
+ timeoutSeconds: 1
47
+ periodSeconds: 3
48
+ successThreshold: 1
49
+ failureThreshold: 3
50
+ livenessProbe:
51
+ httpGet:
52
+ path: /health
53
+ port: 80
54
+ initialDelaySeconds: 30
55
+ timeoutSeconds: 1
56
+ periodSeconds: 10
57
+ successThreshold: 1
58
+ failureThreshold: 3
59
+ traffic:
60
+ - percent: 100
61
+ latestRevision: true