ClusterKubeSchedulerConfigNodeResourcesFitScoringStrategyResource constructor

const ClusterKubeSchedulerConfigNodeResourcesFitScoringStrategyResource({
  1. Input<String?>? name,
  2. Input<int?>? weight,
})

Creates a new ClusterKubeSchedulerConfigNodeResourcesFitScoringStrategyResource. name The name of the resource (e.g., cpu, memory, nvidia.com/gpu). weight The weight assigned to the resource for scoring. Must be between 1 and 100.

Implementation

const ClusterKubeSchedulerConfigNodeResourcesFitScoringStrategyResource({
  this.name,
  this.weight,
});