kamaji icon indicating copy to clipboard operation
kamaji copied to clipboard

Support for kubelet extra arguments

Open prometherion opened this issue 3 years ago • 1 comments

The current Kamaji specification doesn't allow specific extra arguments for the kubelet, although kubeadm supports it.

KubeletExtraArgs passes through extra arguments to the kubelet.
The arguments here are passed to the kubelet command line via the environment file kubeadm writes at runtime for the kubelet to source. 
This overrides the generic base-level configuration in the kubelet-config ConfigMap
Flags have higher priority when parsing. These values are local and specific to the node kubeadm is executing on.
A key in this map is the flag name as it appears on the command line except without leading dash(es).

prometherion avatar Sep 10 '22 07:09 prometherion

This feature seems unfeasible for Kamaji, since as the docs is stating:

These values are local and specific to the node kubeadm is executing on.

However, we could change this issue in order to remove any reference from the current code base to the NodeRegistrationOptions struct that is used by the end-user while launching the kubeadm command since we're only storing the ClusterConfiguration that will be used by the command.

prometherion avatar Sep 11 '22 16:09 prometherion