Containers

Article Thumbnail
Article

Build your first application using Python 3.5 on RHEL 7 with containers and Red Hat Software Collections

mguerett

Get started building Python 3.5 applications in docker containers on Red Hat Enterprise Linux in under 15 minutes. Introduction and Prerequisites In this tutorial, you will learn how to start building Python 3.5 applications in docker containers on Red Hat Enterprise Linux. In order to build and run containers you will first install docker on your Red Hat Enterprise Linux 7 system. You will use the Python 3.5 container image from Red Hat Software Collections (RHSCL) as the basis for...

Article Thumbnail
Article

Build your first application using Ruby 2.3 on RHEL 7 with containers and Red Hat Software Collections

mguerett

Get started building Ruby 2.3 applications in docker containers on Red Hat Enterprise Linux in under 15 minutes. Introduction and Prerequisites In this tutorial, you will learn how to start building Ruby 2.3 applications in docker containers on Red Hat Enterprise Linux. In order to build and run containers, you will first install docker on your Red Hat Enterprise Linux 7 system. You will use the Ruby 2.3 container image from Red Hat Software Collections (RHSCL) 2.2 as the basis...

Article Thumbnail
Article

Build your first application using Node.js v4 on RHEL 7 with containers and Red Hat Software Collections

mguerett

Get started building Node.js v4 applications in docker containers on Red Hat Enterprise Linux in under 15 minutes. Introduction and Prerequisites In this tutorial, you will learn how to start building Node.js v4 applications in docker containers on Red Hat Enterprise Linux. In order to build and run containers you will first install docker on your Red Hat Enterprise Linux 7 system. You will use the Node.js v4 container image from Red Hat Software Collections (RHSCL) 2.2 as the basis...

Jenkins Pipeline Builds and A/B Deployments in CDK
Article

Jenkins Pipeline Builds and A/B Deployments in CDK

Ricardo Martinelli

The CDK 2.3 version has added the newest OpenShift Container Platform 3.3, allowing us to make use of the Jenkins Pipeline builds as well a special route configuration, which enables A/B deployments. In this post, I will show you how to achieve that configuration using a microservice application. Preparation steps Once CDK 2.3 is up and running in our environment, we need to make an additional configuration to enable the Jenkins pipeline builds. Since it is an experimental feature, it...

Using API keys securely in your OpenShift microservices and applications
Article

Using Pipelines in OpenShift 3.3+ for CI/CD

Alessandro Arrichiello

It's been a while since Red Hat released version 3.3 of OpenShift Container Platform, this version is full of features. One of my favorites is the support for Pipelines (Tech Preview for now) that lets you easily integrate Jenkins builds on your OpenShift (Origin) Platform. OpenShift Pipelines OpenShift Pipelines are based on the Jenkins Pipeline plugin. ( https://jenkins.io/solutions/pipeline/) Integrating Jenkins Pipelines into OpenShift unlocks all the features for the CI/CD world enabling its users to easily manage repeatable tasks in...

Red Hat Logo
Article

Architectural Cross-Cutting Concerns of Cloud Native Applications

Raffaele Spazzoli

Several organizations are wondering (and sometimes struggling on) how to port their current workloads to cloud environments. One of the main characteristics of a cloud environment is that the infrastructure is provisioned dynamically. This implies, for example, that we don’t know a priori where our resources are being allocated (we can find that out, though). VMs or containers will receive a dynamic IP. Storage will be allocated somewhere and attached to our VMs or containers and so on. So, how...

Camel / Red Hat Fuse
Article

How to containerize your Camel route on Karaf within OpenShift

Abdellatif Bouchama

The Red Hat JBoss Fuse solution offers a new approach of ESB, both lightweight and modular. It is perfectly suited to allow you to implement light integrations. JBoss Fuse is fully supported, based on the power of Apache Karaf --- Karaf allows for the easy deployment of your ActiveMQ Broker, your CXF web services, or your own Apache Camel routes. Most of us are more familiar with the OSGI Environment, and what it offers: things like control of classloader behavior...

Article Thumbnail
Article

