In this session, we are going to describe the relative differences between Helm and the Operator SDK. We will then demonstrate how you can easily leverage both to get the best of both worlds and better automate your workloads on top of Kubernetes and OpenShift.
2. Who am I?
2
● Product Manager for Operator Framework,
OperatorHub.io and Quay
● With Operators since 2019
● Red Hatter since 2014
● Father since 7 months
● With Linux since Fedora Core 2
● Geek since forever
?
10. This works well for...
10
● Stateless Applications
● Workloads with no Day-2 Operations
● Installation and Updates can entirely be
done via onboard Kubernetes features
● Update procedures don’t need to consider
the internal state of the app
● Dev Environments
● Clusters where you are cluster-admin
This does not address...
● Stateful Applications
● Workloads with Day-2 Operations (backup,
restore, failover, failback)
● Additional orchestration required post
install or during upgrades or
reconfiguration
● Long-lived workloads in multi-tenant
environments
● Clusters where you are not cluster-admin
11. What an Operator is
11
Operators are operational
procedures and best practices
codified in software
Install and manage apps like a cloud-service but
running in your cluster
12. How Operators work
12
Embed ops
knowledge from
the experts
Operator v1.1.2 Deployments
StatefulSets
Autoscalers
Jobs
ConfigMaps
13. How Operators work
13
Embed ops
knowledge from
the experts
Operator v1.1.2 Deployments
StatefulSets
Autoscalers
Jobs
ConfigMaps
Installation, Update, Backup, Restore, Reconfiguration,
Metrics-based scaling, Auto-Healing, Failover, Failback,
Orchestrated Upgrades...
15. ● Static deployments
● One-off installs
● Application runtimes, Frameworks
This works well for...
15
This is overkill for...
● Stateful Applications
● Workloads with Day-2 Operations (backup,
restore, failover, failback)
● Additional orchestration post install or
during upgrades or reconfiguration
● Long-lived workloads in multi-tenant
environments
● Clusters where you are not cluster-admin
19. Summary
19
● Helm is excellent at templating and generating Kubernetes resources
● Operators are excellent at keeping things in sync and provide a native familiar experience
● Helm Operators allow to get the best of both worlds
● Helm Operators can be created without writing a single line of code using the Operator SDK
● Find out more at: https://sdk.operatorframework.io/