Kubernetes

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

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

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

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

Microservices: Comparing DIY with Apache Camel

James Falkner

Microservices are currently enjoying immense popularity. It is rare to find a tech conference without at least a few mentions of them in corridor conversations or titles of talks, and for good reason: microservices can provide a path to better, more maintainable, higher quality software delivered faster. What's not to love? Of course there are the "negatives" and details in the implementation of microservices that can trip up even the most seasoned architect-developer, but at the same time we are...

Article Thumbnail
Article

Running Che on OpenShift at CheConf

Emily Parish

Che on OpenShift is coming and you can get a peek into how it works at CheConf with our very own Mario Loriedo. Mario will joining CheConf at 3pm on November 14, 2016 to show you how you can setup and deploy Che on Red Hat OpenShift. In his presentation learn: Cloud development with OpenShift and Che Running Che on OpenShift Service Provider Interface Get the details at http://www.eclipse.org/che/checonf/sessions.html#mario.

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

That app you love
Article

That app you love, part 8: A blueprint for "that app you love"

N. Harrison Ripps

Welcome to the eighth 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 7 we learned how...