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

[question] can the pipeline support non-kubernetes environments #1012

Closed
HusterWan opened this issue Jun 26, 2019 · 11 comments
Closed

[question] can the pipeline support non-kubernetes environments #1012

HusterWan opened this issue Jun 26, 2019 · 11 comments
Labels
kind/question Issues or PRs that are questions around the project or a particular feature

Comments

@HusterWan
Copy link

Why I ask this question?

we have two large production environment, which one is an old system that not used the kubernetes, the other one is kubernetes env.

I want to delivery the components (kubernetes components and non-kubernetes components) by all using the tekton. It this idea is reasonable or do you guys have any suggestion for this situation?

@HusterWan HusterWan changed the title [question] can the pipeline support non-kubernetes [question] can the pipeline support non-kubernetes environments Jun 26, 2019
@vincent-pli
Copy link
Member

Tekton is k8s native, can not run without k8s.
Does the old environment has Docker? you can use Kind prepare a build-in k8s, then run Tekton on that.

@jeffzhu503
Copy link

We understand that Tekton is k8s native and it must run inside k8s. Can Tekton support a pipeline that release the code to the old environment that is running on VM not k8s? Many enterprises may have that requirement. Can it be a new feature for Tekton?

@HusterWan
Copy link
Author

Tekton is k8s native, can not run without k8s.
Does the old environment has Docker? you can use Kind prepare a build-in k8s, then run Tekton on that.

@vincent-pli our old environment is all running containers, what do you mean use Kind prepare a build-in k8s, does this have docs?

@vincent-pli
Copy link
Member

😭 So, you have a Tekton-pipeline running for some process (checkout, build, whatever), when almost complete, get an output stuff, then you want to deploy(release) these stuff to a no-k8s env? am I right?

I think you need a task to do that, you can handle this in that task, no matter the target env is k8s or not.

@HusterWan
Copy link
Author

😭 So, you have a Tekton-pipeline running for some process (checkout, build, whatever), when almost complete, get an output stuff, then you want to deploy(release) these stuff to a no-k8s env? am I right?

you are right

I think you need a task to do that, you can handle this in that task, no matter the target env is k8s or not.

but how can i run tekon-pipeline task with k8s env? ...

@vincent-pli
Copy link
Member

You can have two tasks all depends on previous step (task), one for k8s env another for no-k8s
another option is handle both in one task.

@HusterWan
Copy link
Author

You can have two tasks all depends on previous step (task), one for k8s env another for no-k8s
another option is handle both in one task.

got you, 3x

@paulalex
Copy link

paulalex commented Aug 5, 2019

Sorry to jump in but I have a similar use case. Is it possible to run builds using tekton that deploy into k8s as our current jenkins set up does for us, but also use tekton pipelines to deploy changes for terraform to roll out infrastructure changes? I cant find any information on this online.

@vdemeester vdemeester added the kind/question Issues or PRs that are questions around the project or a particular feature label Nov 7, 2019
@vdemeester
Copy link
Member

@HusterWan @paulalex yeah, there is no limitiation on deploying things to the current running cluster (or any k8s cluster to be honest). You can deploy to anything as long as you have (or write) a task for it (see ansible tower-cli task for example)

We may need more task of the kind (terraform, …) and maybe a little bit of documentation or blog posts on the future tekton.dev website 👼

I am tempted to close this issue in the mean time, wdyt ?

@bobcatfish
Copy link
Collaborator

This is something we definitely want to support in the long run but we haven't made a lot of movement toward it yet. Anyone interested in getting started with any requirements gathering / design work?

@bobcatfish
Copy link
Collaborator

@imjasonh opened #1826 , also @dlorenc wrote a blog post experimenting with Tekton + MacStadium (https://medium.com/@dlorenc/tekton-on-mac-ed6ea72d1efb)

I'm gonna assume we can close this issue for now and focus on specific issues such as #1826

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Issues or PRs that are questions around the project or a particular feature
Projects
None yet
Development

No branches or pull requests

6 participants