Save 37% off PRO during our Black Friday Sale! »

"On-premises" FaaS on Kubernetes

"On-premises" FaaS on Kubernetes

In this webinar, Alex Casalboni will overview the main FaaS concepts and best practices (Function as a Service), explore the open-source FaaS options and discuss pros and cons of deploying and managing your own serverless platform on Kubernetes.

36ca8ae7e19067021d0e39c0b72acc2a?s=128

Alex Casalboni

February 23, 2017
Tweet

Transcript

  1. clda.co/faas-­‐kubernetes 2/23/2017 "On-­‐premises"  FaaS   on  Kubernetes

  2. About  Me @alex_casalboni clda.co/faas-­‐kubernetes Bachelor  in  Computer  Science Master  in

     Sound  &  Music  Engineering SoBware  Engineer  &  Web  Developer Cloud  Evangelist  @  Cloud  Academy
  3. Agenda clda.co/faas-­‐kubernetes What  does  FaaS  mean? FaaS  in  the  Open-­‐source

     World FaaS  frameworks  for  Kubernetes Pros  &  Cons  of  “On-­‐premises”  FaaS
  4. clda.co/faas-­‐kubernetes What  does  FaaS  mean?

  5. Func;on  as  a  Service clda.co/faas-­‐kubernetes h"ps://en.wikipedia.org/wiki/Func5on_as_a_Service Core  component  of  Serverless

      No  infrastructure  management Microservices  approach FuncOon  as  the  unit  of  delivery MulO-­‐language  support  (BYOC) Transparent  scaling  (PAYG)
  6. How  do  you  FaaS? clda.co/faas-­‐kubernetes Independent  FuncOons Versioning  &  Staging

    Cross-­‐team  CollaboraOon Triggers/Events Local  unit  tesOng IntegraOon  tests Automated  Workflow CI/CD
  7. clda.co/faas-­‐kubernetes FaaS  in  the  Open-­‐source  World

  8. Open-­‐source  FaaS clda.co/faas-­‐kubernetes openwhisk.org open.iron.io github.com/bfirsh/funker Apache OpenWhisk Funker IronFunctions

  9. Open-­‐source  FaaS  -­‐  OpenWhisk clda.co/faas-­‐kubernetes openwhisk.org Apache OpenWhisk github.com/openwhisk/openwhisk/issues/1402 IniOally

     developed  by  IBM FaaS  component  of  IBM  Bluemix Doesn’t  run  on  Kubernetes  yet  (open  issue) cloudacademy.com/blog/ibm-bluemix
  10. github.com/bfirsh/funker Open-­‐source  FaaS  -­‐  Funker clda.co/faas-­‐kubernetes Funker Developed  by  @bfirsh

    Based  on  Docker  Swarm Support  for  Node,  Python  and  Go cloudacademy.com/blog/docker
  11. Open-­‐source  FaaS  -­‐  IronFunc;ons clda.co/faas-­‐kubernetes git.io/ironfunctions-kubernetes FaaS  component  of  Iron.io

    Runs  on  Docker Runs  on  Kubernetes open.iron.io IronFunctions git.io/ironfunctions-docker
  12. clda.co/faas-­‐kubernetes FaaS  frameworks  for  Kubernetes

  13. FaaS  on  Kubernetes clda.co/faas-­‐kubernetes Kubeless  by  Skippbox FunkOon  by  Fabric8

    Fission  by  Pla_orm9
  14. Kubeless clda.co/faas-­‐kubernetes “Only”  a  POC  (wriaen  in  Go) Both  HTTP

     and  PubSub Based  on  Zookeeper  and  Kada +
  15. Kubeless  Example clda.co/faas-­‐kubernetes

  16. Funk;on clda.co/faas-­‐kubernetes @funk;onio funktion.fabric8.io Backed  by  Red  Hat  (wriaen  in

     Go) Integrated  with  fabric8’s  Developer  Pla_orm Only  Python  is  supported Based  on  connectors  (200+) camel.apache.org/components
  17. Funk;on  Example clda.co/faas-­‐kubernetes

  18. Fission clda.co/faas-­‐kubernetes @fissionio fission.io Extensible  and  Fast  by  design  (wriaen

     in  Go) Reduced  cold  starts  (warm  pool) Only  HTTP  triggers  for  now,  but… Only  Node  and  Python  for  now,  but…
  19. Fission  Example clda.co/faas-­‐kubernetes

  20. clda.co/faas-­‐kubernetes Pros  &  Cons  of  “On-­‐premises”  FaaS

  21. Pros  of  “On-­‐premises”  FaaS clda.co/faas-­‐kubernetes Kubernetes  abstracOon  for  devs Open-­‐source

     soluOon Fewer  non-­‐funcOonal  limitaOons More  control  over  infrastructure Might  be  cheaper  overall Might  be  faster  (dedicated  cluster)
  22. Cons  of  “On-­‐premises”  FaaS clda.co/faas-­‐kubernetes Many  missing  features Versioning,  staging,

     env.  vars,  Omeouts TesOng,  monitoring,  logging Responsibility  &  Ownership Provisioning  &  configuraOon UpOme  &  monitoring Permissions  &  auth,  orchestraOon More  naOve  triggers  (storage,  db,  streams) OperaOonal  complexity
  23. Addi;onal  Resources clda.co/faas-­‐kubernetes cloudacademy.com/webinars/kubernetes-38 Webinar:  Hands  on  Kubernetes  (Part  1)

    cloudacademy.com/webinars/kubernetes-41 Webinar:  Ecosystem  &  ProducOon  OperaOons  (Kubernetes  Part  2) cloudacademy.com/webinars/docker-31 Webinar:  Docker  -­‐  From  Dev  to  ProducOon cloudacademy.com/webinars/docker-34 Webinar:  Docker  -­‐  ProducOon  &  Beyond by  Adam  Hawkins   (@adman65)
  24. Thank  you!                

    2/23/2017 clda.co/faas-­‐kubernetes Q  &  A