Containers

Red Hat OpenShift logo
Article

Develop and Deploy on OpenShift Next-Gen using Red Hat JBoss Developer Studio

Jeff Maury

The OpenShift Next-Gen platform is available for evaluation: visit https://console.preview.openshift.com/. It is based on Red Hat OpenShift Container Platform 3.4. This preview allows you to play with OpenShift Container Platform 3.4 and deploy artifacts. The evaluation is limited to one month. The purpose of the article is to describe how to use Red Hat JBoss Developer Studio or JBoss Tools together with this online platform. Install Red Hat JBoss Developer Studio If you have not already installed Red Hat JBoss...

Red Hat CDK
Article

Adding Persistent Storage to Minishift / CDK 3 in Minutes

Alessandro Arrichiello

Hi there! It's been a while since I last wrote an article. Today, I want to show you how to easily setup some persistent storage for your projects in minishift / CDK 3 (Red Hat's Containers Development Kit 3). Prerequisites First, let's start planning what you'll need: A working minishift or CDK 3. That's all, I swear! I won't go deep into how to set up a minishift or CDK 3, there are many articles on the Internet to cover...

Article Thumbnail
Article

OpenJDK and Containers

Christine Flood

What can be done to help the OpenJDK JVM play well in the world of Linux Containers? I thought I'd start tackling this issue by answering some frequently asked questions: Why is it when I specify -Xmx=1g my JVM uses up more memory than 1gb of memory? Specifying -Xmx=1g is telling the JVM to allocate a 1gb heap. It's not telling the JVM to limit its entire memory usage to 1gb. There are card tables, code caches, and all sorts...

Share graphics_Kubernetes
Cheat Sheet

Kubernetes Cheat Sheet

Daniel Oh

Download the Kubernetes cheat sheet and learn how to install Minikube, run locally on Minikube, install kubectl, and use the kubectl CLI.

Containerizing open-vm-tools
Article

Containerizing open-vm-tools - Part 1: The Dockerfile and constructing a systemd unit file

davis phillips

While validating OpenShift Container Platform on a VMware platform the usage of Atomic OS was also a requirement. In the initial reference architecture, the decision was made to use Red Hat Enterprise Linux as the platform. This platform was then customized and the same packages as in Atomic were installed via Ansible and Red Hat Network. The github repo with those playbooks is here: https://github.com/openshift/openshift-ansible-contrib/tree/master/reference-architecture/vmware-ansible . These playbooks will guide you from start to finish to deploying OCP on VMware...

Java inside docker
Article

Java inside docker: What you must know to not FAIL

Rafael Benevides

Many developers are (or should be) aware that Java processes running inside Linux containers ( docker, rkt, runC, lxcfs, etc) don't behave as expected when we let the JVM ergonomics set the default values for the garbage collector, heap size, and runtime compiler. When we execute a Java application without any tuning parameter like "java -jar mypplication-fat.jar", the JVM will adjust by itself several parameters to have the best performance in the execution environment. This blog post takes a straightforward...

Red Hat CDK
Article

Node, S2I and Docker

Lucas Holmquist

(Edit: November 22, 2019) The Node images used in this post, both community centos7 and product, are no longer being updated and maintained. For community images, please use the Universal Base Image (UBI)-based node images located here: registry.access.redhat.com/ubi8/nodejs-10 For a fully supported Product version of Node.js, please check out the Red Hat Software Collections Node.js image, RH SCL Node.js. Intro I like Node.js and I like Docker. While I am not an expert on either, I do pretend to be...

A Practical Introduction to Docker Container Terminology
Article

Using Red Hat Container Development Kit 3 Beta

Lalatendu Mohanty

The CDK 3 Beta release introduces Minishift - a CLI tool that helps you run the OpenShift Container Platform locally by launching a single-node OpenShift cluster on top of a RHEL7 virtual machine. CDK 3 addresses a lot of usability issues we had with CDK 2.x. We aim to provide an improved user experience with CDK 3. What has changed between CDK 2.x and CDK 3 : In CDK 3 we changed the following technologies to make the installation steps...

