kubernetes

Part 3: Deploying a Serverless Service to Knative

Now that you've built and tested your service, it's time to put everything together. In this article, you'll use resources from Kamesh Sampath's excellent Knative tutorial to install Istio and Knative on top of Kubernetes. With that infrastructure in place, it's easy to deploy your service to Knative. After taking a look at your service in the OpenShift console, you'll invoke it from the command line. Finally, we'll look at a Knative proxy that lets the Don Schenck's React front end access your service as well. 

Leave a comment
Serverless computing in action

Part 1: Introduction to Serverless with 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. 

This article introduces you to the Compile Driver, a new attraction at the Coderland theme park. To increase revenue, management has installed a camera next to the ride. It captures images of happy guests as they plunge through the air. Your assignment is to write a service that transforms those images into souvenir photos. The resulting pictures feature the Coderland logo, a message, and a date stamp.

Over the next two articles, you'll examine how the service works and you'll learn how to deploy that service to Knative. 

Leave a comment
Serverless computing in action