-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
/
DeploymentAutoscaling-values.yaml
84 lines (81 loc) · 2.07 KB
/
DeploymentAutoscaling-values.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
81
82
83
84
autoscaling:
enableWithExistingKEDA: true
scalingType: deployment
scaledOptions:
minReplicaCount: 0
maxReplicaCount: 2
pollingInterval: 20
scaledObjectOptions:
cooldownPeriod: 30
terminationGracePeriodSeconds: 360
# Configuration for chrome nodes
chromeNode:
# (test): user is able to change `SE_NODE_PORT`
port: 6666
# (test): user is able to set NodePort to expose `SE_NODE_PORT`
nodePort: 30666
# (test): user is able to define list extra container ports
ports:
- 5900
- 7900
service:
type: NodePort
# (test): user is able to define extra ports for Node service
ports:
- name: vnc-port
protocol: TCP
port: 5900
targetPort: 5900
nodePort: 30590
- name: novnc-port
protocol: TCP
port: 7900
targetPort: 7900
# NodePort will be assigned randomly if not set
nameOverride: my-chrome-name
extraEnvironmentVariables: &extraEnvironmentVariables
- name: SE_OPTS
value: "--enable-managed-downloads true"
- name: SE_VNC_NO_PASSWORD
value: "true"
- name: SE_SCREEN_WIDTH
value: "1920"
- name: SE_SCREEN_HEIGHT
value: "1080"
- name: TZ
value: "Asia/Saigon"
readinessProbe:
enabled: &readinessProbe true
livenessProbe:
enabled: &livenessProbe true
# Configuration for edge nodes
edgeNode:
port: 8888
# (test): user is able to define extra container ports
ports:
- containerPort: 5900
name: vnc
protocol: TCP
- containerPort: 7900
name: novnc
protocol: TCP
nameOverride: my-edge-name
extraEnvironmentVariables: *extraEnvironmentVariables
# (test): user is able to override probe method
startupProbe:
enabled: true
tcpSocket:
port: 8888
readinessProbe:
enabled: *readinessProbe
livenessProbe:
enabled: *livenessProbe
# Configuration for firefox nodes
firefoxNode:
port: 7777
nameOverride: my-firefox-name
extraEnvironmentVariables: *extraEnvironmentVariables
readinessProbe:
enabled: *readinessProbe
livenessProbe:
enabled: *livenessProbe