Packaging Applications and Services with Kubernetes Operators

Package applications and services for Kubernetes with the Operator framework. 

Image result for operator framework image

Operators give you a convenient way to package, deploy, manage and distribute applications for Kubernetes. The method allows you to package configuration so that users can deploy operators from a simple catalog without having to engage administrators. You can distribute operators beyond your organization using OperatorHub.io which is open to all contributions or the Red Hat OpenShift OperatorHub using Red Hat's certification process. 

Operator maturity model

Conceptually, an Operator takes human operational knowledge and encodes it into software that is more easily packaged and shared with consumers. How you approach and build your Operator is up to you. Advanced Operators are designed to handle upgrades seamlessly, react to failures automatically, and not take shortcuts, such as skipping a software backup process to save time.

A Kubernetes application is both deployed on Kubernetes and managed using the Kubernetes APIs and kubectl/oc tooling. You can think of Operators as the runtime that manages this type of application on Kubernetes.

Hands-on Operator labs

Course

Building Operators on OpenShift

9 lessons | 240 minutes

Learn about k8s API fundamentals, the etcd operator, using the Operator SDK with Go and Helm, review Ansible basics, and use Ansible to deploy Kubernetes modules.

Lesson

Operator SDK with Helm

30 minutes | Beginner

Create a CockroachDB Operator from an existing CockroachDB Helm chart, running securely without Tiller or manual invocation.

Lesson

Manage the etcd Operator

30 minutes | Beginner

Manage etcd clusters on Kubernetes and automate resize, failover, and upgrade tasks, including backup and restore actions.

Lesson

Install the Operator Lifecycle Manager

30 minutes | Beginner

Install the Operator Lifecycle Manager in an OpenShift environment, access the UI, create a subscription manifest, and approve an InstallPlan.

Lesson

Ansible Operator Overview

30 minutes | Beginner

Learn what the Ansible Operator is, how to map custom resource events, pass extra variables, leverage existing roles from Ansible Galaxy, then how to deploy and run the Operator in a local or remote OpenShift cluster.

Technology partners: Publish on OpenShift OperatorHub

operatorhub

Red Hat Partner Connect is a program for technology partners—ISVs, SIs, and VARs—that provides software, tools, and other technical resources for your development work, and marketing resources for your marketing & sales colleagues.

Certify your Operator with Red Hat Partner Connect

When you publish, you get:

security

Seal of approval

Your Operator functionality is verified by Red Hat.

Faster

Promotion

Listed in Red Hat OpenShift OperatorHub and Red Hat Ecosystem Catalog for all customers to see and download.

RHEL Release

Continuous certification

Using Red Hat Certification Build Service APIs means continuous security compliance—great for CI/CD.

RHEL Release

Support coverage

Full Red Hat support for the foundation of Operators and their containers when used with Red Hat OpenShift.

New articles about Operators

Monitoring .NET Core applications on Kubernetes

Monitoring .NET Core applications on Kubernetes

August 5, 2020

Prometheus is an open source monitoring solution that collects metrics from the system and its applications. As a developer, you can query these metrics and use them to create alerts, which you can use as a source for dashboards. One example would be using Prometheus metrics with Grafana. In this article, I show you how […]

Installing Red Hat Advanced Cluster Management (ACM) for Kubernetes

Installing Red Hat Advanced Cluster Management (ACM) for Kubernetes

July 23, 2020

Red Hat Advanced Cluster Management (ACM) for Kubernetes offers end-to-end visibility and control for managing your cluster and application lifecycle. Among other features, it ensures security and compliance for your entire Kubernetes domain across multiple data centers and public clouds. This article guides you through setting up your Red Hat OpenShift 4 environment for an […]

Open Data Hub and Kubeflow installation customization

Open Data Hub and Kubeflow installation customization

July 23, 2020

The main goal of Kubernetes is to reach the desired state: to deploy our pods, set up the network, and provide storage. This paradigm extends to Operators, which use custom resources to define the state. When the Operator picks up the custom resource, it will always try to get to the state defined by it. […]

SRE principles and (Kubernetes) Operator practice | DevNation Tech Talk

SRE principles and (Kubernetes) Operator practice | DevNation Tech Talk

July 16, 2020

Kubernetes Operators are a way to package, distribute, and manage applications through their entire lifecycle. A basic Operator for an application should manage its initial configuration, deployment, and upgrades over time. But Operators provide a canvas for all kinds of automation programming. We’ll discuss how SRE principles can guide the design of more advanced and proactive Operator features.

What’s new in the OpenShift 4.5 console developer experience

What’s new in the OpenShift 4.5 console developer experience

July 16, 2020

Each new release of Red Hat OpenShift includes usability improvements and features to help developers meet their goals. In OpenShift 4.5, we’ve improved navigation and added a mechanism for customizing navigation and accessing frequently used resources from the Developer perspective. We’ve also brought application health checks back, added capabilities for Helm, and improved Red Hat […]

Performance and usability enhancements in Red Hat CodeReady Workspaces 2.2

Performance and usability enhancements in Red Hat CodeReady Workspaces 2.2

July 10, 2020

Red Hat CodeReady Workspaces 2.2 is now available. For the improvements in this release, we focused on performance and configuration, plus updating CodeReady Workspaces 2.2 to use newer versions of the most popular runtimes and stacks. We also added the ability to allocate only the CPU that you need for IDE plugins, and we introduced […]

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

Interested in the Operator community?

OperatorHub is the community home for Kubernetes Operators. Find an existing Operator or list your own.

Browse Operators