Skip to content

Add comments to transformTolerations in pkg/ddc/alluxio/transform_resources.go. #4522

@kennySDing

Description

@kennySDing

Which function do you want to add comments to?
transformTolerations in pkg/ddc/alluxio/transform_resources.go.
What comments do you want to add?

// transformTolerations updates the Alluxio configuration with tolerations specified in the dataset.
// It iterates over each toleration in dataset.Spec.Tolerations, clears the TolerationSeconds field,
// and appends the modified toleration to value.Tolerations. This ensures that only the necessary toleration
// settings (without expiration) are transferred to the Alluxio value.

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