Red Hat JBoss Data Virtualization on OpenShift: Part 3 – Data federation

Cojan van Ballegooijen

Welcome to part 3 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...

Article Thumbnail
Article

Spring Cloud for Microservices Compared to Kubernetes

Bilgin Ibryam

Spring Cloud and Kubernetes both claim to be the best environment for developing and running Microservices, but they are both very different in nature and address different concerns. In this article we will look at how each platform is helping in delivering Microservice based architectures (MSA), in which areas they are good at, and how to take best of both worlds in order to succeed in the Microservices journey. Background Story Recently I read a great article about building Microservice...

Article Thumbnail
Article

Red Hat JBoss Data Virtualization on OpenShift: Part 2 - Service enable your data

Cojan van Ballegooijen

Welcome to the part 2 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...

OpenShift and Kubernetes
Article

Kompose Up for OpenShift and Kubernetes

Dusty Mabe

Introduction Kompose is a tool to convert from higher level abstractions of application definitions into more detailed Kubernetes artifacts. These artifacts can then be used to bring up the application in a Kubernetes cluster. What higher level application abstraction should kompose use? One of the most popular application definition formats for developers is the docker-compose.yml format for use with docker-compose that communicates with the docker daemon to bring up the application. Since this format has gained some traction we decided...

Fedora logo
Article

Installing Red Hat Container Development Kit on Fedora

Preeti Chandrashekar

Fedora users seeking help on installing Container Development Kit (CDK), here is how you can install CDK 2.2 on your Fedora 24. These same steps can be used for CDK 2.3 too. CDK provides a container development environment, to build production-grade applications, for use on OpenShift. The installation of CDK 2.2 on Fedora essentially involves the following stages: Setting up your virtualization environment You need to first install the virtualization software, in this case, KVM/libvirt, and then proceed to install...

Article Thumbnail
Article

Announcement: Red Hat JBoss Data Virtualization on OpenShift now available

Cojan van Ballegooijen

We are happy to announce the availability of Red Hat JBoss Data Virtualization (JDV) 6.3 image 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...

Article Thumbnail
Article

Using the Kubernetes Client for Go

Mike Dame

The Kubernetes client package for Go provides developers with a vast range of functions to access data and resources in a cluster. Taking advantage of its capabilities can allow the opportunity to build powerful controllers, monitoring and managing your cluster, beyond the scope of what is offered by stock OpenShift or Kubernetes setups. For example, the PodInterface allows you to list, update, delete, or get specific pods either by namespace or across all namespaces. This interface is complemented by similar...

RedHat Shadowman Logo
Article

Red Hat Summit, DevNation, and an Application Development call for papers

Mike Guerette

Red Hat Summit has always catered to multiple user roles and this year will be no different. What will be different in 2017 is an expanded focus on professional application developers much like DevNation has done in recent years. As such, we will not be hosting a separate DevNation event alongside Summit 2017. Instead, Summit will include more advanced Application Development sessions, CodeStarters, labs, birds of a feathers, a new "Developer Zone" in the expo area, and much more. What...

Automating microservices deployment with Red Hat Ansible Automation
Article

Automating microservices deployment with Ansible

Rafael Benevides

One of the main principles of microservices is to be independently deployable. As a consequence, Microservices development and operation tend to be much more complex than a Monolith because of their distributed nature --- if your IT team has not moved out yet from its silos and has adopted DevOps practices, the operations team will not really understand why they have to deploy hundreds of independent software pieces in opposite to the "good old monolith". "You need a mature operations...

Article Thumbnail
Article

Cockpit: Your entrypoint to the Containers Management World

Alessandro Arrichiello

Containers are one of the top trend today. Starting working or playing with them could be really hard also if you've well understood the theory at their base. With this article I'll try to show you some useful tips and tricks to start into containers world, thanks also to the great web interface provided by the Cockpit project. Cockpit overview Cockpit is an interactive server admin interface. You'll find below some a of its great features: Cockpit comes “out of...

Article Thumbnail
Article

Improving User Experience using The Cloud - Reducing Response Sizes

Evan Shortiss

