Uploaded image for project: 'OpenShift Windows Containers'
  1. OpenShift Windows Containers
  2. WINC-926

[upstream] Fix how kubelet handles OS specific configuration

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • None
    • None
    • 3
    • False
    • None
    • False

      Description

      Kubelet handles OS specific configuration options, specifically EnforceNodeAllocatable, in a manner that makes creating kublet configuration for Windows difficult. Currently EnforceNodeAllocatable's value must be explicitly set to the empty array [] to avoid error. Instead, kubelet should respect [none] as a value.
       

      Engineering Details

       
      We currently have to append the option with the proper empty value instead of including in the kubelet configuration object. Otherwise, when marshalling, the empty value will be omitted entirely from the config file. The default value is [pods], so if this option is not present in the config it would end up being incorrectly populated at service start time.

      Acceptance Criteria

      • Kubelet does not error out when EnforceNodeAllocatable: [none] is provided as an option.
      • In WMCO, we can specify EnforceNodeAllocatable in the kubelet configuration struct

            Unassigned Unassigned
            mohashai Mohammad Shaikh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: