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

Open Data Hub 0.6.1: Bug fix release to smooth out redesign regressions

Open Data Hub 0.6.1: Bug fix release to smooth out redesign regressions

June 2, 2020

It is just a few short weeks since we released Open Data Hub (ODH) 0.6.0, bringing many changes to the underlying architecture and some new features. We found a few issues in this new version with the Kubeflow Operator and a few regressions that came in with the new JupyterHub updates. To make sure your […]

Deploy and bind enterprise-grade microservices with Kubernetes Operators

Deploy and bind enterprise-grade microservices with Kubernetes Operators

May 18, 2020

Deploying enterprise-grade runtime components into Kubernetes can be daunting. You might wonder: How do I fetch a certificate for my app? What’s the syntax for autoscaling resources with the Horizontal Pod Autoscaler? How do I link my container with a database and with a Kafka cluster? Are my metrics going to Prometheus? Also, how do […]

Top 10 must-know Kubernetes design patterns

Top 10 must-know Kubernetes design patterns

May 11, 2020

Here are the must-know top 10 design patterns for beginners synthesized from the Kubernetes Patterns book. Getting familiar with these patterns will help you understand foundational Kubernetes concepts, which in turn will help you in discussions and when designing Kubernetes-based applications. There are many important concepts in Kubernetes, but these are the most important ones […]

Open Data Hub 0.6 brings component updates and Kubeflow architecture

Open Data Hub 0.6 brings component updates and Kubeflow architecture

May 7, 2020

Open Data Hub (ODH) is a blueprint for building an AI-as-a-service platform on Red Hat’s Kubernetes-based OpenShift 4.x. Version 0.6 of Open Data Hub comes with significant changes to the overall architecture as well as component updates and additions. In this article, we explore these changes. From Ansible Operator to Kustomize If you follow the […]

Application deployment improvements in OpenShift 4.4

Application deployment improvements in OpenShift 4.4

April 30, 2020

The most recent release of Red Hat OpenShift Container Platform provides enhancements and features that make application development even easier. These enhancements include: An enhanced Developer Catalog. Operator-backed services in the Developer Catalog. The GA release of Helm 3. An add context option in the Topology view. Keep reading to learn more about each of […]

What's new in the OpenShift 4.4 web console developer experience

What's new in the OpenShift 4.4 web console developer experience

April 30, 2020

The developer experience in the Red Hat OpenShift Container Platform web console keeps getting better. You’ve probably already heard about our streamlined user flows to build and deploy applications, plus the ability to understand the structure of your application via the Topology view. Each new release of Red Hat OpenShift includes usability improvements and new […]

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