giantswarm / roadmap

Giant Swarm Product Roadmap
https://github.com/orgs/giantswarm/projects/273
Apache License 2.0
3 stars 0 forks source link

Private Link for upstream CAPZ #2042

Open Rotfuks opened 1 year ago

Rotfuks commented 1 year ago

Motivation

In https://github.com/giantswarm/roadmap/issues/2011 we learned that we can improve the security and stability of our private network workload clusters by introducing private links to upstream capz. With that we can easily connect to workload clusters private endpoints and don't have to care too much about overlapping IP addresses.

Todo

- [x] Investigate the state of private endpoints / private link in upstream
- [x] Create an issue to propose and discuss private link as a new feature in upstream https://github.com/kubernetes-sigs/cluster-api-provider-azure/issues/3400
- [x] Implement private link in our CAPZ fork https://github.com/giantswarm/cluster-api-provider-azure/pull/17
- [ ] Update CAPZ app https://github.com/giantswarm/cluster-api-provider-azure-app/pull/104
- [ ] Update cluster-azure app https://github.com/giantswarm/cluster-azure/pull/115

Outcome

primeroz commented 1 year ago

As discussed in Refinement we might need to think how we will access WC nodes over ssh if we use PrivateLinks

From an AZURE architecture point of view we might just a bastion private link exposed in the MC Vnet where

[Bastion PrivateLink EndPont in MC Vnet] -> [ Bastion LB in WC Vnet ] -> [ Bastion Node LB Member ]

like

Image

The only issue here would be how do we automate creation and mantainance of he LB and the PrivateLink Endpoint

Rotfuks commented 10 months ago

Sorry, closed the wrong ticket! :D