Have you read the announcement of the alpha release of Red Hat OpenShift Application Runtimes (RHOAR)? We also posted an introduction to the component in RHOAR earlier. This post dives into more detail on the Spring Boot certification support that is expected to be included with RHOAR.
First things first, Spring Boot remains part of the Spring Framework that is controlled by Pivotal. Red Hat and Pivotal are not announcing any sort of alliance to alter how elements of the Spring Framework, including Spring Boot, are defined or brought to market.
Instead, with RHOAR, Red Hat is working to certify some technologies and support others (when generally available) that Spring Boot will interoperate with. Conceptually, Red Hat wants to welcome Spring users to the Red Hat ecosystem and enhance their ability to deliver effective cloud native applications on the OpenShift Container Platform (OCP) using the Spring Boot java development framework. So let’s dive into the details a bit more.
First, lets look at some of what RHOAR will offer Spring Boot developers. For starters, if you’re new to working with Spring Boot, Red Hat will be offering a browser based utility to get started with multiple cloud-native runtimes, including Spring Boot. The utility known as a launchpad will create a fully-functional starter application for you. You can download the starter application as a zip file, or interact with an OCP instance. When the later is done, code is pushed to a GitHub namespace, sets up a build pipeline for continuous delivery, and ensures it’s triggered to run on each push to your git repository. Now, the choice of OCP instance is up to you. You could certainly use a centralized public or private OCP deployment. But you could also use a local OCP environment right on your desktop. Pretty cool.
Of course if you don’t want to develop in a cloud environment for day to day work, you don’t have to. You can develop using local builds. In the end though, the whole point of RHOAR is to help you get applications to the cloud. So when your local development is done, can use the various options for getting applications into OCP using binary or source-to-image build strategies.
But there is much more to RHOAR for Spring Boot than a code and build environment generator. Existing Spring Boot developers will be glad to hear that Red Hat will certify Hystrix, Hystrix Dashboard, and Ribbon running on OCP. This will allow Spring Boot users to continue working with cloud technologies for interacting with microservices they may already be familiar with.
In addition, Red Hat will be supporting the use of JBoss Web Server (tomcat), hibernate, and Apache CXF in Spring Boot for RHOAR subscribers. Production support for these technologies is a common request we have heard from Spring Boot users. We are answering that call will support upon GA release of RHOAR.
Now let’s look at using RHOAR features to deploy Spring Boot applications to OCP. OCP provides an alternative to Pivotal Cloud Foundry for running Spring Boot applications. Red Hat believes there are multiple advantages to using OCP including the ability to use docker formatted images and Kubernetes for orchestration. Further advantages are related to software defined networking, load balancing, storage, and other features that are not found in a DIY docker image + Kubernetes cloud, or in some cases, Pivotal Cloud Foundry.
Red Hat anticipates that many OCP advantages will be interest to Spring Boot users. Some of those features will be relatively seamless to get started with. For example, use of Spring Cloud Kubernetes. This will provide an implementation of spring cloud discovery client specifically for Kubernetes that allows you to query Kubernetes endpoints (services) by name simply by adding a dependency inside a Spring Boot project.
Another relatively seamlessly supported RHOAR feature to implement in Spring Boot is EFK logging. The EFK stack is a modified version of the ELK stack and is comprised of:
- Elasticsearch: An object store where all logs are stored.
- Fluentd: Gathers logs from nodes and feeds them to Elasticsearch.
- Kibana: A web UI for Elasticsearch.
Spring Boot developers have multiple well documented options available for wiring fluentd into applications. Once that is done, and an OCP administrator has deployed the EFK stack, application developers can view the logs of the projects for which they have view access. The EFK stack aggregates logs from hosts and applications, whether coming from multiple containers or even deleted pods.
When building Spring Boot applications, RHOAR will include the Fabric8 maven plugin . This plugin makes it easier to work with Docker and Kubernetes or OpenShift from inside an existing Maven project. Specifically the plugin focuses on two tasks: building Docker images, and creating Kubernetes and OpenShift resource descriptors.
For example, you can use the build goal to build a docker formatted image and the push goal to push it to a public or private Docker registry. OpenShift resource descriptors can be created with the resource goal and deployed to a running orchestration platform with the apply goal. Or you can just use the deploy goal for building your docker image, generating the kubernetes resources and deploying them into the OCP cluster. But that only scratches the scope of what the Fabric8 plugin can do with broad variety of build goals available.
For those who want to get started quickly the plugin also provides a zero-config setup mode allows for a quick ramp-up with some opinionated defaults. This is great for starting up things and for keeping quickstart applications small and tidy. For many this will be sufficient. For others who want more control, there are additional options. For example, tuning builds via additional configuration options via the pom.xml file. You can even tune all facets of the OCP deployment with developer provided Kubernetes & OpenShift resource fragments YAML files can be enriched by the plugin. This allows users to add OpenShift specific configuration as part of the code using plain configuration file with all their capabilities, but also to add project specific build information and avoid boilerplate code.
As you can imagine, the fabric8 plugin capabilities are extensive. For more details, please review the documentation at this link.
I hope this article has helped you start to understand the direction Red Hat is taking to certify some technologies and support others that Spring Boot will interoperate with. Keep in mind that RHOAR is currently an alpha release and it is very likely that there will be some changes to before it become a generally available subscription. Keep an eye on this blog for more information about RHOAR as it progresses to GA. Are you excited by the announcement? Lets us know via comment and tweets. We want to hear you #RHOAR!
저자 소개
With over thirty years in the software industry at companies like Sybase, Siebel Systems, Oracle, IBM, and Red Hat (since 2012), I am currently an AI Technical Architect and AI Futurist. Previously at Red Hat, I led a team that enhanced worldwide sales through strategic sales plays and tactics for the entire portfolio. Prior to that, I managed technical competitive marketing for the Application Services (middleware) business unit.
Today, my mission is to demystify AI architecture, helping professionals and organizations understand how AI can deliver business value, drive innovation, and be effectively integrate into software solutions. I leverage my extensive experience to educate and guide on the strategic implementation of AI. My work focuses on explaining the components of AI architecture, their practical application, and how they can translate into tangible business benefits, such as gaining competitive advantage, differentiation, and delighting customers with simple yet innovative solutions.
I am passionate about empowering businesses to not only harness AI to anticipate future technological landscapes but also to shape them. I also strive to promote the responsible use of AI, enabling everyone to achieve more than they could without it.
채널별 검색
오토메이션
기술, 팀, 인프라를 위한 IT 자동화 최신 동향
인공지능
고객이 어디서나 AI 워크로드를 실행할 수 있도록 지원하는 플랫폼 업데이트
오픈 하이브리드 클라우드
하이브리드 클라우드로 더욱 유연한 미래를 구축하는 방법을 알아보세요
보안
환경과 기술 전반에 걸쳐 리스크를 감소하는 방법에 대한 최신 정보
엣지 컴퓨팅
엣지에서의 운영을 단순화하는 플랫폼 업데이트
인프라
세계적으로 인정받은 기업용 Linux 플랫폼에 대한 최신 정보
애플리케이션
복잡한 애플리케이션에 대한 솔루션 더 보기
오리지널 쇼
엔터프라이즈 기술 분야의 제작자와 리더가 전하는 흥미로운 스토리
제품
- Red Hat Enterprise Linux
- Red Hat OpenShift Enterprise
- Red Hat Ansible Automation Platform
- 클라우드 서비스
- 모든 제품 보기
툴
체험, 구매 & 영업
커뮤니케이션
Red Hat 소개
Red Hat은 Linux, 클라우드, 컨테이너, 쿠버네티스 등을 포함한 글로벌 엔터프라이즈 오픈소스 솔루션 공급업체입니다. Red Hat은 코어 데이터센터에서 네트워크 엣지에 이르기까지 다양한 플랫폼과 환경에서 기업의 업무 편의성을 높여 주는 강화된 기능의 솔루션을 제공합니다.