Kubernetes

Article Thumbnail
Article

Provisioning Vagrant boxes using Ansible

Saurabh Badhwar

Ansible serves as a great tool for those system administrators who are trying to automate the task of system administration. From automating the task of configuration management to provisioning and managing containers for application deployments, Ansible makes it easy. In this article, we will see how we can use Ansible to provision Vagrant boxes. So, what exactly is a Vagrant box? In simple terms, we can think of a vagrant box as a virtual machine prepackaged with the development tools...

Article Thumbnail
Article

Build your next cloud-based PaaS in under an hour

Matyas Danter

The charter of Open Innovation Labs is to help our customers accelerate application development and realize the latest advancements in software delivery, by providing skills, mentoring, and tools. Some of the challenges I frequently hear from customers are those around Platform as a Service (PaaS) environment provisioning and configuration. This article is first in the series of articles that guide you through installation configuration and usage of the Red Hat OpenShift Container Platform (OCP) on Amazon Web Services (AWS). This...

Article Thumbnail
Article

12 Simple Tips for Your Next Highly Available Cloud Buildout

Matyas Danter +1

Situation: You’re a great software developer and a fearless leader. Your CEO bursts into your cubicle and he is giving you vast amounts of investment capital, no data center, and limited staff. Your task: build a multi-region, highly available presence in AWS (or your favorite cloud provider) that can be maintained by minimal man-power. Your multi-tier Java EE app is almost ready. You are going to be required to create, maintain, and monitor a large amount of servers, RDS instances...

Article Thumbnail
Article

Deploying Microservices on OpenShift using Kubernetes

Christopher Tozzi

You’ve heard of microservices. You’ve heard of OpenShift. You’ve heard of Kubernetes. Actually, you may already have considerable experience with each of these three concepts and tools. But do you know how to combine all of them in order to deploy microservices effectively? If not, this article is for you. Below, I’ll explain how microservices, OpenShift and Kubernetes fit together, and provide an overview of how you can leverage the orchestration tools provided by OpenShift and Kubernetes in order to...

Article Thumbnail
Article

Have your own Microservices playground

Rafael Benevides

Microservices are standing at the " Peak of Inflated Expectations". It's immeasurable the number of developers and companies that want to bring in this new development paradigm and don't know what challenges they will face. Of course, the challenges and the reality of an Enterprise company that has been producing software for the last 10 or 20 years is totally different from the start-up company that just released its first software some months ago. Before adopting microservices as an architectural...

Article Thumbnail
Article

Connecting to a Remote database from a JWS/Tomcat application on OpenShift

Guna Vijayaratnam

One of the common requirements for Java based applications on OpenShift is to have these workloads connect back out to an enterprise database that resides outside of the OpenShift infrastructure. While OpenShift natively supports a variety of relational databases (including Postgres and MySQL) as Docker based deployments within the platform, connecting to an existing enterprise database infrastructure is preferred in many large organizations for a variety of reasons including: Inherent confidence in traditional databases due to in house experience around...

Article Thumbnail
Article

Continuous Delivery to JBoss EAP and OpenShift with the CloudBees Jenkins Platform

Deon Ballard

If you are using JBoss Enterprise Application Platform (EAP) for J2EE development, the CloudBees Jenkins Platform provides an enterprise-class toolchain for an automated CI/CD from development to production. The CloudBees Jenkins Platform now supports integrations with both Red Hat JBoss Enterprise Application Platform (EAP) and Red Hat OpenShift across the software delivery pipeline. This enables developers to build, test and deploy applications, with Jenkins-based continuous delivery pipelines in JBoss via JBoss EAP 7 or JBoss EAP 7 on OpenShift. The...

Article Thumbnail
Article

Debugging Java Applications using the Red Hat Container Development Kit

Andrew Block

Containerization technology is fundamentally changing the way applications are packaged and deployed. The ability to create a uniform runtime that can be deployed and scaled is revolutionizing how many organizations develop applications. Platforms such as OpenShift also provide additional benefits such as service orchestration through Kubernetes and a suite of tools for achieving continuous integration and continuous delivery of applications. However, even with all of these benefits, developers still need to be able to utilize the same patterns they have...

