#6618 Remove the primary pod annotation from raw container task
Pull request opened by
pingsutw
## Tracking issue
NA
## Why are the changes needed?
propeller kill the raw container task without waiting for the uploader to upload the output
## What changes were proposed in this pull request?
Remove the primary pod annotation from raw container task
## How was this patch tested?
from flytekit import ContainerTask, kwtypes
greeting_task = ContainerTask(
name="test",
image="alpine:latest",
input_data_dir="/var/inputs",
output_data_dir="/var/outputs",
inputs=kwtypes(name=str),
outputs=kwtypes(greeting=str),
command=["/bin/sh", "-c", "sleep 1 | echo 'Hello, my name is {{.inputs.name}}.' | tee -a /var/outputs/greeting"],
)
### Labels
Please add one or more of the following labels to categorize your PR:
•
added: For new features.
•
changed: For changes in existing functionality.
•
deprecated: For soon-to-be-removed features.
•
removed: For features being removed.
•
fixed: For any bug fixed.
•
security: In case of vulnerabilities
This is important to improve the readability of release notes.
### Setup process
### Screenshots
## Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
## Related PRs
## Docs link
https://bito.ai#summarystart|
### Summary by Bito
This pull request enhances pod annotation handling in the Flyte framework by removing the primary pod annotation from raw container tasks, preventing premature task termination. It also updates the AWS SDK dependency and eliminates unnecessary AWS credential functions.
flyteorg/flyte