Getting started with OpenShift Java S2I
Article

Getting started with OpenShift Java S2I

Thomas Qvarnström

Introduction The OpenShift Java S2I image, which allows you to automatically build and deploy your Java microservices, has just been released and is now publicly available. This article describes how to get started with the Java S2I container image, but first, let’s discuss why having a Java S2I image is so important. Why Java S2I? The Java S2I image enables developers to automatically build, deploy and run java applications on demand, in OpenShift Container Platform, by simply specifying the location...

Red Hat OpenShift
Article

OpenShift for Developers: Set Up a Full Cluster in Under 30 Minutes

Grant Shipley

One of the common questions I get asked by developers is how they can use OpenShift locally for their own development. Luckily, we have a lot of different options and selecting one depends on the specific development environment that you prefer to work with. For example, if you prefer to have things working in a virtual machine without having to worry too much about the installation, the all-in-one or official CDK is probably what you are after. These two options...

JBoss Data Virtualization: Integrating with Impala on Cloudera
Article

Unlock your Red Hat JBoss Data Grid data with Red Hat JBoss Data Virtualization

Cojan van Ballegooijen

Welcome to another episode of the series: “Unlock your Red Hat JBoss Data Grid (JDG) data with Red Hat JBoss Data Virtualization (JDV).” This post will guide you through an example of connecting to Red Hat JBoss Data Grid data source, using Teiid Designer. In this example, we will demonstrate connecting to a local JDG data source. We’re using the JDG 6.6.1, but you can connect to any local or remote JDG source (version 6.6.1) if you wish, using the...

Article Thumbnail
Article

Find what capabilities an application requires to successful run in a container

William Cohen

Many developers would like to run their existing applications in a container with restricted capabilities to improve security. However, it may not be clear which capabilities the application uses because the code uses libraries or other code developed elsewhere. The developer could run the application in an unrestricted container that allows all syscalls and capabilities to be used to avoid possible hard to diagnose failures caused by the application's use of forbidden capabilities or syscalls. Of course, this eliminates the...

Using API keys securely in your OpenShift microservices and applications
Article

How to build a containerized IoT solution with OpenShift

Ishu Verma

For businesses looking to build scalable Internet of Things (IoT) solutions using containers, here is a sample project built on the Red Hat OpenShift Container Platform . This project implements an intelligent IoT gateway on the OpenShift Container platform. The IoT Gateway is critical for enterprise IoT as it brings intelligence, and enables key services, at the edge. In this project, the gateway application is deployed as a set of microservices inside containers on OpenShift. A software sensor sends a...

Article Thumbnail
Article

Five-Day Sprint Process meets Raleigh Innovators Program - Part 1 of 5

Beverly Heustess

Hi, Red Hat Developers! I’m new to the Red Hat Developers blog and wanted to give you a quick introduction before diving into the Innovators Program and how you can use some of the theories and processes in your day to day. I’m a Red Hatter and I specialize in UX and knowledge management for internal support at Red Hat. Basically, I make sure Red Hat employees and the teams that support them get everything they need out of our...

A Practical Introduction to Docker Container Terminology
Article

The Evolution of a Linux Container

Don Schenck

(Probably, a more accurate title would be "The Evolution of a Linux Container Developer") Since .NET now runs on Linux (as well as Windows and macOS), the whole world of Linux containers and microservices has opened up to .NET developers. With a large pool of developers, a long track record of success, and performance numbers that are impressive, .NET offers a great opportunity to expand the world of Linux containers to formerly Windows-centric developers. While it’s tempting to rush in...

Camel / Red Hat Fuse
Article

Microservices: Zero Downtime Deployment; Hot reconfiguration on OpenShift

Abdellatif Bouchama

2017: Time for a new resolution and the most important resolution for this year should be to adopt microservices to spend less effort on development and improve your time to market (TTM). Nowadays, there are plenty of tools and frameworks at the disposal of the discerning developer to rapidly build microservices. A few examples include Spring Boot, Vertx, etc. Once you build your microservices, the next step is to ensure that these frequent deployments do not impact the availability of...

