Skip to content

OCTRL-1109 using kubernetes checks to easily run Task in K8s - #873

Open
justonedev1 wants to merge 1 commit into
masterfrom
easier_k8s_runs
Open

justonedev1 wants to merge 1 commit into
masterfrom
easier_k8s_runs

Conversation

@justonedev1

Copy link
Copy Markdown
Collaborator

For this to be enabled you need to add k8s_enabled environment variable. ECS will than check ControlWorkflows repository with required task with suffix -k8s and than continues from there.


// When enabled, the JIT workflow gets a separate name (and files), whose tasks are deployed via the K8s path
jitK8sEnabled := varStack["jit_k8s_enabled"] == "true"
jitK8sEnabled := varStack["k8s_enabled"] == "true"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we have now two variables saying the same enableKubernetes and k8s_enabled, but having different effects, I'd rather rename k8s_enabled into something like runTasksWithKubernetes in order to avoid confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants