5 ms·
You have source code. You want a simple way to turn it into running functions and apps, with eventing support, with clever routing and rollout capabilities, wit
by jacques_chester 8y ago
You have source code. You want a simple way to turn it into running functions and apps, with eventing support, with clever routing and rollout capabilities, without lifting a finger.
It's an abstraction layer being developed above both of Kubernetes and Istio.
- gdsdfe 8y agoahh so you just worry about your business logic, which will be a bunch of 'functions', and knative will take care of routing, deployment, load etc. ?
- jacques_chester 8y agoI would say that yes, that is a good statement of the vision that the contributors share.
- gdsdfe 8y agoGot it! thank you! It's actually very interesting ...
- mattsoldo 8y agoIt isn't limited to functions. Knative can run containerees, or with a build system take full app code and deploy it as a container.
- gdsdfe 8y agoso it can be anything really ... hmm
- evankanderson 8y agoI think Knative (and the scale to zero in particular) are best suited for request/response or event-delivery workloads. So you wouldn't want to run (for example) memcache or mysql under knative. FaaS and (HTTP application) PaaS are both good matches. I think it's an open question whether a PaaS like Google Dataflow is a good match or not. It will certainly require more planning, but I think it's doable.
- gdsdfe 8y agoYeah but don't forget this is a higher abstraction on top of microservices. I think the big take away here is that if your app falls into the patten of 80% of modern apps (can't remember where is saw that number, don't quote me :) and is split properly you can have all your 'ops' part as configuration.
- djhworld 8y agoYou still need a Kubernetes cluster running though, right?
- aurailious 8y agoThis is what I am trying to figure out too. Is Knative standalone, or is it running inside your K8 cluster, or do you build a K8 cluster and run this in it exclusively?
- gdsdfe 8y agoI think it's mostly pods on your k8 cluster ... see the link to the install guide above
- pas 8y agoIt has software, yes, that of course runs in pods, but .. It's a whole lot of infrastructure to support a PaaS / FaaS workflow. From building and routing/serving/tracing to complex event driven stuff. It's fully k8s native (hence the name, I reckon), and it uses CRDs. Which is basically k8s's DSL for describing anything. Basically a k8s-standard for k8s plugins with schema, validation, schema change management, kubectl support, etc.
- jacques_chester 8y agoKnative installs into a Kubernetes cluster. Knative as it stands is not multi-tenant, so if you need to isolate workloads, you will need distinct Kubernetes clusters.
- gdsdfe 8y agoYes ... from the install guide : "To get started with Knative, you need a Kubernetes cluster." https://github.com/knative/docs/tree/master/install https://github.com/knative/docs/tree/master/install