Mobile Apps Load Testing
Article

Mobile Apps Load Testing

Javier Perez

Mobile App development does not stop when you build your app and have a binary ready to be installed on the device. Regardless of how good your code is or how much unit and regression testing you performed, there are elements that need to be tested under different circumstances, for example, data traffic, the number of users, location, and high latency in the mobile network. At this point, what you want to test is app performance, which means “responsiveness” of...

JBoss Data Virtualization: Integrating with Impala on Cloudera
Article

Red Hat JBoss Data Virtualization on OpenShift: Part 4 - Bringing data from outside to inside the PaaS

Cojan van Ballegooijen

Welcome to part 4 of Red Hat JBoss Data Virtualization (JDV) running on OpenShift. JDV is a lean, virtual data integration solution that unlocks trapped data and delivers it as easily consumable, unified, and actionable information. JDV makes data spread across physically diverse systems such as multiple databases, XML files, and Hadoop systems appear as a set of tables in a local database. When deployed on OpenShift, JDV enables: Service enabling your data. Bringing data from outside to inside the...

A Practical Introduction to Docker Container Terminology
Article

Container Images Compliance - what we built at ManageIQ to remove a security pain point - part 2

Mooli Tayer

Part 2 of 2 In part one of this blog post, we mentioned a pain point in Container based environments. We introduced SCAP as a means to measure compliance in computer systems and introduced ManageIQ as a means of automating Cloud & Container based workflows. Tutorial: Using the OpenSCAP integration in ManageIQ In ManageIQ we have been working on leveraging OpenSCAP to show container images that infringe known vulnerabilities based on the latest CVE content distributed by Red Hat. Integrating...

A Practical Introduction to Docker Container Terminology
Article

Container Images Compliance - what we built at ManageIQ to remove a security pain point - part 1

Mooli Tayer

Part 1 of 2 "Docker is about running random crap from the Internet as root on your host" - Dan Walsh Do you trust your containers? In container-based development flows, a developer will create an image to be the base for an application. Images are stateless, read only, and they are built in layers. These layers represent everything in an application's runtime environment but the kernel, which will be “borrowed” from the hosting machine. Such layers include distribution, packages, environment...

Using API keys securely in your OpenShift microservices and applications
Article

End To End Encryption With OpenShift Part 1: Two-Way SSL

Ron Sengupta

This is the first part of a 2 part article, part 2 (End To End Encryption With OpenShift Part 2: Re-encryption) will be authored by Matyas Danter, Sr Consultant with Red Hat, it will be published soon. This article aims to demonstrate use cases for Openshift routes to achieve end-to-end encryption. This is a desirable and sometimes mandated configuration for many verticals, which deal with strict regulations. For example, financial sectors often are extremely careful about their application security standards...

Red Hat Enterprise Linux
Article

How to start with Containers and OpenShift for newcomers in Red Hat Enterprise Linux 7

Petr Hracek

The document covers the initial steps that describe how to play with containers and OpenShift. The article was written together with Jiri Hornicek. Prerequisites For more information about installing containers i n RHEL, see Installation Guide - Red Hat Customer Portal Download OpenShift binaries from Releases - openshift/origin - GitHub . Extract the binaries to your / home / directory and copy them to the /usr/bin / directory : $ tar -xzvf # like openshift-origin-server-v1.3.1-dad658de7465ba8a234a4fb40b5b446a45a4cee1-linux-64bit.tar.gz $ cd $...

Microservices Deployments Evolution
Article

Microservices Deployments Evolution

Bilgin Ibryam

Microservices Are Here, to Stay A few years back, most software systems had a monolithic architecture and slow release cycle. In the recent years, there is a clear move towards Microservices architecture, which is optimized for scalability, elasticity, failure, and speed of change. This trend has been further enforced by the adoption of cloud and containers, which also enabled practices such as DevOps. Trends in the IT Industry All these changes have resulted in a growing number of services to...