-
Notifications
You must be signed in to change notification settings - Fork 918
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define and adopt standard IP ranges for FAST networking
This PR documents and adopts a consitet IP address plan for FAST networking stages Fixes #1644
- Loading branch information
Showing
40 changed files
with
180 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# IP ranges for network stages | ||
|
||
**authors:** [Ludo](https://github.com/ludoo), [Roberto](https://github.com/drebes), [Julio](https://github.com/jccb) \ | ||
**date:** Sept 20, 2023 | ||
|
||
## Status | ||
|
||
Implemented | ||
|
||
## Context | ||
|
||
Adding or changing subnets to networking stages is a mistake-prone process because there is no clear IP plan. The problem was made worse when we began supporting GKE, which requires secondary ranges and a large number of IP addresses for pods and services. | ||
|
||
This was not an issue when there were only a few networking stages, but as FAST expands, it becomes more difficult to keep track of IP ranges for different regions and environments. | ||
|
||
## Decision | ||
|
||
| |Aggregate| landing | dev | prod| | ||
|---|---:|---:|---:|---:| | ||
|Region 1, primary ranges|10.64.0.0/12 |10.64.0.0/16<br>Trusted: 10.64.0.0/17<br>Untrusted: 10.64.128.0/17|10.68.0.0/16|10.72.0.0/16| | ||
|Region 2, primary ranges|10.80.0.0/12|10.80.0.0/16<br>Trusted: 10.80.0.0/17<br>Untrusted: 10.80.128.0/17|10.68.0.0/16|10.72.0.0/16|10.84.0.0/16|10.88.0.0/16| | ||
|Region 1, secondary ranges|100.64.0.0/12|100.64.0.0/14|100.68.0.0/14|100.72.0.0/14| | ||
|Region 2, secondary ranges|100.80.0.0/12|100.80.0.0/14|100.84.0.0/16|100.88.0.0/14| | ||
|
||
To allocate additional secondary ranges for GKE clusters: | ||
- For the pods range, use the next available /16 in the secondary range of its region/environment pair. | ||
- For the service range, use the next available /24 in the last /16 of its region/environment pair. | ||
|
||
|
||
## Consequences | ||
|
||
Default subnets for networking stages were updated to reflect to new ranges. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
fast/stages/2-networking-a-peering/data/subnets/dev/dev-default-ew1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west1 | ||
ip_cidr_range: 10.128.32.0/24 | ||
ip_cidr_range: 10.68.0.0/24 | ||
description: Default subnet for dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
fast/stages/2-networking-a-peering/data/subnets/landing/landing-default-ew1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west1 | ||
ip_cidr_range: 10.128.0.0/24 | ||
ip_cidr_range: 10.64.0.0/24 | ||
description: Default subnet for landing |
2 changes: 1 addition & 1 deletion
2
fast/stages/2-networking-a-peering/data/subnets/prod/prod-default-ew1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west1 | ||
ip_cidr_range: 10.128.64.0/24 | ||
ip_cidr_range: 10.72.0.0/24 | ||
description: Default subnet for prod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
fast/stages/2-networking-b-vpn/data/subnets/dev/dev-default-ew1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west1 | ||
ip_cidr_range: 10.128.32.0/24 | ||
ip_cidr_range: 10.68.0.0/24 | ||
description: Default subnet for dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
fast/stages/2-networking-b-vpn/data/subnets/landing/landing-default-ew1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west1 | ||
ip_cidr_range: 10.128.0.0/24 | ||
ip_cidr_range: 10.64.0.0/24 | ||
description: Default subnet for landing |
2 changes: 1 addition & 1 deletion
2
fast/stages/2-networking-b-vpn/data/subnets/prod/prod-default-ew1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west1 | ||
ip_cidr_range: 10.128.64.0/24 | ||
ip_cidr_range: 10.72.0.0/24 | ||
description: Default subnet for prod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
fast/stages/2-networking-c-nva/data/subnets/dev/dev-default-ew1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west1 | ||
ip_cidr_range: 10.128.128.0/24 | ||
ip_cidr_range: 10.68.0.0/24 | ||
description: Default europe-west1 subnet for dev |
2 changes: 1 addition & 1 deletion
2
fast/stages/2-networking-c-nva/data/subnets/dev/dev-default-ew4.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west4 | ||
ip_cidr_range: 10.128.160.0/24 | ||
ip_cidr_range: 10.84.0.0/24 | ||
description: Default europe-west4 subnet for dev |
8 changes: 8 additions & 0 deletions
8
fast/stages/2-networking-c-nva/data/subnets/dev/dev-gke-nodes-ew1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west1 | ||
description: Default subnet for prod gke nodes | ||
ip_cidr_range: 10.68.1.0/24 | ||
secondary_ip_ranges: | ||
pods: 100.68.0.0/16 | ||
services: 100.71.1.0/24 |
2 changes: 1 addition & 1 deletion
2
fast/stages/2-networking-c-nva/data/subnets/landing-trusted/landing-trusted-default-ew1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west1 | ||
ip_cidr_range: 10.128.64.0/24 | ||
ip_cidr_range: 10.64.0.0/24 | ||
description: Default europe-west1 subnet for landing trusted |
2 changes: 1 addition & 1 deletion
2
fast/stages/2-networking-c-nva/data/subnets/landing-trusted/landing-trusted-default-ew4.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west4 | ||
ip_cidr_range: 10.128.96.0/24 | ||
ip_cidr_range: 10.80.0.0/24 | ||
description: Default europe-west4 subnet for landing trusted |
2 changes: 1 addition & 1 deletion
2
...ages/2-networking-c-nva/data/subnets/landing-untrusted/landing-untrusted-default-ew1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west1 | ||
ip_cidr_range: 10.128.0.0/24 | ||
ip_cidr_range: 10.64.128.0/24 | ||
description: Default europe-west1 subnet for landing untrusted |
2 changes: 1 addition & 1 deletion
2
...ages/2-networking-c-nva/data/subnets/landing-untrusted/landing-untrusted-default-ew4.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west4 | ||
ip_cidr_range: 10.128.32.0/24 | ||
ip_cidr_range: 10.80.128.0/24 | ||
description: Default europe-west4 subnet for landing untrusted |
2 changes: 1 addition & 1 deletion
2
fast/stages/2-networking-c-nva/data/subnets/prod/prod-default-ew1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west1 | ||
ip_cidr_range: 10.128.192.0/24 | ||
ip_cidr_range: 10.72.0.0/24 | ||
description: Default europe-west1 subnet for prod |
2 changes: 1 addition & 1 deletion
2
fast/stages/2-networking-c-nva/data/subnets/prod/prod-default-ew4.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west4 | ||
ip_cidr_range: 10.128.224.0/24 | ||
ip_cidr_range: 10.88.0.0/24 | ||
description: Default europe-west4 subnet for prod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
fast/stages/2-networking-d-separate-envs/data/subnets/dev/dev-default-ew1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west1 | ||
ip_cidr_range: 10.128.32.0/24 | ||
ip_cidr_range: 10.68.0.0/24 | ||
description: Default subnet for dev |
8 changes: 8 additions & 0 deletions
8
fast/stages/2-networking-d-separate-envs/data/subnets/dev/dev-gke-nodes-ew1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west1 | ||
description: Default subnet for prod gke nodes | ||
ip_cidr_range: 10.68.1.0/24 | ||
secondary_ip_ranges: | ||
pods: 100.68.0.0/16 | ||
services: 100.71.1.0/24 |
2 changes: 1 addition & 1 deletion
2
fast/stages/2-networking-d-separate-envs/data/subnets/prod/prod-default-ew1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# skip boilerplate check | ||
|
||
region: europe-west1 | ||
ip_cidr_range: 10.128.64.0/24 | ||
ip_cidr_range: 10.72.0.0/24 | ||
description: Default subnet for prod |
Oops, something went wrong.