Skip to content

Scheduler Framework based PredicateChecker - followups #2797

@losipiuk

Description

@losipiuk

This is an umbrella issue to list followup items to be addressed after merging in #2796

  • Do not return errors from ClusterSnapshot methods for which it does not make sense (Cleare, Revert?, Get*, RemovePod?, RemoveNode?)
  • Pass nodeName to RemovePod to avoid costly iteration over all nodes
  • Refactor errors in basic_cluster_snapshot.go.
  • Remove deprecated_scheduler_snapshot
  • N/A - already resolved Add list of nodes (node names?) to FitsAny. Use that to optimize number of PreFilter calls in binpacking.
  • Remove SnapshotClusterState() and all related code (ex. keeping listers in PredicateChecker).
  • Add unit tests for BasicClusterSnaphsot (share with DeltaClusterSnapshot)
  • Address TODOs in predicates_checker_interface.go
    • Forget FakeNodeInfoForNodeName ever existed
  • Address every TODO(scheduler_framework_migration).
  • Cleanup mess in scale-down so we always use ClusterSnapshot as source of truth (see comments below)
  • Clean up how we calculate podDestinations list so it works with snapshot.
  • Consider if we could do a single FitsAny call in findPlaceFor (instead of tryNodeForPod in a loop) .
  • Investigate what happens if there is "pending" pod in cluster with nodeName pointing to node which does not exist in cluster; fix if needed
  • Check if GPU hack still works after removing IsNodeReadyAndSchedulablePredicate
  • Pass context Estimate(), rather that PredicateChecker and ClusterSnapshot to EstimateBuilder
  • Create issue for AWS about failing TestGetRegion
  • Expose separate list of cheap and expensive scheduler plugins kubernetes#87822

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions