mlab-lattice / lattice

Apache License 2.0
1 stars 3 forks source link

Cloud Provider Integration #189

Closed navenoxin closed 5 years ago

navenoxin commented 6 years ago

Work in support of having better integration with cloud providers (aws, particularly). We can think about this as two changes:

User passes in API server address and port at lattice bootstrap time

So a nodepool knows where it should look when bootstrapping

Nodepool creation generates a new bootstrap token

Worker AMIs aren't packaged with a bootstrap token anymore - because the cluster is no longer initialized at AMI creation time (it seems stronger to dynamically create these as well). I add logic to create bootstrap tokens for nodepools.