Re:First Impressions: Docker for Mac with Kubernetes
by shellbackground on Tuesday January 09, 2018 @06:06AM
(#16105177)
What looks particularly funny that it's OpenFaaS examples, such as in this post: figlet service. Several years ago it was simple binary, which you could invoke in console to produce fancy-stylized string. Now, same functionality require running figlet function-as-a-service inside Docker container inside Kubernetes cluster. I understand, that's merely an example, but nevertheless.
[ Parent
| on HN ]
Re:First Impressions: Docker for Mac with Kubernetes
by alexellisuk on Tuesday January 09, 2018 @07:27AM
(#16105643)
Kubernetes is optional - Docker Swarm (which some people prefer for its simplicity is also available) - basically yes binaries get wrapped in containers now for build/ship/run.
You're right though it is just an example - one of many in the function store. OpenFaaS can run any binary as a function - that means that we can strip back all the complexity needed to utilise ImageMagick for instance as a function by making it a function that works over stdin/stdout. Normally that would have involved a Node.js runtime and native compilation packages.
Here's the example: https://blog.alexellis.io/serverless-imagemagick/