forked from flyteorg/flyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fetch whether task is interruptible as part of taskMetaData (flyteorg#68
) * wip * generate mockery * upd to IsInterruptible * handling interruptible * node selector and label * tests * . * . * Addressing CR comments * . Co-authored-by: Surinder Singh <[email protected]>
- Loading branch information
1 parent
e79dce8
commit 798212c
Showing
19 changed files
with
169 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
32 changes: 32 additions & 0 deletions
32
go/tasks/pluginmachinery/core/mocks/task_execution_metadata.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Sample plugins config | ||
plugins: | ||
# Set of enabled plugins at root level | ||
enabled-plugins: | ||
- container | ||
# All k8s plugins default configuration | ||
k8s: | ||
default-annotations: | ||
- annotationKey1: annotationValue1 | ||
- annotationKey2: annotationValue2 | ||
default-labels: | ||
- label1: labelValue1 | ||
- label2: labelValue2 | ||
resource-tolerations: | ||
nvidia.com/gpu: | ||
key: flyte/gpu | ||
value: dedicated | ||
operator: Equal | ||
effect: NoSchedule | ||
storage: | ||
- key: storage | ||
value: special | ||
operator: Equal | ||
effect: PreferNoSchedule | ||
interruptible-node-selector: | ||
- x/interruptible: "true" | ||
interruptible-tolerations: | ||
- key: x/flyte | ||
value: interruptible | ||
operator: Equal | ||
effect: NoSchedule | ||
default-env-vars: | ||
- AWS_METADATA_SERVICE_TIMEOUT: 5 | ||
- AWS_METADATA_SERVICE_NUM_ATTEMPTS: 20 | ||
- FLYTE_AWS_ENDPOINT: "http://minio.flyte:9000" | ||
- FLYTE_AWS_ACCESS_KEY_ID: minio | ||
- FLYTE_AWS_SECRET_ACCESS_KEY: miniostorage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters