Deep Dive: Building a Kubernetes Operator SDK for Java Developers

Operators in a Nutshell

apiVersion: "sample.javaoperatorsdk/v1"
kind: WebPage
metadata:
name: hello-world-page
spec:
html: |
<html>
<head>
<title>Hello Operator World</title>
</head>
<body>
Hellooooo Operators!!
</body>
</html>

Building an SDK

Event Scheduling

1. Concurrently processing events for different resources.

2. Serial event processing for a single custom resource.

3. Retrying failed controller executions

The ‘Generation’ Metadata Attribute

Consistency

‘At Least Once’ and Idempotency

Deleting Resources and Finalizers

The Lost Update Problem and Optimistic Locking

Run Single Instance

What About Downtime?

Conclusion

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Yesteryear of Programming — Part I

Python vs C++

Pros of Using Unity 3D:

Apache ShardingSphere 5.0.0 New Features: Middleware to Ecosystem Evolution

Laravel 8 HTTP cURL DELETE Request Tutorial

Serverless Compute to Measure End-User Experience with AWS Lambda

Working with MySQL Right Join in Laravel 8

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
Attila Mészáros

Attila Mészáros

More from Medium

Apache Pulsar for Modern Messaging

Handle Count Structure of Different Elasticsearch Versions #

Kafka Multi Region Resiliency Using Mirror Maker 2

KAFKA SSL WITH ZOOKEEPER Quorum