OpenFaaS round-up: CloudEvents, AWS Fargate and OpenFaaS Operator
In this post I'll round-up the highlights of the OpenFaaS community meeting from 25th May.
The all-hands community meetings are a great way to remain connected to the project and community where we have a chance to share our finest work and importantly get face-to-face time with each other. One of the things I like the most is hearing about the various backgrounds people have with our community covering both the users, developers and operators of OpenFaaS.
Highlights
I kicked-off the meeting with a project update and an announcement of a new core contributor Lucas Roesler. Lucas has shown a commitment to the project and willingness to take responsibility and ownership for features like the secrets management for functions.
The Core contributors group helps to build and maintain OpenFaaS, taking responsibility for and pride in the project.
We then had three demos from the community.
1. OpenFaaS on AWS Fargate/ECS
I've known Ed Wilde for some time and it was great to see him getting into the Cloud Native world with his start-up. Ed works in London and has been putting together a Proof-of-Concept provider for OpenFaaS that allows functions to be managed on AWS Fargate/ECS. He's going to release his code when it's feature complete, but here's a preview:
Community meeting - excited to see the progress @ewilde is making with faas-fargate - @OpenFaaS on AWS Fargate. Why is Ed interested in building this? Because he's in a small team and they want to manage all their services in the same way. #TeamServerless #FaaSFriday pic.twitter.com/zUnjx90xBe
— Alex Ellis (@alexellisuk) May 25, 2018
2. CloudEvents integration
CloudEvents is a designed-by-committee spec for how clouds should publish events about their managed services such as S3 CRUD events or changes to DB rows such as when a new document is added to DynamoDB.
John McCabe gave us background on the CloudEvents 0.1 spec and showed us a demo of how he was able to integrate with events from Azure EventGrid in the CloudEvents 0.1 format without changing any code in OpenFaaS.
We're learning about how @mccabejohn was able to consume CloudEvents 0.1 within @openfaas without changing any code on the #FaaSFriday community call. Good attendance for a bank-holiday weekend! #teamserverless pic.twitter.com/suL29AM71Y
— Alex Ellis (@alexellisuk) May 25, 2018
3. The OpenFaaS Operator with Weave Flux
Stefan Prodan showed us the culmination of a week's work on a blog post that combines Flux and Weave Cloud from Weaveworks with Heptio Contour, Bitnami SealedSecrets and the OpenFaaS Kubernetes Operator to deliver hardened CD with GitOps on GKE.
In our community call for @OpenFaaS - we're getting a demo of OpenFaaS Operator, @HeptioContour, @bitnami SealedSecrets, @weaveworks Flux and Cloud - for a hardened GitOps on GKE with NetworkPolicy. Thanks @stefanprodan #FaaSFriday https://t.co/CXDDZsPHj3 pic.twitter.com/thuSWncTtI
— Alex Ellis (@alexellisuk) May 25, 2018
Bonus community material
I want to give a shout-out for Robert Malmstein from Holberton School in San Francisco. We met in April earlier this year at Cisco's DevNet Create conference, since I've been meeting with and mentoring Robert with his studies. We got together for coffee to talk about his latest project and that got me thinking about how functions could be applied.
Great to meet up with my new friends from @holbertonschool @fallenicicle and @RobertMalmstein - we met at @DevNetCreate in April. Today had coffee today, started some mentoring and hacking for Robert's project - locate a trash can in SF - keep SF tidy. pic.twitter.com/wQ2qMPQQdB
— Alex Ellis (@alexellisuk) May 29, 2018
Robert's idea is simple - making public asset data available on mobile devices such as the location of the nearest trash can or park bench for some R&R in the city between busy meetings. Robert's project can be taken further to crowd-source and vote up new locations to gamify the experience.
Check out this GitHub repository for the sample code implemented with OpenFaaS functions.
Video recording
You can view the whole video recording here on YouTube:
Get involved
- Try the OpenFaaS Operator
OpenFaaS supports Kubernetes through the faas-netes project, but the OpenFaaS Operator offers a deeper extension into the Kubernetes API meaning you can manage your functions both through the RESTful API and with kubectl
.
- Experiment with CloudEvents
If you're an Azure user then there's already support for publishing events from EventGrid in the CloudEvents JSON format with inbound webhooks. Check out John's GitHub account.
- Join the Community
Whether you're new to this space, have questions or want to start contributing to Open Source you're welcome to join our community.
The easiest way to get connected into the project is to join us over on the OpenFaaS Slack workspace and on GitHub: https://github.com/openfaas/