Kubernetes

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

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

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

That app you love
Article

That app you love, part 7: Wired for sound

N. Harrison Ripps

Welcome to the seventh 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 6...

Devoxx logo
Article

13 Red Hat sessions at Devoxx Belgium

Mike Guerette

For any of you planning to attend Devoxx Belgium during the week of 7 November, Red Hatters will be delivering 13 sessions, labs and BoFs and so you'll definitely want to attend one or more of them when you're there. Here's the list in chronological order. Enjoy! (By the way - if you're, I'll be there too so please stop by the Red Hat booth to say "hello".) Monday : Managing Cloud Native Applications with Kubernetes - End-to-End - University...

That app you love
Article

That app you love, part 6: Container, meet cloud

N. Harrison Ripps

Welcome to the sixth 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 . We’ve been on...

OpenShift Operator
Article

Four creative ways to create an OpenShift/Kubernetes dev environment

Rafael Benevides

Developers have a lot of choices when deciding how to start using OpenShift and Kubernetes locally --- without going through a native OS installation. We all need to have a development environment as close as possible to production (to prevent defects caused by environmental differences), but ideally we need to do this without spending a lot of time to setup and a lot of computational resources (cpu, memory and disk space). This post will present four alternatives to create a...

That app you love
Article

That app you love, part 5: Upping our (cloud) game

N. Harrison Ripps

Welcome to the fifth 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 . The previous posts of this series have focused on how to package ZNC in a way that exposes run-time configurability into the immutable world of containers. But forget about...

Using API keys securely in your OpenShift microservices and applications
Article

Using API keys securely in your OpenShift microservices and applications

Shane Boulden

In the microservices landscape, the API provides an essential form of communication between components. To allow secure communication between microservices components, as well as third-party applications, it's important to be able to consume API keys and other sensitive data in a manner that doesn't place the data at risk. Secret objects are specifically designed to hold sensitive information, and OpenShift makes exposing this information to the applications that need it easy. In this post, I'll demonstrate securely consuming API keys...

That app you love
Article

That app you love, part 4: Designing a config-and-run container

N. Harrison Ripps

Welcome to the fourth 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 . In Part 3 , we looked at how to customize the configuration of ZNC using an expect script and environment variables. But forget ZNC, because we’re really talking about...

Article Thumbnail
Article

Messaging as a Service on OpenShift

Ulf Lilleengen

Inspired by a great blog post by Jakub Scholz on "Scalable AMQP infrastructure using Kubernetes and Apache Qpid", I wanted to write a post about the ongoing effort to build Messaging-as-a-Service at Red Hat. Messaging components such as the Apache Qpid Dispatch Router , ActiveMQ Artemis and Qpidd scales well individually, but scaling a large deployment can become unwieldy. As Scholtz demonstrates, there are a lot of manual setup when creating such a cluster using kubernetes directly. The EnMasse project...

Article Thumbnail
Article

Containerizing an application for the cloud: A journey of settings, state, and security.

Lincoln Baxter III

Red Hat Developers and author N. Harrison Ripps have just released the first pieces of a ten-part series ("That app you love") in which Harrison describes the process of deploying an application using containers into a clustered environment on the cloud. Using the ZRC IRC client as a sample application, Harrison demonstrates each step in the process of containerizing software, dealing with issues like statelessness, security, and robustness that are typically architectural hurdles for most development teams moving to a...

That app you love
Article

That app you love, part 2: Immutable but flexible - What settings matter?

N. Harrison Ripps

Welcome to the second 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 . In our last post, we met my ZNC container, good ol’ znc-cluster-app - but don’t fret about ZNC because we’re really talking about That App You Love - whatever...

That app you love
Article

That app you love, part 1: Making a connection

N. Harrison Ripps

I am going to show you how I took an everyday, off-the-shelf application and turned it into a cluster-ready juggernaut of persistent usefulness. Along the way, I’ll share the pitfalls that I hit in getting this all working so that you can chuckle at my misfortune and avoid having to make the same mistakes yourself. This series will run every Tuesday and Thursday until we've accomplished our goals, so stay tuned in, subscribe, and thanks for reading! Meet “That App...

Article Thumbnail
Article

Development workflows with Fuse Integration Services (FIS)

Frédéric Giloux

Fuse Integration Services (FIS) is a great product bringing routing (Apache Camel), SOAP and Rest services (CXF) and messaging (JMS) to the modern age of containers and PaaS and all its goodies: encapsulation, immutability, scalability and self healing. OpenShift provides the PaaS infrastructure to FIS. A developer may implement a module in isolation on his own machine, but it often makes sense, especially when we talk about integration services, to have the code being validated in a complex integrated environment...

Article Thumbnail
Article

A microservices example: writing a simple to-do application

Saurabh Badhwar

Microservices are becoming a new trend, thanks to the modularity and granularity they provide on top of advantages like releasing applications in a continuous manner. There are various platforms and projects that are rising which aims to make writing and managing microservices easy. Keeping that in mind, I thought, why not make a demo application that can give an example of how microservices are built and how they interact. In this article, I will be building a small application using...

Jenkins Pipeline Builds and A/B Deployments in CDK
Article

Using Jenkins in the Red Hat CI/CD Ecosystem

James Falkner

The last 4-5 years have seen the debut of many new software products specifically targeting both infrastructure services and IT automation. The consumerization of IT has caused its architects to take a fresh look at their existing, often times monolithic apps and IT infrastructure and asking: Can we do better? How do I keep IT relevant? How do I keep track of all these VMs and data? How do I scale out my IT environment without a huge budget increase...

Article Thumbnail
Article

High Availability Servlets with EAP 7 and OpenShift

Mark Eastman

Prior to working at Red Hat, I worked for a software company, building financial software for large institutions. From my experiences I knew that some customers required, or demanded, a very aggressive Service Level Agreement (SLA). If we consider an SLA of 99.999% (generally referred to as “five nines”) then this would allow for a six-second unavailability or downtime over a full week, anything more and penalties would have to be paid. To provide this level of uptime, it is...

OpenShift for Developers_Tile card
E-book

OpenShift 3 for Developers: A Guide for Impatient Beginners

Grant Shipley +1

Keen to build web applications for the cloud? Get a quick hands-on introduction to OpenShift®, the open source Platform as a Service (PaaS) offering from Red Hat®. With this practical guide, you’ll learn the steps necessary to build, deploy, and host a complete real-world application on OpenShift without having to slog through long, detailed explanations of the technologies involved.

Article Thumbnail
Article

Using Red Hat JBoss Developer Studio to Debug Java Applications in the Red Hat Container Development Kit

Andrew Block

In an earlier article, Debugging Java Applications using the Red Hat Container Development Kit , it was discussed how developer productivity could be improved through the use of remotely debugging containerized Java applications running in OpenShift and the Red Hat Container Development Kit. Not only does remote debugging provide real time insight into the operation and performance of an application, but reduces the cycle time a developer may face as they are working through a solution. Included in the discussion...

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