Developing applications on Kubernetes

Kubernetes is the foundation of cloud software architectures like microservices and serverless. For developers, Kubernetes brings new processes for continuous integration and continuous deployment; helps you merge code; and automate deployment, operation and scaling across containers in any environment.

OpenShift4_Logo

The Kubernetes platform for big ideas

Developing applications with Kubernetes

Kubernetes is a system for managing container based applications.  Kubernetes empowers developers to utilize new architectures like microservices and serverless that require developers to think about application operations in a way they may not have before. These software architectures can blur the lines between traditional development and application operations, fortunately Kubernetes also automates many of the tedious components of operations including deployment, operation and scaling. For developers Kubernetes opens a world of possibilities in the cloud, and solves many problems, paving the way to focus on making software.  

image

 

Setup a Kubernetes development environment

Get your Kubernetes environment up and running on macOS, spin up an image in a container, and head to Coderland.

 

Start

 

OpenShift interactive tutorials

Lesson

Getting started with OpenShift

10 minutes | Beginner

Use the OpenShift Container Platform to build and deploy applications using both containers and orchestration.

Lesson

Logging in to an OpenShift cluster

10 minutes | Beginner

Access and login to an OpenShift cluster using the web console and command line, then add collaborators on your projects.

Lesson

Developing with odo

10 minutes | Beginner

Use OpenShift Do (odo), a CLI tool for developers, to manage application components on the OpenShift Container Platform.

Lesson

Deploying applications from images

15 minutes | Beginner

Deploy an application from an existing Docker-formatted image using the OpenShift web console and the command line using oc.

Lesson

Deploying applications from source

20 minutes | Beginner

Deploy an application from source code contained in a Git repository using a Source-to-Image (S2I) builder using Python.

Lesson

Connecting to a Database Using Port Forwarding

15 minutes | Beginner

Use the oc interactive shell to access a database, use port forwarding to temporarily expose a database outside of OpenShift, and access it from a database tool running on your local machine.

Lesson

Using the CLI to Manage Resource Objects

15 minutes | Beginner

Use the oc command line tool to determine what resource objects have been created related to your application, and how you can query or update them.

Lesson

OpenShift 4.2 playground

60 minutes | Beginner

Explore OpenShift 4.2 using this playground, which gives you access to an unstructured learning approach for experimentation.

Kubernetes development articles

Migrating applications to OpenShift, Part 1: Overview

Migrating applications to OpenShift, Part 1: Overview

April 7, 2020

I help teams migrate their applications onto Red Hat OpenShift, so I can’t help but notice patterns and considerations that arise regarding the migration process. Such operations have many domain-specific factors, but in regards to getting the applications up and running on OpenShift, there appear to be several common patterns that teams use to migrate […]

Set up Red Hat AMQ Streams custom certificates on OpenShift (update)

Set up Red Hat AMQ Streams custom certificates on OpenShift (update)

April 1, 2020

As anticipated in the “Additional notes” section of my previous article, starting from Red Hat AMQ Streams 1.4, it is finally possible to use your own custom certificate for encrypting communication between Kafka clients and brokers—without the requirement to provide a CA certificate. The auto-generated and -managed internal CAs will still remain, but only to […]

Low-code microservices orchestration with Syndesis

Low-code microservices orchestration with Syndesis

March 25, 2020

Recently I wrote about decoupling infrastructure code from microservices. I found that Apache Camel and Debezium provided the middleware I needed for that project, with minimal coding on my end. After my successful experiment, I wondered if it would be possible to orchestrate two or more similarly decoupled microservices into a new service–and could I […]

Kogito 0.8.0 features online editors and cloud-native business automation

Kogito 0.8.0 features online editors and cloud-native business automation

March 20, 2020

Kogito is a cloud-native business automation solution that offers a powerful, developer-friendly experience. Based on production-tested open source projects Drools and jBPM, Kogito has business rules and processes down to a science. Kogito also aligns with popular lightweight runtimes such as Quarkus and Spring Boot to support developers building business-driven applications. This article is an […]

Testing memory-based horizontal pod autoscaling on OpenShift

Testing memory-based horizontal pod autoscaling on OpenShift

March 19, 2020

Red Hat OpenShift offers horizontal pod autoscaling (HPA) primarily for CPUs, but it can also perform memory-based HPA, which is useful for applications that are more memory-intensive than CPU-intensive. In this article, I demonstrate how to use OpenShift’s memory-based horizontal pod autoscaling feature (tech preview) to autoscale your pods if the demands on memory increase. […]

How to customize Fedora CoreOS for dedicated workloads with OSTree

How to customize Fedora CoreOS for dedicated workloads with OSTree

March 12, 2020

In part one of this series, I introduced Fedora CoreOS (and Red Hat CoreOS) and explained why its immutable and atomic nature is important for running containers. I then walked you through getting Fedora CoreOS, creating an Ignition file, booting Fedora CoreOS, logging in, and running a test container. In this article, I will walk […]

Latest Comments

Waiting for Disqus…

Adventures Aboard the Kluster Kruise Ship

This story uses a series of metaphors to introduce the concept of Operators, explain how they aid in the automation of clusters, and provide a high-level overview of Operator Lifecycle Management in a way that anyone can understand. Readers will meet Kate the octopus, esteemed cruise ship director, who finds herself overwhelmed with the responsibilities associated with her position.

 

Get a copy of the book