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


The Eigencast 025: Kubernetes, Security, and Open ... Podcast (eigencas...
使用kubeadm搭建kubernetes1.10集群 kubeadm 是 Kubernetes 官方提供的用于快速安装 Kubernetes 集群的工具,通过将集群的各个组件进行容器化安装管理,通过 kubeadm 的方式安装集群比二进制的方式安装要方便不少,但是目录 kubeadm 还处于...
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 t...
在Kubernetes上基于Istio服务网格建立Spring Boot源码... 该开源项目在kubernetes集群中部署了两个微服务,并将这些服务与istio 服务网格互连。 为什么这样做? 我们通过建立Spring Cloud Netflix环境已经非常成功。我们无需太多努力就能创建可扩展且...
Work on Kubernetes Projects Like Kubeless and Kson... This position is specifically a remote role. Want more insight on what it's like to be a part of a distribu...