Kops created a cluster as well as terraform scripts.
How to restart kubelet and provide new flags for garbage collection(manual approach) and how to apply them to terraform?
Problem occurs when I manually kill the kubelet process on master and it keeps getting restarted immediately.
You could change the /etc/sysconfig/kubelet file.
In the config, append / change the flags you need. Then restart the kubelet service using
$ systemctl restart kubelet