Skip to content

Option to run worker task as container args in k8s - #10859

Closed
dszakallas wants to merge 3 commits into
apache:masterfrom
dszakallas:run_as_args_2
Closed

Option to run worker task as container args in k8s#10859
dszakallas wants to merge 3 commits into
apache:masterfrom
dszakallas:run_as_args_2

Conversation

@dszakallas

Copy link
Copy Markdown

Adds the kubernetes.run_as_args configuration option. When set to True the K8s executor will place the task runner command in the container's args field instead of command so that a custom entrypoint can be used.

Merge #10393 first


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

dimberman and others added 3 commits September 9, 2020 13:54
Removes thousands of lines of code that essentially ammount to us
re-creating the Kubernetes API. Will offer a faster, simpler
KubernetesExecutor for 2.0
@pingzh

pingzh commented Sep 12, 2020

Copy link
Copy Markdown
Contributor

Good point, i had a similar pr before: #10481. It is important to not override the entrypoint of the user's image.

@dszakallas

Copy link
Copy Markdown
Author

Also, see this comment: #10481 (comment)

@ryw ryw removed the area:docs label Oct 27, 2020
@mik-laj

mik-laj commented Oct 30, 2020

Copy link
Copy Markdown
Member

This change looks like it has a lot of unrelated changes. Can you do a rebase?

@kaxil kaxil added provider:cncf-kubernetes Kubernetes (k8s) provider related issues and removed area:k8s labels Nov 18, 2020
@github-actions

github-actions Bot commented Mar 7, 2021

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions Bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Mar 7, 2021
@github-actions github-actions Bot closed this Mar 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:CLI area:dev-tools area:helm-chart Airflow Helm Chart area:Scheduler including HA (high availability) scheduler area:serialization provider:cncf-kubernetes Kubernetes (k8s) provider related issues stale Stale PRs per the .github/workflows/stale.yml policy file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants