Skip to content

Commit a4f577a

Browse files
committed
Add feature files that were missing in the reference GBE environment for GCP
1 parent 8fc87d5 commit a4f577a

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
3+
# Only NAT (not NATNet) allows us to expose ports to the internet.
4+
# See: <https://forums.virtualbox.org/viewtopic.php?f=7&t=82039#p386722>
5+
#
6+
# The problem is that when Virtulbox is running as a standard non-root Linux
7+
# user (which is our use-case for the moment), then ports below 1024 cannot be
8+
# bound using this 'nat' network feature.
9+
10+
- type: replace
11+
path: /networks/-
12+
value:
13+
name: vbox-port-forwarding-network
14+
type: manual
15+
subnets:
16+
- range: 10.0.2.0/24 # has to be 10.0.x.0/24
17+
gateway: 10.0.2.2 # has to end with .2
18+
dns: ["10.0.2.3"] # has to end with .3
19+
static:
20+
- 10.0.2.4
21+
cloud_properties:
22+
type: nat
23+
24+
- type: replace
25+
path: /instance_groups/name=bosh/networks/name=default/default?
26+
value: [dns, gateway]
27+
28+
- type: replace
29+
path: /instance_groups/name=bosh/networks/-
30+
value:
31+
name: vbox-port-forwarding-network
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
3+
- path: /instance_groups/name=bosh/properties/hm/resurrector?
4+
type: replace
5+
value:
6+
minimum_down_jobs: 5 # > above this threshold, meltdown is declared
7+
percent_threshold: 0.2 # above 20%, meltdown is declared
8+
time_threshold: 600 # time period for calulating meltdown thresholds

0 commit comments

Comments
 (0)