Ready for JavaOne: Bringing Java and Kubernetes together in Azure

存储架构 2017-09-28

The Java team at Microsoft has been working hard during this year, collaborating with Java customers and developers around the globe to optimize the Java developer experience in Azure.

In the last few weeks we’ve delivered exciting new features in Maven, Jenkins, Visual Studio Code and IntelliJ. These features help Java developers rapidly adopt cloud-native patterns in Azure and debug faster, as well as added support for Managed Disks, Cosmos DB and Container Service in the Azure Management Libraries for Java. We have collaborated with partners such as Red Hat, Pivotal, CloudBees and Azul to bring Java closer to the cloud.

It’s truly momentous days for Java, and as our team gets ready for JavaOne next week (where Microsoft will be a Silver sponsor) we are excited to announce that developers can now securely deploy and redeploy Java apps to Kubernetes in Azure Container Service using Maven!

Getting started

Azure Container Service makes it simple to create an optimized Kubernetes-based container hosting solution for Azure to run containerized applications stored in public or private registries, including Azure Container Registry. Today, you can use Maven to securely deploy and manage your container-based apps. Let’s start with a sample Spring Boot app you can clone from GitHub:

git clone -b k8s-private-registry
cd gs-spring-boot-docker/complete

After adding your private Docker registry credentials to your Maven settings.xml, build the app and containerize like you always do, and deploy to Kubernetes in Azure Container Service:

mvn package docker:build docker:push fabric8:resource fabric8:apply

Then, get the IP address for your deployment:

kubectl get svc -w

And that’s it! It’s that easy to use Maven to deploy a Spring Boot app or any other Java app to Kubernetes in Azure Container Service. Make sure you check out thestep-by-step instructions to get started today.

Next week: JavaOne

Today’s announcement wouldn’t be possible without our joint efforts with Red Hat and the ongoing collaboration enhancing the Fabric8 Maven plugin to add secure registry references. This collaboration highlights how important engaging with the Java ecosystem is for us - a key aspect of our presence at JavaOne.

The Microsoft Java team, including feature owners, developer advocates, support engineers and others, looks forward to meeting you in San Francisco next week. Swing by our booth in the Expo hall to learn more – we’d love to connect.

Not attending JavaOne this year? Follow @OpenAtMicrosoft orsign up for updates!

Microsoft Azure Blog

责编内容by:Microsoft Azure Blog (源链)。感谢您的支持!


Microsoft Azure 1st Hyperscale Cloud Computing Pla... We’re excited and proud to announce that Microsoft Azure is the first hyper-scal...
如何开启Kubernetes之旅 【译者的话】这篇文章由浅入深地介绍了如何开始Kubernetes学习,以及如何基于Kubernetes部署应用。作者给出了很多非常好的建议,指导读者掌握围绕Ku...
Deploying Core To Azure App Service – FTP... A quick and easy way to get your code up and running on Azure App Service is to ...
Why Azure is Catching Up to AWS In the world of business, companies and firms often strive to take advan...
Announcing new Azure VM images: SQL Server 2017 on... We are excited to announce that SQL Server 2017 images on Linux andWindows are ...