Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

experiment - use first taskrun as anchor pod #1

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Apr 19, 2023

  1. experiment - use first taskrun as anchor pod

    This is an experiment to achieve node affinity without using placeholder pod as we do today in affinity assistant.
    In this experiment, the first PipelienTask pod is used as the "anchor" pod (which can be scheduled to any node).
    Pod affinity terms are only applied follow-up pods, so that the pods can be anchored to the first PipelineTask pod.
    
    The main issue with this idea is that if the anchor pod finishes before the followup pods are started, it runs into
    scheduling conflict as there is no node meets the affinity requirement (inter pod affinity only considers running pods).
    QuanZhang-William committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    de29eb1 View commit details
    Browse the repository at this point in the history