Closed mschnee closed 6 months ago
@mschnee I have added 5 extra_tags
to the reference architecture and added a bunch of invalid characters.
In the latest commit, I believe that all parts of the stack can now function normally with arbitrary amounts of extra tags with arbitrary characters.
I am going to close this issue, but if you find you are still running into problems with tags, please re-open it, and we can continue to investigate.
Prior Search
What happened?
Because
extra_tags
is used bykube_labels
and feeds intomatching_labels
, applying extra tags can cause the node pool definitions to go over the limit of the 30-requirement limit karpenter has.Steps to Reproduce
Use a handful of extra tags in kube_karpenter_node_pools at any level (module, region, envirionment, global)
Version
main (development branch)
Relevant log output
Recommendations
Just some ideas:
extra_tags
andextra_labels
configurations.kube_labels
in this manner is inappropriate for this module.There are a number of issues with using the
extra_tags
configuration for both AWS Resource Tagging as well as kubernetes labels:extra_tags
may end up in unexpected places (such as in the matching labels)