Red Hat OpenShift Container Platform

First steps in integration of Windows and Linux Containers in Red Hat OpenShift
Article

First steps in integration of Windows and Linux Containers in OpenShift

Glenn West

I've started an interesting exploration on the integration of Microsoft Windows Containers and Linux Containers in an OCP Environment. This allows a true bi-modal IT technical implementation by combining the strength of both platforms into one cluster. So, I start this off, with the deployment of an OpenShift Cluster on Azure, using the 3.6 reference architecture. After this is run, I used the Azure Portal to add a Windows Server 2016 Node to the cluster. So if you look closely...

Remote debug your ASP
Article

Remote debug your ASP.NET Core container on OpenShift with Visual Studio Code

Takayoshi Tanaka

Visual Studio provides a graphical remote debugging ASP.NET Core app with Docker Tools for Windows. Since Visual Studio supports SSH protocol, you can remote debug ASP.NET Core process running on the Linux host. It used to be if you install and setup SSH server on docker container, you can remote debug with Visual Studio. However, it's strongly not recommended due to security reasons. Now I'll explain to you how to remote debug your ASP.NET Core on OpenShift with Visual Studio...

A MicroProfile-based microservice on OpenShift Container Platform
Article

A MicroProfile-based microservice on OpenShift Container Platform - Part 3

Cesar Saavedra

Creating, associating, and using a JBoss Data Grid (with persistence) with a MicroProfile-based microservice In this blog post, I will cover how to create, populate, and associate a JBoss Data Grid (with persistence using a Postgresql database) to your MicroProfile-based microservice. I will also cover how to modify the microservice so that it makes use of JBoss Data Grid (JDG). This is the continuation of the “A MicroProfile-based microservice on OpenShift Container Platform - Part 2; Creating, associating and using...

demo of features
Article

YAML Language Server and the Extension for VS Code

Gorkem Ercan

Over at the Openshift and Che land, we deal with YAML files for deploying our applications regularly. Unfortunately, the tooling to support editing of these files was not up to our expectations. As we are also tooling developers, we have decided to take matters at hand and implement a language server for kubernetes syntax. An effort which mostly Josh Pinkney and I have worked on for the last few months. As we have progressed with our implementation, we have realized...

The socket interface
Article

What is a Socket?

Roshan V Sharma

This blog is for those who does not know about socket and it's types and in this there is only for basic ideas about the socket and its types

Red Hat OpenShift Container Platform
Article

How to quick install Red Hat Mobile on Openshift

Brian Dooley

Introduction As you may already know, the Red Hat Mobile Application Platform (RHMAP) is available as a self-administered, on-premise, installation as well as a hosted platform. This offers more opportunities for customers to benefit from increased security, flexibility and control over their platform. Note: This installation is strictly for sandbox demonstration purposes. In the interests of simplicity, it will be running on infrastructure that will not be secure so no confidential data should be stored in this instance. Preparation Before...

Container Images for OpenShift
Article

Container Images for OpenShift - Part 1: Objectives

Frédéric Giloux

Container Images for OpenShift - Part 1: This is a transcript of a session I gave at EMEA Red Hat Tech Exchange 2017, a gathering of all Red Hat solution architects and consultants across EMEA. It is

Article Thumbnail
Article

Running a NuGet server on OpenShift

Takayoshi Tanaka

When you build your .NET Core project, NuGet packages are retrieved from nuget.org by default. Sometimes, however, you might want to use a local NuGet repository. For example, you may want to: use private NuGet packages, but you don't want anyone except your associates to see them. cache a NuGet repository at a server near your build servers leave your build server disconnected from the Internet. I'll explain how to set up a private NuGet server on OpenShift and how...

Article Thumbnail
Article

JBoss A-MQ on OpenShift Cheat Sheet

Abdellatif Bouchama

We hear about Microservices a lot nowadays. Its implementation requires us to deal with new challenges. A key question that comes with using microservices is how to handle interactions in an asynchronous way. The answer to that is messaging. Among other things, messaging features the following: Loose coupling since it decouples client from services. Improved availability since the message broker buffers messages until the consumer is able to process them. Supports a variety of communication patterns including request/reply, notifications, request/async...

RedHat logo
Article

Entropy in RHEL based cloud instances

Eduardo Minguez

According to Wikipedia, entropy is the randomness collected by an operating system or application for use in cryptography or other uses that require random data. Entropy is often overlooked, misconfigured or forgotten and it can originate in sporadic errors whether it can be timeouts, refused connections, etc. Such errors are difficult to debug as the errors happen only when there is not enough entropy available. This article tries to explain briefly how to check if this can be a problem...

Article Thumbnail
Article

Configuring Spring Boot on Kubernetes with Secrets

Kamesh Sampath

In the Part-I of the series, we saw how we used ConfigMaps in configuring spring boot application Kubernetes. ConfigMaps are OK when we use simple configuration data that do not contain sensitive information. When using sensitive data like API Keys, passwords etc. Secrets are the preferred and recommended way. In this second part of the series, we will explore configuring spring boot on kubernetes with Secrets. The sources for this blog post are available in my github repo. Setup You...

Article Thumbnail
Article

Configuring Spring Boot on Kubernetes with ConfigMap

Kamesh Sampath

