Closed shawkins closed 2 years ago
The second commit adds support for tolerations. These will always be added as long as there is a profile set. Now that we have moved away from eval instances at some point we could go back and make the profile required.
This adds Profiles to the ManagedKafkaAgent. For now they are empty, but it's expected that with capacity reporting that they will at least contain the max nodes. Here we're using the presence of both developer and standard to trigger adding nodeaffinity (effectively a nodeselector) to all the pods.
There may eventually be a map of profiles, rather than just well known names, but for now we are effectively building our solution around having exactly these named types.
This may also need to be generalized further to adding a toleration.