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
{{ message }}
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.
I'm seeing this error for a template rendered with 0.9.4-rc.3, and a node pool with a change that requires the custom settings:
Error: Failed to initialize cluster driver: failed to load node pool #0: failed to render worker cloud config: template: userdata/cloud-config-worker:389:65: executing "userdata/cloud-config-worker" at <.CustomSettings.work...>: can't evaluate field CustomSettings in type *config.ComputedConfig
not to say that .CustomSettings shouldn't be fixed, but why do you need swap? there is even a flag to enable startup with swap, but description suggests, that starting from version 1.6 kubelet going to refuse to start if it detects that swap is enabled:
--experimental-fail-swap-on Makes the Kubelet fail to start if swap is enabled on the node. This is a temporary option to maintain legacy behavior, failing due to swap enabled will happen by default in v1.6.
Interesting. Didn't know that, so that's certainly to be considered.
Why do I need swap: I'm not 100% sure I do, but given the apps I'm running in the cluster I know that they might have quite a bit of "unused" memory (Java ...).
resources.request.memory is used to schedule, but doesn't limit resource usage. so it can be set smaller than actual usage, which itself is limited by resources.limit.memory.
Actually Java memory is one of the most predictable. from previous experience it was safe to set container limit to Heap size (defined by -Xmx) + 256 MB
I'm seeing this error for a template rendered with 0.9.4-rc.3, and a node pool with a change that requires the custom settings:
Change in the user data:
The text was updated successfully, but these errors were encountered: