Compile Driver

Make Serverless seamless with Knative

Tutorial: Build and deploy a serverless service to Knative

The Knative serverless environment lets you deploy code to Kubernetes, but no resources are consumed unless your code needs to do something. With Knative, you create a service by packaging your code as a Docker image and handing it to the system. Your code only runs when it needs to, with Knative starting and stopping instances automatically.

Your assignment: Implement the Compile Driver photo booth using serverless computing

The Compile Driver is a new thrill ride at the Coderland theme park. It starts by hoisting riders to the top of an enormous tower. From there, they plunge through the air towards the reinforced concrete pad at the base of the ride. Unfortunately, as the Compile Driver’s safety record has become public knowledge, ridership has fallen far short of expectations.

With the park’s revenue targets at risk, management turns to you, the most talented developer in all of Coderland, to create a photo booth that captures the faces of delighted riders as they plummet helplessly to the ground. You’ll create a service that takes raw image data from the camera next to the ride, then stamps the date and the Coderland logo on the picture. Guests can, of course, purchase a copy of the heirloom-quality photo as they stagger away from the ride, filling the park’s coffers in the process.