knative&Tekton

BuilD&PIPELINES

 

Red Hat Summit 2019

 

vincent Batts

Engineer

$> finger $(whoami)
Login: vbatts                           Name: Vincent Batts
Directory: /home/vbatts                 Shell: /bin/bash
Such mail.
Plan:
OHMAN
$> id -Gn
devel opencontainers docker appc redhat golang slackware

Disclaimer

The content set forth herein does not constitute in any way a binding or legal agreement or impose any legal obligation or duty on Red Hat. This information is provided for discussion purposes only and is subject to change for any or no reason.

Serverless

FaaS

Actually Servers?

Events

Containers?

Serverless

  • What is Knative (knative.dev and github.com/knative )

    • A framework built on top of Kubernetes and Istio to build, trigger, and run Serverless functions

  • What is in Knative

    • A collection of CRDs and Controllers

      • Serving: Route requests; auto scale; invoke serverless functions.

      • Eventing: Receive, persist, filter, and deliver Event

      • Build: steps to build from source to image

  • Who are developing Knative

    • Led by Google, joined by Red Hat, IBM, Pivotal...

 

Knative

Also BuilDs

CI/CD

Don't we have enough of those?

Containers

Containers

Knative/build

  • Templated API resource to take an input (like a git repo URL) and produce a container to serve

  • Narrowly focused on serverless use-case

  • A number of templates available, including s2i images and Dockerfile with buildah

  • something almost, but not quite entirely unlike CD

 

TEKTON

  • Also a container build resources, but allows for much broader than only serverless

  • Split from Knative into its own org (also now a part of https://cd.foundation/ )

  • Expected to underpin the basics needed by knative/build

  • Very analogous to our BuildStrategy and Pipelines in OpenShift

Where we are

Run as root

Run as non-root

Privileged

Non-Privileged

root

non-root

Privileged

Non-Privileged

root

non-root

Privileged

Non-Privileged

root

non-root

Privileged

Non-Privileged

root

non-root

Privileged

Non-Privileged

Why these projects?

Kubernetes is the platform

enable consistency

feeling of built in primitives

more information

Thank You!

Vincent Batts

vbatts@