or how to replace git push heroku master and cf push with Kubernetes

PaaS has made deployment of applications very easy. Kubernetes has made deployment of applications very flexible but not easy. There are efforts to add the "easy" part to Kubernetes. That would make Kubernetes a good alternative to PaaS. With so many public cloud Kubernetes offerings nowadays, it would be nice if one could simply pick up their preferred cloud and have an app running in minutes. This HackWeek project will be and exploration of the available tools that can make Kubernetes as friendly as a PaaS for deployment but also how much Kubernetes can help development.

An example application will be used to test development and deployment to both staging and production.

Tools available

  • Buildpacks
  • Knative (build, server etc)
  • Local kube clusters (kind, microk8s etc)
  • Concourse, buildkite, drone.io etc (for CI)
  • Kube dashboard (for monitoring etc)

Desired results

At the end of the Hackweek there should be a repository that could be used as a "framework" when starting a project. It should have instructions on how to use the various helper scripts and ideally a single entry point (like a cli or Makefile of bash script).

User stories

  • As a developer having the code of a Ruby application on my local filesystem, I want to be able to run my application without installing any dependencies.
  • As a developer, I want the running (development) instance of my application to be updated very quickly when I change the code (with or without manual intervention)
  • As a developer, I want to be able to deploy my application on public cloud with one command.
  • As a developer, I want to be able to rollback a deployment.
  • As a developer, I want to be able to run database migrations.
  • (more might be added later)

Looking for hackers with the skills:

kubernetes paas development

This project is part of:

Hack Week 18


Comments

  • DKarakasilis
    8 months ago by DKarakasilis | Reply

    Created GitHub repository to host results: https://github.com/jimmykarily/kubaas

  • DKarakasilis
    8 months ago by DKarakasilis | Reply

    Relevant blog post by Troy: https://www.suse.com/c/the-holy-grail-of-paas-on-kubernetes/

Similar Projects

CSI Driver for Kubernetes by chinyahuang

Since Kubernetes already has a clear path of "i...


Integrate Firecracker (microVMs) with a Cloud Foundry app runtime scheduler by tassis

Description

[Firecracker](https://firecrac...


SUSE Manager Cluster Extension (PoC) by bmaryniuk

Since SUSE Manager doesn't scale out and stacki...


Home assistant that doesn't spy on you - developer's edition by DKarakasilis

There are various home assistant solutions out ...