Part 3: Deploying a Serverless Service to Knative

Serverless computing in action Install Knative and Istio, deploy your code, and invoke it from a React application.

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. 

Doug Tidwell
Red Hat Developer Alumnus

Part 2: Building a Serverless Service

Serverless computing in action Take a look at the image manipulation code behind the photo booth, then look at a modern web app that uses it.

In this article, we take an in-depth look at the image manipulation code at the heart of the Coderland photo booth. After explaining the code, we run it and show how it creates the custom images we'll be selling at the Coderland Swag Shop. Finally, we'll look at a modern web application that lets us interact with the service directly. 

Doug Tidwell
Red Hat Developer Alumnus

Part 1: Introduction to Serverless with Knative

Serverless computing in action Read all about the Compile Driver photo booth and why it's such a good fit for serverless.

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. 

Doug Tidwell
Red Hat Developer Alumnus

Red Hat Developer Istio Video Series: Number 2 - Istio Pool Ejection

This video demonstrates how Istio Pool Ejection enables you to remove under- or non-performing pods from your kubernetes-based system. [Note: Yes, I know I hammer on the 'return' key much too hard. I'm working on that.]

service mesh istio kubernetes microservice OpenShift Containers Red Hat Developers 1 0
39 Seconds
6 Minutes
Istio Pool Ejection allows you to temporarily block under- or non-performing pods from your system.

Istio: Canaries and Kubernetes | DevNation Live

Being a cloud native developer requires learning some new language and new skills like circuit-breakers, canaries, service mesh, linux containers, dark launches, tracers, pods and sidecars. In this session, we will introduce you to cloud native architecture by demonstrating numerous principles and techniques for building and deploying Java microservices via Spring Boot, Wildfly Swarm and Vert.x, while leveraging Istio on Kubernetes with OpenShift.

Burr Sutter: A lifelong developer advocate, community organizer, and technology evangelist, Burr Sutter is a featured speaker at technology events around the globe—from Bangalore to Brussels and Berlin to Beijing (and most parts in between)—he is currently Red Hat’s Director of Developer Experience. A Java Champion since 2005 and former president of the Atlanta Java User Group, Burr founded the DevNexus conference—now the second largest Java event in the U.S.—with the aim of making access to the world’s leading developers affordable to the developer community. When not speaking abroad, Burr is also the passionate creator and orchestrator of highly-interactive live demo keynotes at Red Hat Summit, the company’s premier annual event.

microservices kubernetes DevNation Live Burr Sutter 360 11
34 Minutes
See the Code Learn about cloud native architecture, including principles and techniques for building and deploying Java microservices via Spring Boot, Wildfly Swarm and Vert.x.

Fabric8 create Camel Java project and deploy on OpenShift

This video shows how to create a new Java project using Apache Camel and create the git repository along with creating a build and deployment on OpenShift. Then using the fabric8 console to look inside the deployed Java container to visualise the running camel routes. The entire demo is running on OpenShift V3 / Kubernetes with everything packaged as a Docker container. More background on this demo here:

OpenShift kubernetes java ee PaaS Red Hat Developer Program 2102 1
29 Seconds
4 Minutes