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阅读原文】。感谢您的支持!


Return Azure BLOB from the WCF service as a Stream... I have a simple WCF service that exposes a REST endpoint, and fetches files from a BLOB container. The service returns the file as a stream. i stumble...
Blue-Green Deployment on Azure with Zero Downtime What is Blue-Green deployment? In simple words, when you are updating your code/resources you need to make sure the shift from your old code to t...
Kubetoken, time-limited tokens for Kubernetes clus... At Atlassian we believe strongly in empowering our developers to own the services they write and run. Ever Atlassian has the permission, and the resp...
Principles and Strategies of Data Service Automati... Once automation has been set as a strategy, striving for full lifecycle automation is a logical conclusion. Providing fast and easy installatio...
IBM Delivers the First Bare Metal Kubernetes in th... IBM offers the industries first bare metal Kubernetes as a managed service. This service will enable developers and data science teams to push con...