Add custom kubelet profiles

Custom kubelet profiles are set up through the MKE configuration file.

  1. Download the MKE configuration file.

  2. Add a parameter called [cluster_config.custom_kubelet_flags_profiles] to the MKE configuration file.

    Note

    You can define the profile name with one more more valid kubelet flags, with each flag separated by a space.

    Example:

[cluster_config.custom_kubelet_flags_profiles]
  high = "--kube-reserved=cpu=200m,memory=512Mi --kube-reserved-cgroup=/high"
  low = "--kube-reserved=cpu=100m,memory=256Mi --kube-reserved-cgroup=/low"