You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, cdk8s+ is a great library but its missing a basic but a very important feature of setting the resources of the container.
I could not find any reference for it in the documentation, but I did find the option Escape Hatches. This worked great for me when adding nodeSelector, but it does not seem to work with the resources key.
When I look at the output json, it does seem to add the resources key and even the limits and requests, but no matter what I tried it keeps adding them with an empty dict inside. This is what is added to the json: 'resources': {'limits': {}, 'requests': {}}
Is there a way to make this work?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, cdk8s+ is a great library but its missing a basic but a very important feature of setting the resources of the container.
I could not find any reference for it in the documentation, but I did find the option Escape Hatches. This worked great for me when adding nodeSelector, but it does not seem to work with the resources key.
This is the code I tried:
When I look at the output json, it does seem to add the resources key and even the limits and requests, but no matter what I tried it keeps adding them with an empty dict inside. This is what is added to the json:
'resources': {'limits': {}, 'requests': {}}
Is there a way to make this work?
Thanks!
The text was updated successfully, but these errors were encountered: