forked from canada-ca/tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathqueues.yaml
More file actions
49 lines (47 loc) · 1.37 KB
/
queues.yaml
File metadata and controls
49 lines (47 loc) · 1.37 KB
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
apiVersion: serving.knative.dev/v1 # Current version of Knative
kind: Service
metadata:
name: scan-queue
namespace: scanners
labels:
app: scanners
spec:
template:
metadata:
annotations:
prometheus.io/scrape: 'true'
prometheus.io/port: '9090'
# Knative concurrency-based autoscaling (default).
autoscaling.knative.dev/class: kpa.autoscaling.knative.dev
autoscaling.knative.dev/metric: concurrency
autoscaling.knative.dev/minScale: "1"
autoscaling.knative.dev/maxScale: "2"
spec:
timeoutSeconds: 500
containers:
- name: scan-queue
image: gcr.io/track-compliance/services/scan-queue
---
apiVersion: serving.knative.dev/v1 # Current version of Knative
kind: Service
metadata:
name: result-queue
namespace: scanners
labels:
app: scanners
spec:
template:
metadata:
annotations:
prometheus.io/scrape: 'true'
prometheus.io/port: '9090'
# Knative concurrency-based autoscaling (default).
autoscaling.knative.dev/class: kpa.autoscaling.knative.dev
autoscaling.knative.dev/metric: concurrency
autoscaling.knative.dev/minScale: "1"
autoscaling.knative.dev/maxScale: "2"
spec:
timeoutSeconds: 500
containers:
- name: result-queue
image: gcr.io/track-compliance/services/result-queue