Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(controller): Auto-mount empty-dir for k8sapi/kubelet executor outputs. Closes #2679 #4766

Closed
wants to merge 32 commits into from

Conversation

alexec
Copy link
Contributor

@alexec alexec commented Dec 17, 2020

Signed-off-by: Alex Collins alex_collins@intuit.com
Closes #2679

Checklist:

…tputs. Closes argoproj#2679

Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
@terrytangyuan
Copy link
Member

We are currently using a similar workaround. I'll be testing this. Though it seems like the k8sapi test is failing?

@alexec
Copy link
Contributor Author

alexec commented Dec 18, 2020

Though it seems like the k8sapi test is failing?

Yes. I don't want to invest too much time into one failing test mind you. All others are passing.

@alexec alexec reopened this Jan 8, 2021
Signed-off-by: Alex Collins <alex_collins@intuit.com>
@alexec
Copy link
Contributor Author

alexec commented Jan 8, 2021

@terrytangyuan for testing you can use these images:

docker pull alexcollinsintuit/argoexec:auto-emptydir
docker pull alexcollinsintuit/workflow-controller:auto-emptydir

@alexec
Copy link
Contributor Author

alexec commented Jan 8, 2021

  • TestPropagateMaxDuration
  • TestStopBehavior
  • TestTerminateBehavior

@terrytangyuan
Copy link
Member

Thanks. I'll test this out when I get a chance.

alexec added 8 commits January 9, 2021 15:54
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
@terrytangyuan
Copy link
Member

terrytangyuan commented Jan 15, 2021

Update: I've performed the initial set of testing and the changes here look good and functional to me. Thanks for the great work! @alexec

@alexec
Copy link
Contributor Author

alexec commented Jan 17, 2021

@terrytangyuan we need to figure out why the e2e tests are failing now. Would you like to give that a go? I'm busy with other work at the moment.

Signed-off-by: Alex Collins <alex_collins@intuit.com>
@terrytangyuan
Copy link
Member

I am a little overloaded at the moment but will check it out and update here when I get a chance.

Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
@@ -300,8 +243,10 @@ func TestChmod(t *testing.T) {
}

func TestSaveArtifacts(t *testing.T) {
t.Skip("TODO")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

TODO

Signed-off-by: Alex Collins <alex_collins@intuit.com>
alexec added 14 commits January 19, 2021 09:06
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Signed-off-by: Alex Collins <alex_collins@intuit.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auto-mount emptyDir volumes for k8sapi/kubelet or runAsNotRoot: true(?) executors
2 participants