Commit 97d7857
committed
Add Task to scale down replicas for addons and karpenter in order to fix the aiml-load Pipeline
Description / Motivation:
Addons like coredns and ebs-csi-controllers have PDB set due to which Karpenter is not able to scale down the nodepools. Added Task to scale these addons replicas to 0 before scaling down nodepools in aiml-load pipeline.
In order to stop karpenter logs Task after nodepools are scaled down, I am adding another Task which sets the Karpenter replicas to zero. This is done to force stop karpenter logs which keeps running even when job is done and prevents the Teardown step to run.
Desktop Testing: Tested by triggering Tekton test run.1 parent 3ec214d commit 97d7857
File tree
3 files changed
+121
-5
lines changed- tests/tekton-resources
- pipelines/eks
- tasks
- setup/eks
- teardown/karpenter
3 files changed
+121
-5
lines changedLines changed: 41 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
284 | 285 | | |
285 | 286 | | |
286 | 287 | | |
| |||
602 | 603 | | |
603 | 604 | | |
604 | 605 | | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
605 | 624 | | |
606 | 625 | | |
607 | 626 | | |
| |||
613 | 632 | | |
614 | 633 | | |
615 | 634 | | |
616 | | - | |
| 635 | + | |
617 | 636 | | |
618 | 637 | | |
619 | 638 | | |
| |||
643 | 662 | | |
644 | 663 | | |
645 | 664 | | |
646 | | - | |
| 665 | + | |
647 | 666 | | |
648 | 667 | | |
649 | 668 | | |
| |||
673 | 692 | | |
674 | 693 | | |
675 | 694 | | |
676 | | - | |
| 695 | + | |
677 | 696 | | |
678 | 697 | | |
679 | 698 | | |
| |||
703 | 722 | | |
704 | 723 | | |
705 | 724 | | |
706 | | - | |
| 725 | + | |
707 | 726 | | |
708 | 727 | | |
709 | 728 | | |
| |||
733 | 752 | | |
734 | 753 | | |
735 | 754 | | |
736 | | - | |
| 755 | + | |
737 | 756 | | |
738 | 757 | | |
739 | 758 | | |
| |||
752 | 771 | | |
753 | 772 | | |
754 | 773 | | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
755 | 791 | | |
756 | 792 | | |
757 | 793 | | |
| |||
Lines changed: 52 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
0 commit comments