In part one of this series of blog posts, we discussed the importance of user experience within the mobile industry, and how your API has a significant effect on this. In the this article, we’ll outline a number of techniques that you can leverage on an MBaaS solution such as Red Hat Mobile Application Platform to reduce the data downloaded by mobile devices when they make requests to your RESTful API. Reducing the size of a response is conceptually simple...

Article Thumbnail
Article

Container Orchestration Specification for better DevOps

Pradeepto Bhattacharya

The world is moving to microservices, where applications are composed of a complex topology of components, orchestrated into a coordinated topology. Microservices have become increasingly popular as they increase business agility and reduce the time for changes to be made. On top of this, containers make it easier for organizations to adopt microservices. Increasingly, containers are the runtimes used for composition, and many excellent solutions have been developed to handle container orchestration such as: Kubernetes/OpenShift; Mesos and its many frameworks...

Article Thumbnail
Article

Getting started with Hyperledger on Kubernetes

Kunal Limaye

Why? Recently, I have been following the Hyperledger project, and Fabric in particular, with fair bit of interest. The current deployment process 1 for Fabric Starter Kit uses Docker Swarm. Kubernetes is a leading platform for automating deployment, scaling, and operations of containerised applications. Using Kubernetes instead of Docker Swarm would allow Hyperledger Fabric to leverage features like: Automatic binpacking Horizontal scaling Automated rollouts and rollbacks Storage orchestration Self-healing Service discovery and load balancing Secret and configuration management Batch execution...

That app you love
Article

That app you love, part 10: Long live "that app you love"

N. Harrison Ripps

Welcome to the tenth and final installment of That App You Love, a blog series in which I show you how to you can make almost any app into a first-class cloud citizen. If you want to start from the beginning, jump back and check out Part 1: Making a Connection. You’ll need the docker service and the oc utility to follow along in this post; for instructions check out Part 5: Upping Our (Cloud) Game. Wow, we’ve come a...

Article Thumbnail
Article

The fast-moving monolith: how we sped-up delivery from every three months, to every week

Raffaele Spazzoli

Editor's note: Raffaele Spazzoli is an Architect with Red Hat Consulting's PaaS and DevOps Practice. This blog post reflects his experience working for Key Bank prior to joining Red Hat. A recount of the journey from three-months, to one-week release cycle-time. This is the journey of KeyBank, a super-regional bank, from quarterly deployments to production to weekly deployments to production. In the process we adopted all open source software migrating from WebSphere to Tomcat and adopting OpenShift as our private...

That app you love
Article

That app you love, part 9: Storage and statefulness

N. Harrison Ripps

Welcome to the ninth installment of That App You Love, a blog series in which I show you how to you can make almost any app into a first-class cloud citizen. If you want to start from the beginning, jump back and check out Part 1: Making a Connection. You’ll need the docker service and the oc utility to follow along in this post; for instructions check out Part 5: Upping Our (Cloud) Game. In Part 8 we learned how...

Article Thumbnail
Article

Docker project: Can you have overlay2 speed and density with devicemapper? Yep.

Jeremy Eder

It's been a while since our last deep-dive into the Docker project graph driver performance. Over two years, in fact! In that time, Red Hat engineers have made major strides in improving container storage: Introduced the docker-storage-setup package to help make configuring devicemapper-based storage a snap. Introduced full support for overlay FS in RHEL7.2+ when used with containers Introduced overlay2 as Tech Preview mode Gotten SELinux support to both overlay and overlay2 merged into upstream kernel 4.9 Added a warning...

Using API keys securely in your OpenShift microservices and applications
Article

Understanding OpenShift Security Context Constraints

Alessandro Arrichiello

OpenShift gives its administrators the ability to manage a set of security context constraints (SCCs) for limiting and securing their cluster. Security context constraints allow administrators to control permissions for pods using the CLI. SCCs allow an administrator to control the following: Running of privileged containers. Capabilities a container can request to be added. Use of host directories as volumes. The SELinux context of the container. The user ID. The use of host namespaces and networking. Allocating an 'FSGroup' that...