migtools / crane-runner

Apache License 2.0
2 stars 11 forks source link

Add scenario running crane manually to get a baseline #16

Open eriknelson opened 2 years ago

eriknelson commented 2 years ago

What is your persona?

I'm an application developer that is interested in crane and I'd like to migrate my application from my toy environment to a shared multi-tenant environment. I want to use crane to help me with this and I'm trying to learn the tool.

What is your story / use case?

As a prospective crane user, I'm interested in learning the tool and see all of the crane commands in the documentation, but now I want an example for how to use them in conjunction with one another. I want to learn the crane tool itself first before using some of the more advanced cluster task workflows.

Do you have a suggestion for implementation?

Add an example as the first one in the docs that I can follow where I run the commands manually to mirror the stateless workload.

jameslabocki commented 2 years ago

I like this. I would start the scenarios by letting people jump into a single pod running crane. @djzager showed us this with this command:

kubectl --context dest --namespace guestbook run -i --tty --rm debug --image=quay.io/konveyor/crane-runner:latest --restart=Never --command bash

Then do the steps one by one. Then explain how these can be put into tasks to make it easier and scalable.