You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add shared vpc CI job for installer repo and informing periodics
* `==` vs `=~`
the regex match allows the cluster_variant to be a mix like `compact,shared-vpc`
* Azure vritual network (an other resources) need to be in the same location as the various cluster resources like virtual machines, load balancers etc.
So, The job picks the right resources based on the regions picked.
The resources were created using the work-in-progress UPI Azure docs with some modifications [4].
* AWS needs to picks set of subnets from 4 groups because of the limitation on the number of tags on the each resource [1]
The max tags allowed per resource is 50, and since we need atleast one tag (kubernetes.io/cluster/<>: shared) on each subnet, and also internal-lb on some subnets, 25% load sharing on 4 sets
allows ~200, but since these subnets were created by CloudFormation, there are already 3 tags on each subnet, so its definitely not 200.
There is no regions switch on AWS currently, therefore there was no need to crate subnets per region, but whenever that happends we might have to add those.
The resources where created using the AWS CF templates for creating VPC [3]
```
aws cloudformation create-stack --stack-policy-body --stack-name do-not-delete-shared-vpc-1 --template-body "$(cat upi/aws/cloudformation/01_vpc.yaml)" --parameters ParameterKey=AvailabilityZoneCount,ParameterValue=3
```
* GCP has one set of network resources
There is no regions switch on GCP currently, therefore there was no need to crate subnets per region, but whenever that happends we might have to add those.
The resources where created using the GCP UPI template for creating a VPC [2]
```
gcloud --project openshift-gce-devel-ci deployment-manager deployments create do-no-delete-shared-vpc --config 01_vpc.yaml
```
[1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-restrictions
[2]: https://github.com/openshift/installer/blob/release-4.3/upi/gcp/01_vpc.py
[3]: https://github.com/openshift/installer/blob/release-4.3/upi/aws/cloudformation/01_vpc.yaml
[4]: https://github.com/glennswest/ocpupi4azure
0 commit comments