easy microservices

with fabric8, docker and kubernetes!

Created by James Strachan / @jstrachan from Red Hat

Docker

package your micro service into a shipping container

https://www.docker.com/

Docker

docker run myuser/myservice

Kubernetes

orchestrate your micro services

https://kubernetes.io/

Kubernetes

  • Pods
  • Controllers
  • Services

Kubernetes service definition:

for a service called FOO here is how you bind to it:

  • $FOO_SERVICE_HOST
  • $FOO_SERVICE_PORT

Kubernetes service binding:

for a service called FOO here is how you bind to it:

  • $FOO_SERVICE_HOST
  • $FOO_SERVICE_PORT

Project Atomic

micro service based Linux

projectatomic.io

RHEL Atomic is the product

OpenShift V3

docker / kubernetes based PaaS

openshift.github.io

Fabric8

https://fabric8.io/

Fabric8

https://fabric8.io/

  • Console
  • Apps
  • Tools

App Zips

  • spec: http://fabric8.io/v2/appzip.html
  • standard file format for distributing groups of micro services
    • kubernetes.json | .yml
    • icon.svg | .png | .jpeg
    • ReadMe.md
    • Summary.md

Maven

build / push docker images:


myMicroService/$  mvn clean install docker:build docker:push


deploy / run app zips:


myMicroService/$  mvn fabric8:deploy fabric8:run


Demo Time!

Any questions?

docker.com container for your micro service
kubernetes.io orchestrate your containers
fabric8.io console & tools for your micro services
openshift.github.io micro service based PaaS
projectatomic.io micro service based Linux
@jstrachan