-
Couldn't load subscription status.
- Fork 4
Kubernetes #99
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
Kubernetes #99
Conversation
|
@davidferlay
|
|
@iignatevich @davidferlay |
|
Thanks @lexbritvin , Roger that, I'm gonna make regression tests and we will merge as is. About Image build is not supported yet. The image must exist in the available container registry. Any idea how to support that ? |
| switch t { | ||
| case Docker: | ||
| return NewDockerDriver() | ||
| return NewDockerRuntime() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think it should be named as New%TypeDriver or New%TypeRunner + renaming internal structs, as it's confusing with NewContainerRuntimeKubernetes and NewContainerRuntimeDocker
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it is confusing. And naming must be addressed here.
Driver is a bad naming. So we don't consider it for now.
I suggest that we cover the case when we rename the package driver to container.
A bit info about why so:
New%TypeRunner- we don't create a Type and we don't create a runner.- We create a client to
Runtime. See about Container Runtimes and CRI. Even though kubernetes is not exactly a runtime, for us it is. - In the action we also have Runtime, but it's about what is running the action. It can be function, shell, container.
- We also have
runtimepackage in go that describes the go language and os.
Please, let me know what you think about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's rename to container, but as discussed, need to rethink runtime (upper level) naming.
|
Bellow some feedbacks from first test -> just dropping here to be treated later in follow-ups Pods get created as expected locally with k3s:
Executing an action with container runtime fails with
Also had another kind of issue with another action: here are action files to reproduce: test-action.tar.gz |
|
Gonna start testing for regression to get PR merged soon |
|
Found some significant issues:
It seems to be reproduced everytime command fails or requires user input:
|
Fixed |
I think we should address that in the next refactorings. |
I'd rather opt for simplicity and either:
In any case, let's not bother with it now I'll create a specific task for it |

No description provided.