DeveloperWeek Global: Cloud 2020 DeveloperWeek Global: Cloud 2020

Wednesday, September 30, 2020

OPEN TALK: Code To Kubernetes: Deployment Shouldn’t Be an Afterthought
Join on Hopin
Lakmal Warusawithana
Lakmal Warusawithana
WSO2, Senior Director - Developer Relations

Earlier, developers simply wrote their program, built it and ran it. Today, developers need to also think of the various ways of running it whether it be as a binary on a machine (virtual most likely), by packaging it into a container, by making that container a part of a bigger deployment (K8s) or by deploying it into a serverless environment or a service mesh. However, these deployment options are not part of the programming experience for a developer. The developer has to write code in a certain way to work well in a given execution environment, and removing this from the programming problem isn’t good.

Ballerina is an open-source programming language with a built-in cloud technology integration helps developers write their application just work in Kubernetes. Its compiler can be extended to read annotations defined in the source code and generate artifacts to deploy your code into different clouds. These artifacts can be Dockerfiles, Docker images, Kubernetes YAML files or serverless functions. This session will demonstrate how you can move from code to cloud by using the built-in Kubernetes annotation support in Ballerina.