Skip to content

Feature Request: Surface the current runtime #2531

@ntaylor-ads

Description

@ntaylor-ads

I would like to implement logic specific to the current executing runtime (e.g. different logic if the flow is running locally vs. as an argo workflow). Does this functionality already exist? If not, it seems to me that the cleanest way to do this would be to surface it on the current object, e.g. current.runtime, which might return strings such as "argo", "local", "kubernetes" and "batch".

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions