nre-learning / antidote-selfmedicate

Configs and scripts for spinning up a local instance of Antidote on your laptop for testing and lesson development
Apache License 2.0
11 stars 19 forks source link

Return to Roots #79

Open Mierdin opened 4 years ago

Mierdin commented 4 years ago

In my recent forum post I mentioned that I used a heavily modified form of the selfmedicate script that uses the kvm2 driver to play around with kata containers. It worked beautifully. This caused me to start thinking about how the role of selfmedicate has changed in the last year.

In particular, there are a few things that are very different now than they were when this project started:

I'm opening this issue because once I'm done with my "prod" work, I plan to open a PR to hyper-simplify things. Without context, it might look like I'm going on a killing spree, so I wanted to open this first to at least get my thoughts on paper, well in advance of a PR (which I won't have time for until at least a few weeks from now). I love the work that went into adding Vagrant support a year back, but I think the times have changed. It's time to return to the roots, where it really is just little more than a thin wrapper on top of minikube.

smk4664 commented 4 years ago

The other main driver for Vagrant was Windows support. The CLI tool for generating curriculum and the preview help this issue.

Mierdin commented 4 years ago

@smk4664 Refresh my memory - what exactly didn't support windows? Minikube seems to, at least at this point: https://kubernetes.io/docs/tasks/tools/install-minikube/

smk4664 commented 4 years ago

@Mierdin I don't remember what the old driver for minikube was, but Windows does not support the proposed kvm2 driver. The other issue was the old bash script to start self-medicate.

Mierdin commented 4 years ago

Hm, okay. Well in any case as you mentioned, the new tooling helps with this issue, and I'm inclined to take the stance that if someone still needs selfmedicate, the onus should be on them to make the necessary modifications to support their system if needed. I think this may even be made easier by thinning out what we put on top of minikube anyways.

smk4664 commented 4 years ago

I am good with this.

smk4664 commented 3 years ago

@Mierdin If you haven't started on this, I would like to take on some of this work. At least getting it back running with the original intent and updating the libraries.

gbonnefille commented 3 years ago

What about splitting this project in tow distinct parts:

As a soft-skilled K8S user, I have my K8S of choice. So I only need a collection of manifests to test/run Antidote. Related to this, I suggest you to separate infrastructure requirement (like an Ingress controller) from the applicative manifest.

(Sorry if my comment is out-of-topic)

Mierdin commented 3 years ago

If you haven't started on this, I would like to take on some of this work. At least getting it back running with the original intent and updating the libraries.

@smk4664 I would say don't bother. Since what I have in mind is fairly destructive, I wouldn't want you to waste your time. I'll be hyper-simplifying things and then marking this repo read-only.

@gbonnefille Your comment isn't out-of-topic, but also isn't really the direction I'm aiming for here. If you know what you're doing, feel free to make the changes you're suggesting in your own copy. Selfmedicate was meant to be turnkey for those that didn't know k8s.

smk4664 commented 3 years ago

That destructive! Good with me.