Demo for the Developing Kubernetes Operators with Java Operator SDK talk in Yazilimci Gunleri 2023
- Examine the application.properties
- Examine the target/kubernetes
- Examine the custom resources and their specs
- Examine the reconcilers
- Examine the services
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/
k get worlds
select * from world;
k delete games oasis
- Examine the
OperatorFunctionalTest
- Run the test