keptn / lifecycle-toolkit

Toolkit for cloud-native application lifecycle management
https://keptn.sh
Apache License 2.0
313 stars 122 forks source link

Killercoda online demo for lifecycle controller #250

Closed oleg-nenashev closed 1 year ago

oleg-nenashev commented 2 years ago

Discussed in https://github.com/keptn/lifecycle-controller/discussions/242

Originally posted by **agardnerIT** October 25, 2022 To increase adoption, it would be useful to have a killercoda demo for the lifecycle controller. @afzal442 would you be interested to take this one on?
thschue commented 2 years ago

Good Idea! Please make sure, that you are using the examples which are in the examples folder. I wonder if this will work in Killercoda, but please let me know ...

afzal442 commented 2 years ago

Wow! That'll be awesome. Thanks for sharing with us such a nice curated examples. BTW I will be busy this two weeks.

afzal442 commented 2 years ago

Follow up video https://www.youtube.com/watch?v=lIfMq6dSFgo

agardnerIT commented 1 year ago

To clarify the ask here:

Create a new Killercoda scenario which:

I am happy to assist with Killercoda specifics but know that their docs are also excellent.

agardnerIT commented 1 year ago

@thschue @thisthat: @vinay-ksingh would like to work on this. Please assign to him.

mowies commented 1 year ago

@vinay-ksingh pls drop a comment on this issue so that we can assign you

vinay-ksingh commented 1 year ago

Yes, please assign to me

agardnerIT commented 1 year ago

@vinay-ksingh I'm back from Christmas break so please ping me here or on Slack if you need assistance.

Be aware of this thread too from @grabnerandi - it might be able to form the basis of the killercoda exercise? What are your thoughts Andy? https://cloud-native.slack.com/archives/C046WBJN3PA/p1672408987193089

agardnerIT commented 1 year ago

@vinay-ksingh do you still have time available to work on this or should I ask the community again if anyone would like to assist you?

Please do reach out if you need anything. Happy to knowledge share if you're stuck :)

vinay-ksingh commented 1 year ago

Hi @agardnerIT, sorry for being late, I was having a serious issue that's why was not much active.

vinay-ksingh commented 1 year ago

Started working on it, will let you know if I get stuck

agardnerIT commented 1 year ago

I'm really sorry to hear that and please do not rush, take the time you need for your personal stuff. We will still be here when you're ready. I didn't mean to rush you at all, sorry.

SuperAayush commented 1 year ago

Hey @agardnerIT, I would like to work on this!!

mowies commented 1 year ago

@vinay-ksingh is already working on it :)

agardnerIT commented 1 year ago

What is the status of this? We have (at least) 3 people I know of working on this but I don't see any collaboration notes here?

Can someone summarise where things stand and what needs to be done next? This will allow others to assist and drive this to a conclusion.

SuperAayush commented 1 year ago

I have started working on this, still on the phase of preparing the outline and figuring out how to work with scripting thing. I have understood the basic working of killerkoda and regarding the further process will update soon!! Experimenting here: https://github.com/SuperAayush/killercoda-demo-klt

agardnerIT commented 1 year ago

Do you need any assistance @SuperAayush ?

agardnerIT commented 1 year ago

@SuperAayush is this still a work in progress? Do you need any help from the community?

SuperAayush commented 1 year ago

Have been working on getting the basic demo up and running on Killercoda to continue further. Stuck in setting up the demo, will give an another go by creating a separate demo repo.

SuperAayush commented 1 year ago

Okay so even after creating a demo repo to make a simple scenario of killercoda, the scenario is not working. This is the repo link: https://github.com/SuperAayush/demo Bug This is the simple setup with kubernetes-kubeadm-1node Need help here.

agardnerIT commented 1 year ago

Have you set up the webhook successfully? The fact that it says "no scenarios yet" makes me think not.

The instructions are here: https://killercoda.com/creators/get-started

Your repo looks fine so solve the webhook (which will create the scenario automatically in your screenshot) and you should be underway.

SuperAayush commented 1 year ago

I have followed the same steps mentioned here: https://killercoda.com/creators/get-started But not able to see the scenario. Here you can have a look: Webhook

Have you set up the webhook successfully? The fact that it says "no scenarios yet" makes me think not.

The instructions are here: https://killercoda.com/creators/get-started

Your repo looks fine so solve the webhook (which will create the scenario automatically in your screenshot) and you should be underway.

SuperAayush commented 1 year ago

Just a update on the demo, the repo is live here: https://github.com/SuperAayush/KLT-Killercoda I am still in the process of making the demo in case someone wants to have a look or improve some of the process please jump in. The demo: https://killercoda.com/superaayush/scenario/lifecycleToolkit Thank You!!

agardnerIT commented 1 year ago

Hi all, thank you to Aayush for all the hard work to get to this point.

We are trying our best to have this available for Kubecon in Amsterdam 2023.

A quick status update for those following: There are a number of errors. These issues won't only impact the killercoda demo, they'll impact (and effectively prevent) anyone from installing KLT without either:

a) Realising the docs are wrong, digging into it, finding the right repo (this one) and pulling the correct repo. Then modifying cd paths. No new users will do that. Result = no-one can install KLT at present. a) Even IF the above is done, a BIG cluster is required. This excludes any localhost setup. b) Manual modifications to the YAMLs to get it working

  1. https://github.com/keptn/lifecycle-toolkit/issues/1154
  2. https://github.com/keptn/lifecycle-toolkit/issues/1155
agardnerIT commented 1 year ago

There are a few discussions happening from what I can gather:

  1. Keptn Sandbox IS the correct repo so my PR which "fixes" this is irrelevant
  2. The Keptn Sandbox examples are (currently) not working

So, who and what needs to happen to get this unblocked? I'm sure that between @SuperAayush, @mowies and myself, we can get whatever needs to be done, done and get this issue resolved.

This issue is already 5 months old and is critical for adoption of KLT. With Kubecon coming up it's really important that users can actually experiment with this. I also really don't want to lose all the momentum and excellent hard-work that @SuperAayush has put into this already (thank you so much!)

mowies commented 1 year ago

So, I worked with @SuperAayush and @RealAnna to get the examples to work with Killercoda. We had to do a few adjustments so that the resource footprint of the example setup gets small enough to fit on a Killercoda k8s cluster. Specifically we made the following changes:

I tested the new examples version on AAyush's killercoda instance and it works now with a few fixes here and there:

agardnerIT commented 1 year ago

For the latest on this: We have a Keptn repo and the tutorial is ready any waiting to be deployed. But we can't seem to find anyone in the project with the permissions and knowledge to enable the killercoda webhook.

It is for the project to decide whether we even want / need this Killercoda tutorial now - I am a fan ... As long as we have a nominated long term maintainer for the tutorial.

It would seem a shame if we didn't use this capability as the community (particularly @SuperAayush) put a lot of time and effort into this.

mowies commented 1 year ago

I can definitely help out with the webhook! Although a maintainer to take the project over would be needed, I agree.

thisthat commented 1 year ago

In the community meeting of October 4th, we voted to not have a Killercoda demo since our guides/examples can be run locally and no-one is owning the demo. I am closing the issue but if someone wants to Maintain the Killercoda demo, feel free to re-open this ticket :)