Google today launched a set of plugins for popular development environments like IntelliJ and Visual Studio Code that promise to make building cloud-native applications significantly easier. You can’t say “cloud-native” without saying Kubernetes, so it’s no surprise that the focus here is on helping developers build, debug and deploy their code to a Kubernetes cluster right from their IDE.
Typically, Google argues, developers edit, compile and debug their code locally. That’s often just fine, but it can also create issues when the production environment doesn’t quite match the local one. But building containers comes with its own challenges — and nobody really enjoys writing YAML files by hand just to test code. Indeed, the promise here is that the developer doesn’t have to write a single line of YAML.
The promise then, is that you can continue to develop your code just like you used to, while Cloud Code handles all of the work of turning it into a cloud-native application. The tools are also integrated with Google’s DevOps tools like Cloud Build and Stackdriver.
Cloud Code combines a number of existing open-source tools, including Kubectl, the command-line tools for working with the Kubernetes API; Jib, for building containers for Java applications; and Skaffold, for setting up the continuous deploying pipeline for Kubernetes applications.
The service will work for virtually all popular programming languages, including Microsoft’s .NET Core.
“This essentially gives you turbocharged, cloud-native app development, right in your IDE,” Google Cloud VP of product and design Pali Bhat told me. “It brings remote app development right into your developer loop right in the IDE. This unlocks the power of all of these developers and lets them build for Kubernetes, build for cloud-native, without having to worry about all of the different pieces that they had to learn.”