Open alex-dabija opened 2 years ago
We just need 2 different machine times for obi.
Unfortunately, our product has many limitations and at the moment in order to have proper support for those additional instance types we have to do a release because of some hard-coded calculations in aws-operator
(e.g. number of IPs which can be used by the instance). That's why we want to put in place some automation and extract the calculation from aws-operator
in order to stop having to do these kinds of updates.
Yes, I do know that this should be just a simple operation, but it's not.
Blocked until we decide on how we want to make the EC2 instance data available to every EC2 instance we run as part of our Kubernetes clusters.
@alex-dabija will draw a diagram on how this is going to work.
This will not be needed if we switch to Cillium.
Will have to revisit the tool for the config repo after we have Cillium: https://github.com/giantswarm/instance-types-util
still paused due to Cilium
Story
-As a cluster admin, I want to use any EC2 instance type available in order to have flexibly configure clusters and to use the best instance type for our use case.
Background
The list of EC2 instance types for an installation is static, outdated and updates are manual.
We are also slow in adding additional instance types because not all of them are available in all regions. The maximum number of pods calculation needs to be updated every time a new instance type is added. A new release is required because the calculation is done on every EC2 instance and the script is part of
k8s-cloudconfig
.Requirements
Possible solutions
The biggest problem we have is the propagation of the EC2 instance data required by the maximum pod calculation to every instance. There are two possible solutions:
k8s-cloudconfig
;kublet
environment script uses the lookup table data to calculate the maximum number of pods;Resources