Article Thumbnail
Article

JBoss EAP 7 on OpenShift

James Falkner

JBoss EAP 7 was recently released, and brings with it a whole host of new features and support, such as support for Java EE 7, reduced port usage, graceful shutdown, improved GUI and CLI management, optimizations for cloud and containers, and much more. EAP 7's small footprint, fast startup time and support for modern Java and non-Java frameworks make it uniquely suitable for deployment onto PaaS cloud environments, and Red Hat happens to have a leading one: OpenShift. I put...

WildFly Swarm logo
Article

Four different approaches to run WildFly Swarm in OpenShift

Rafael Benevides

WildFly Swarm 1.0.0.Final was released this week at DevNation. It allows the developer to package his application and a JavaEE runtime in a "fat- jar" file. To execute the application, the developer will only need a Java SE Runtime installed and have access to the "fat-jar". No other downloads or configurations are needed. Besides being a well known (and consolidated) Java EE runtime, WildFly Swarm is also an excellent choice for Cloud-native Java apps through the "built-in support for third...

Andrew Lee Rubinger
Article

Push it Real Good: Continuous Delivery for the people at the push of a button and repo

Andrew Lee Rubinger

The Problem Several months back, our emerging Developer Programs engineering team assembled during the last breaths of Brno's Czech winter and dedicated a full day towards a deceptively complex task: Be a user. Assemble in groups and, using a technology stack of your choosing, conceive of and create an application to be presented to the full team in 6 hours. Keep in mind that I hold my colleagues in extremely high regard; they're capable, creative, and experienced. Surely churning out...

Article Thumbnail
Article

DevNation Live Blog: Make applications great again: OpenShift Enterprise 3 walk-through with Docker and Kubernetes

Brian Atkisson

OpenShift 3 is all about Docker containers. More importantly, it is about management orchestration of containerized applications. Red Hat IT was a big consumer of OpenShift 2 and likewise, we are moving as many applications as possible to containers. OpenShift 3 is a big part of this strategy. On a personal note, OpenShift 3 is an incredible product. I even have it installed at home for various services :) Grant Shipley gave his talk on "making applications great again" using...

Article Thumbnail
Article

DevNation Live Blog: Developing with OpenShift without the build waits

Rob Terzi

Red Hat's Peter Larsen, the OpenShift Domain Architect, gave a talk at DevNation, "Developing on OpenShift without the build waits". Developing with the OpenShift Platform-as-a-Service can be very compelling: developing and deploying software without having to worry about the infrastructure. When you first try OpenShift, it's quite impressive to see how easy it is to develop and deploy software using the built-in templates that include preconfigured components such as databases and application servers. This allows developers to start coding right...

Article Thumbnail
Article

Code Healthy with the OpenShift Hackathon

Grant Shipley +1

Over the last couple of years the OpenShift team at Red Hat has been hard at work developing the next generation of their application platform.

Java fat jars
Article

How to run Java fat-jars in Docker, Kubernetes and OpenShift

Rafael Benevides

In a world where agility matters, the pursuit to reduce wasted time in environment configurations is apparent in many technologies. Some techniques, such as Virtual Machines, that enable distribution of pre-configured images have existed for decades, while others like Linux containers are more recent. Even platforms like Java allow developers to package all dependencies, resources and configuration files in single JAR (Java Archive) file. What started initially as way to have executable Java classes in Java SE (Standard Edition), has...

Article Thumbnail
Article

Create Resilient Camel applications with Hystrix

Bilgin Ibryam

Apache Camel is a mature integration library (over 9 years old now) that implements all the patterns from Enterprise Integration Patterns book, but Camel is not only an EIP implementation library, it is a modern framework that constantly evolves, adds new patterns and adapts to the changes in the industry. Apart from tens of connectors added in each release, Camel goes hand-in-hand with the new features provided by the new versions of Java language itself and other Java frameworks. With...

Article Thumbnail
Article

Simplifying ASP.NET applications on OpenShift with the ASP.NET Core S2I Builder

Andrew Block

