Skip to content

Demo for the Developing Kubernetes Operators with Java Operator SDK talk in JavaDay Istanbul 2023

License

Notifications You must be signed in to change notification settings

SystemCraftsman/java-operator-sdk-demo-javaday-ist-2023

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Operator SDK Demo for JavaDay Istanbul 2023

Demo for the Developing Kubernetes Operators with Java Operator SDK talk in JavaDay Istanbul 2023

Architecture

Architecture

Examining the Operator

  • Examine the application.properties
  • Examine the target/kubernetes
  • Examine the custom resources and their specs
  • Examine the reconcilers
  • Examine the services

Rough Steps

Make sure a K8S instance is running on your local.

Run the operator on your local.

Then run the following commands one by one:

k get pods -w
k apply -f examples/readyPlayerOne/oasis.yaml 
k get games
k get games oasis -o yaml
k exec -it oasis-postgres-956694c99-7gnhc -- bash
psql -U postgres
\c
\dt
k apply -f examples/readyPlayerOne/incipio.yaml
\dt
select * from world;
k apply -f examples/readyPlayerOne/
select * from world;
k delete games oasis

Running the test

  • Examine the OperatorFunctionalTest
  • Run the test

About

Demo for the Developing Kubernetes Operators with Java Operator SDK talk in JavaDay Istanbul 2023

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 80.5%
  • Makefile 17.0%
  • Dockerfile 2.5%