ConfigMaps is the Kubernetes counterpart of the Spring Boot externalized configuration. ConfigMaps is a simple key/value store, which can store simple values to files. In this post "Configuring Spring Boot on Kubernetes with ConfigMap", we will see how to use ConfigMaps to externalize the application configuration. One of the ways configuring the spring boot application on kubernetes is to use ConfigMaps. ConfigMaps is a way to decouple the application specific artifacts from the container image, thereby enabling better portability and...

Article Thumbnail
Article

Configuring Spring Boot Application on Kubernetes

Kamesh Sampath

When the developers plan to deploy Spring Boot application on Kubernetes, the first question comes to a spring developer's mind is "Can I use Spring Config server?" Spring Config server is a de-facto way of doing centralized configuration of a distributed application. Yes, we can use Spring Config server, but let’s think of some constraints that Spring Config server can have in a typical Enterprise deployment: No access to the internet from production. This means I can’t use the default...

Red Hat Openshift reference architecture SSO
Article

Openshift 3.6 Reference Architecture Now Includes SSO

Glenn West

The Azure Openshift 3.6 reference architecture now automatically deploys and integrates SSO. The reference architecture, which is available in a scalable full high-availability configuration and a single vm for trials is part of openshift-ansible-contrib git repo. Red Hat Single Sign-On (RH-SSO) is based on Keycloak project and enables web applications by providing Web single sign-on (SSO) capabilities based on popular standards such as SAML 2.0, OpenID Connect and OAuth 2.0. This makes it easy to configure one or more authentication...

Red Hat Wimplicit
Article

Manage test dependencies with Go

Konrad Kleine

Introduction I'm working on the upstream fabric8-wit project of openshift.io. In this Go project, we embrace testing as best as we can in order to deliver a stable component. Testing acts as our safety net to allow for fast-paced feature development. This blog post is about our recent change in our testing strategy. It is not as boring as it might sound at first. ;-) Problem description We've changed out the data-model quite a lot and it took us a...

DevOps with OpenShift_tile card
E-book

Devops with OpenShift: Cloud Deployments Made Easy

Stefano Picozzi +2

For many organizations, a big part of DevOps’ appeal is software automation using infrastructure-as-code techniques. This book presents developers, architects, and infra-ops engineers with a more practical option. You’ll learn how a container-centric approach from OpenShift® can help your team deliver quality software through a self-service view of IT infrastructure.

Article Thumbnail
Article

Snag an IoT kit at CodeStarter at RHTE APAC

Ishu Verma

Are you attending RHTE (Red Hat Tech Exchange) APAC, interested in IoT and like to tinker with real hardware? Come join us for an evening of fun at CodeStarter IoT hackathon on Thursday, Sep 7th. The use case for this CodeStarter emulates Industry 4.0 smart factory scenario. This end-to-end IoT solution will allow the participants to interact with: Raspberry Pi connected to sensors/actuators to emulate the factory environment. Java/OSGi based middleware ( Eclipse Kura) for simplified access to underlying device...

A MicroProfile-based microservice on OpenShift Container Platform
Article

A MicroProfile-based microservice on OpenShift Container Platform - Part 2

Cesar Saavedra

Creating, associating, and using a database with a MicroProfile-based microservice In this blog post, I will cover how to create, populate, and associate a database to your MicroProfile-based microservice. I will also cover how to modify your microservice so that it makes use of the database. This is the continuation of the " A MicroProfile-based microservice on OpenShift Container Platform - Part 1; Creating a simple MicroProfile-based microservice and deploying it to OpenShift Container Platform" blog post and it assumes...

A MicroProfile-based microservice on OpenShift Container Platform
Article

A MicroProfile-based microservice on OpenShift Container Platform - Part 1

Cesar Saavedra

Creating a simple MicroProfile-based microservice and deploying it to OpenShift Container Platform Eclipse MicroProfile is an open source specification for Enterprise Java microservices. It is a community of individuals, vendors, and organizations collaborating and working on innovative microservices patterns for Enterprise Java within the context of modern development, architectures, and underlying infrastructures, e.g. health checks, fault tolerance, metrics, and security propagation within a cloud environment. Its first release was based on 3 Java EE JSRs/libraries/APIs, but this does not necessarily...

Using API keys securely in your OpenShift microservices and applications
Article

Gluster for OpenShift - Part 1: Container-Ready Storage

davis phillips

OpenShift Container Platform (OCP) offers many different types of persistent storage. Persistent storage ensures that data should be insistent between builds and container migrations. When choosing a persistent storage backend to ensure that the backend supports the scaling, speed, dynamic provisioning, RWX/RWO support and redundancy that the project requires. Container-Ready Storage (CRS), or native Gluster for OCP, is defined by the concept of persistent volumes, which are OCP created objects that allow storage to be defined and then used by...

Red Hat OpenShift logo
Article

Openshift on a Nuc shell

Marcelo "Ataxexe" Guimarães

A lot of employees work on customers' sites and need to engage people every single day. Mobile Internet isn't something broadly reliable, which makes demonstrations of cloud products and complex solutions undoable. After thinking about it for some time, I finally got something good, which I'd like to share with you in this post. The Requirements As stated, mobile connection isn't something enjoyable for people always on move. This situation requires an entirely offline solution to get the job done...