Kubernetes

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...

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...

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 <origin_tarball> # like openshift-origin-server-v1.3.1-dad658de7465ba8a234a4fb40b5b446a45a4cee1-linux-64bit.tar.gz $ cd <origin_dir_name> $...

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...

Red Hat OpenShift
Article

Running Spark Jobs On OpenShift

Zak Hassan

Introduction: A feature of OpenShift is jobs and today I will be explaining how you can use jobs to run your spark machine, learning data science applications against Spark running on OpenShift. You can run jobs as a batch or scheduled, which provides cron like functionality. If jobs fail, by default OpenShift will retry the job creation again. At the end of this article, I have a video demonstration of running spark jobs from OpenShift templates against Spark running on...

Camel / Red Hat Fuse
Article

Getting Started with Fuse Integration Service 2.0 Tech preview

Christina Lin

To get started with FIS 2.0, for people who are just getting to know the technology, here is how I interpret it. Basically, it's divided into two aspects. 1. Integration development: FIS uses Apache Camel as the core technology that creates, orchestrates, and composes microservices into a super lightweight thin integration layer, and becomes the API provider and service orchestrator through exposing RESTful or messaging service endpoints. And you can choose to either package and run it with Spring-Boot or...

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...

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...

Red Hat Logo
Article

Spring Boot and OAuth2 with Keycloak

Kamesh Sampath

The tutorial Spring Boot and OAuth2 showed how to enable OAuth2 with Spring Boot with Facebook as AuthProvider; this blog is the extension of showing how to use KeyCloak as AuthProvider instead of Facebook. I intend to keep this example as close to the original Spring Boot and OAuth2 and will explain the changes to the configuration to make the same application work with KeyCloak . The source code for the examples are available in the github repositories listed below...

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...

RedHat Shadowman Logo
Article

Red Hat JBoss Data Virtualization on OpenShift: Part 1 - Getting started

Cojan van Ballegooijen

Red Hat JBoss Data Virtualization (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 PaaS Breaking up monolithic data sources virtually for a...

Red Hat OpenShift
Article

Calling A-MQ Deployed in OpenShift by an External Client

Michelle Davis

As I tried to create queues/topics installed within OpenShift 3.2 and accessible to external clients, I found that there were more things assumed about the process than not. So I decided to share my steps with others. The only supported template for this scenario is via ssl transport with persistence Big Assumptions: That OpenShift is installed and working Persistent volumes have been created in OpenShift to use You must have a persistent store (i.e. a PV must be set up)...

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...

Article Thumbnail
Article

Working with OpenShift secrets for ASP.NET Core

Takayoshi Tanaka

If you want to use secret configuration which you don't want to store the code repository during developing ASP.NET Core app, what will you do? ASP.NET Core provides Secret Manager tool. Then how about developing on OpenShift? I'd like to talk about Secret Manager tool and working OpenShift secrets for ASP.NET Core in this blog. Secret Manager tool Let's try to use following the document. At first, make ASP.NET Core web project. Then add Microsoft.Extensions.SecretManager.Tools , Microsoft.Extensions.Configuration.UserSecrets and userSecretsId to...

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...