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

25 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

15 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

Open Virtual Network unidling

Open Virtual Network unidling

January 27, 2020

Open Virtual Network (OVN) is a project born as a sub-component of Open vSwitch (OVS), which is a performant, programmable, multi-platform virtual switch. OVN allows OVS users to natively create overlay networks by introducing virtual network abstractions such as virtual switches and routers. Moreover, OVN provides methods for setting up Access Control Lists (ACLs) and […]

How to maintain stable build and deployment performance on Red Hat OpenShift

How to maintain stable build and deployment performance on Red Hat OpenShift

January 23, 2020

In this article, I will introduce helpful, common tips for managing reliable builds and deployments on Red Hat OpenShift. If you have experienced a sudden performance degradation for builds and deployments on OpenShift, it might be helpful to troubleshoot your cluster. We will start by reviewing the whole process, from build to deployment, and then […]

Using Kubernetes ConfigMaps to define your Quarkus application's properties

Using Kubernetes ConfigMaps to define your Quarkus application's properties

January 23, 2020

So, you wrote your Quarkus application, and now you want to deploy it to a Kubernetes cluster. Good news: Deploying a Quarkus application to a Kubernetes cluster is easy. Before you do this, though, you need to straighten out your application’s properties. After all, your app probably has to connect with a database, call other […]

Operator pattern: REST API for Kubernetes and Red Hat OpenShift

Operator pattern: REST API for Kubernetes and Red Hat OpenShift

January 22, 2020

In this article, we will see a similar pattern when writing the REST API in any known framework vs. writing an Operator using Kubernetes’ client libraries. The idea behind this article is not to explain how to write a REST API, but instead to explain the internals of Kubernetes by working with an analogy. Local […]

Why not couple an Operator's logic to a specific Kubernetes platform?

Why not couple an Operator's logic to a specific Kubernetes platform?

January 22, 2020

You might find yourself in situations where you believe that a logic implementation should occur only if and when your Operator is running on a specific Kubernetes platform. So, you probably want to know how to get the cluster vendor from the operator. In this article, we will discuss why relying on the vendor is […]

How to use the VS Code Tekton Pipelines extension

How to use the VS Code Tekton Pipelines extension

January 14, 2020

The Tekton Project, which was announced in March after branching off from the Knative project, is creating excitement as a Kubernetes-native CI/CD pipeline tool. Tekton offers the flexibility and agnosticism that Kubernetes is celebrated for and is positioned to become the first open standardized engine for executing pipelines. Although the project is still in the […]

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