Workshop: How to design a Kubernetes/Openshift Operator

  • Define the product
  • Identify the goals of the Operator
  • Implementation using operator-sdk

Define the product: (Kubernetes Lingo: Templates)

My goal for this step is to make your product deployable in Kubernetes/Openshift.

  • Templates
  • Spec: Configurable parameters
  • Container Packaging

Identify the goals of the Operator

Operations/Objects:

  • Create: Instance when (A user creates the Custom Resource type of demo product) & where required (which namespace you want to deploy it)
  • Watch: for events (Modification in the resource: route, spec/status, service, etc)
  • Reconcile: Modification/Recreation (Action you want to take when the event happens)

Implementation

Katacoda Scenario: This scenario will give you a hands-on experience of the process we just discussed above. (Sign-up is required)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store