Moving Kubelet kernel-memgc-notification to configuration file

This commit is contained in:
Amim Knabben
2020-06-06 11:55:43 -04:00
parent 82d27aa030
commit c39cf28ed3
11 changed files with 40 additions and 27 deletions

View File

@@ -98,7 +98,7 @@ func prependCOSMounterFlag(args, host, workspace string) (string, error) {
// prependMemcgNotificationFlag prepends the flag for enabling memcg
// notification to args and returns the result.
func prependMemcgNotificationFlag(args string) string {
return "--kubelet-flags=--experimental-kernel-memcg-notification=true " + args
return "--kubelet-flags=--kernel-memcg-notification=true " + args
}
// updateOSSpecificKubeletFlags updates the Kubelet args with OS specific