kubecon24/content/day4/03_operator.md
2024-03-22 15:23:38 +01:00

56 lines
1.5 KiB
Markdown

---
title: What's New in Operator Framework?
weight: 3
---
By the nice opertor framework guys at IBM and RedHat.
I'll skip the baseline introduction of what an operator is.
## Operator DSK
> Build the operator
* Kubebuilder with v4 Plugines -> Supports the latest Kubernetes
* Java Operator SDK is not a part of Operator SDK and they released 5.0.0
* Now with server side apply in the background
* Better status updates and finalizer handling
* Dependent ressource handling (alongside optional dependent ressources)
## Operator Liefecycle Manager
> Manage the operator -> A operator for installing operators
### OLM v1 APIs
* New API Set -> The old CRDs were overwhelming
* More GitOps friendly with per-tenant support
* Prediscribes update paths (maybe upgrade)
* Suport for operator bundels as k8s manifests/helmchart
### OLM v1 Components
* Cluster Extension (User-Facing API)
* Defines the app you want to install
* Resolvs requirements through catalogd/depply
* Catalogd (Catalog Server/Operator)
* Depply (Dependency/Contraint solver)
* Applier (Rukoak/kapp compatible)
```mermaid
flowchart TD
uapi(User facing api)-->|Can I find this operator|catalaogd
catalogd-->|Check if all dependencies are checked|depply
depply-->|Please install|kapp
```
```mermaid
flowchart LR
oa(operator author)-->ba(Bundle and att to catalog)
ba-->catalogd(Catalogd Handle unpackling)
user-->ufa(User facing api)
ufa-->|Resolve package|catalogd
ufa-->|Create app on cluster|appcr(App CR / kapps)
```