Building a Raspberry Pi
Kubernetes Cluster
And run OpenFaas
Yoseph Buitrago
@yosephbuitrago1
Agenda
Why build a RPi Cluster?
What Counts as Cloud?
Top community Cluster
Why do we need Kubernetes?
Intro to Kubernetes & and serverless functions with OpenFaas
Why build a Rpi Cluster?
1. It is the CLOUD in your HOME!
2. Be your own boss - you are the Root
3. Direct access to hardware - you can see what is
happening on your tiny Cloud
What is the Cloud and what does it look like?
Pooled computing resources available to any subscribing users
Virtualized computing resources to maximize hardware utilization
Elastic scaling up or down according to need
Automated creation of new virtual machines or deletion of existing ones
Resource usage billed only as used
Private Cloud
Who needs a orchestrator anyway?
Docker Container
Nginx Container
Docker run -d -p 80:80
--restart=always
--name=nginx-deployment
nginx :latest
Orchestration add:
Declarative deployments
Configuration - YAML
Programmable API
Service discovery
High availability (HA)
Elastic capacity
Security & extensibility
Demo
Kubernetes components
Kubernetes components
OpenFaas
It is a community project, lead by Alex Ellis who is a Docker Captain. OpenFaas is a
serverless framework to build functions as a service using Docker containers and
kubernetes.
Demo
Thank you for your attention
http://www.linkedin.com/in/yosephbuitrago/
@yosephbuitrago1

Building a raspberry pi cluster

  • 1.
    Building a RaspberryPi Kubernetes Cluster And run OpenFaas Yoseph Buitrago @yosephbuitrago1
  • 2.
    Agenda Why build aRPi Cluster? What Counts as Cloud? Top community Cluster Why do we need Kubernetes? Intro to Kubernetes & and serverless functions with OpenFaas
  • 3.
    Why build aRpi Cluster? 1. It is the CLOUD in your HOME! 2. Be your own boss - you are the Root 3. Direct access to hardware - you can see what is happening on your tiny Cloud
  • 4.
    What is theCloud and what does it look like? Pooled computing resources available to any subscribing users Virtualized computing resources to maximize hardware utilization Elastic scaling up or down according to need Automated creation of new virtual machines or deletion of existing ones Resource usage billed only as used
  • 6.
  • 9.
    Who needs aorchestrator anyway?
  • 11.
    Docker Container Nginx Container Dockerrun -d -p 80:80 --restart=always --name=nginx-deployment nginx :latest
  • 12.
    Orchestration add: Declarative deployments Configuration- YAML Programmable API Service discovery High availability (HA) Elastic capacity Security & extensibility
  • 13.
  • 15.
  • 16.
  • 17.
    OpenFaas It is acommunity project, lead by Alex Ellis who is a Docker Captain. OpenFaas is a serverless framework to build functions as a service using Docker containers and kubernetes.
  • 18.
  • 19.
    Thank you foryour attention http://www.linkedin.com/in/yosephbuitrago/ @yosephbuitrago1