With recent changes the to the.NET ecosystem, developers of popular languages such as C# now have the ability to develop and deploy .NET applications across multiple platforms including OSX and Linux. This is made possible thanks to the .NET Core, a modular implementation of the .NET framework capable of supporting both web and console applications. Aside from opening up opportunities to a new pool of potential developers, .NET Core also enabled these applications to take advantage of certain technologies they...

Article Thumbnail
Article

Google joins DevNation 2016 CodeStarter with Google Cloud Platform - time to hack on Kubernetes

Mike Guerette

Join Red Hat and Google Cloud Platform for an evening for code hackers. Yes, there will be fabulous food and drink but more importantly we are going to get seriously hands-on with microservices, Linux containers (Docker), Kubernetes+Openshift and Google Cloud Platform. We will be exploring numerous microservices coding patterns and leveraging the power of Kubernetes+OpenShift for managing those microservices at scale. This session will primarily be a series of hands-on exercises but will also include experimentation time. In addition to...

Article Thumbnail
Article

Maven mirrors on OpenShift with and without Source to Image (S2I)

James Falkner

I'm guessing if you've done enough repeated builds on OpenShift, using Maven, that you are probably aware of the " download the internet" phenomenon that plagues build times. You start a build, expecting all those Maven dependencies you downloaded for your last build to be re-used, but quickly see your network traffic ramp up while the same 100MB of jars are downloaded again and again. Even builds of a few minutes tend to grind on me, frustrate me as a...

Article Thumbnail
Article

Red Hat CDK installation in just minutes!

Eric D. Schabell

Ready to develop container application in just over 4 minutes? Since I started playing around with OpenShift in its various forms, such as Online with cartridges and then later as containerized images, nothing has gotten me more excited than the availability of the Red Hat Container Development Kit (CDK). This kit has made it possible to easily gain access to a full, product based installation of OpenShift as you would interact with it in application development in just minutes. While...

Article Thumbnail
Article

DevNation 2016: Peter Larsen on Developing with OpenShift without the Build Waits

Lincoln Baxter III

DevNation 2016: Peter Larsen on Developing with OpenShift without the Build Waits - DevNation sneak peek is a behind-the-scenes preview of sessions and information that will take place at DevNation 2016. Sign up for DevNation at www.devnation.org. Learn more. Code more. Share more. Join the Nation.

Article Thumbnail
Article

Use Vagrant Landrush to add DNS features to your OpenShift CDK Machine

Ricardo Martinelli

With the release of the Red Hat Container Development Kit (CDK), it’s been easier to set up a development environment with OpenShift to create, develop and test your own containerized applications, and easier evaluate different CI/CD strategies with Jenkins --- strategies that reflect your team's unique culture. However, when you want to access applications by their DNS names, you cannot do so because there is no DNS server pointing to that name. That is, of course, until now! Vagrant provides...

Article Thumbnail
Article

3 Reasons I Should Build My Containerized Applications on RHEL and OpenShift

Scott McCarty (fatherlinux)

Red Hat has always given operations teams value in deploying Red Hat Enterprise Linux (RHEL), and that's no different in a containerized world. But, as a developer, why should I build on RHEL? Does the underlying operating system really affect me? It might if you want to: get your app to production faster work on new products, not maintain old ones avoid compatibility issues at scale (And yes RHEL is available at no cost for development use.) 1) Take Your...

Article Thumbnail
Article

Integrate OpenShift and Eclipse Che for faster development

Joshua Wilson +1

Recent: Red Hat was invited to be part of Eclipse Che keynote at EclipseCon 2016 and Pete Muir gave a quick look at working with OpenShift and Eclipse Che. When we create software today , we often hit a brick wall and waste many hours because creating copies of another system is far too hard. We create copies for many reasons - a few common examples are: replicating production issues; asking another developer for help; running test suites; copying the...

Jolokia JVM Monitoring in OpenShift
Article

Jolokia JVM Monitoring in OpenShift

Andrew Block

Cloud based technology offers the ability to build, deploy and scale applications with ease; however, deploying to the cloud is only half of the battle. How cloud applications are monitored becomes a paramount concern with operations teams. When issues arise, teams and their monitoring systems must be able to detect, react, and rectify the situation. CPU, system memory, and disk space are three common indicators used to monitor applications, and are typically reported by the operating system. However, for Java...