Skip to content

Kubelet Feature Gates from MD annotations are not going through #534

@CallMeFoxie

Description

@CallMeFoxie

Hi
I have got a MachineDeployment object with metadata like this:

metadata:
  annotations:
    v1.kubelet-featuregates.machine-controller.kubermatic.io/DRAConsumableCapacity: "true"
    v1.kubelet-featuregates.machine-controller.kubermatic.io/DRADeviceTaints: "true"
    v1.kubelet-featuregates.machine-controller.kubermatic.io/DRAExtendedResource: "true"
    v1.kubelet-featuregates.machine-controller.kubermatic.io/DRAPrioritizedList: "true"
    v1.kubelet-featuregates.machine-controller.kubermatic.io/DynamicResourceAllocation: "true"
    v1.kubelet-featuregates.machine-controller.kubermatic.io/ResourceHealthStatus: "true"

which is taken from Machine-Controller's code here https://github.com/kubermatic/machine-controller/blob/main/sdk/apis/cluster/common/consts.go#L181 but I cannot find any place where it would be used around here ? https://github.com/kubermatic/operating-system-manager/blob/main/pkg/controllers/osc/resources/operating_system_config.go#L465

am I overlooking something? Because the output kubeletConfig does NOT have these featuregates enabled or even templated in the output OSC.

Thanks
Ashley

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions