Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

OSGi for the data centre - Connecting OSGi to Kubernetes - Frank Lyaruu

366 Aufrufe

Veröffentlicht am

OSGi Community Event 2018 Presentation by Frank Lyaruu

Abstract: OSGi offers an excellent service discovery mechanism, it is limited to services inside the JVM. That limits us in two ways: It limits us to Java services, and it limits us to one single machine, and neither are acceptable in this day and age. Can we connect our OSGi runtime to a cluster orchestration manager like Kubernetes so our runtime can interact with the cluster and allow us to respond to changes in the cluster as dynamically as we are used to in OSGi itself. I think we can.


I will show how to discover Kubernetes services (and their pods) in a cluster, and inject those as configuration objects into an OSGi runtime. That allows us to monitor the Kubernetes cluster and dynamically have our OSGi services respond to (Kubernetes) service changes.

In general I hope to nudge the OSGi community to be more focused on connecting to other technologies rather than trying to stay in the OSGi walled garden. A well engineered OSGi application is perfectly suited to the dynamic nature of the cloud native world, but if we can't easily integrate with other services, well, nobody will care.

Veröffentlicht in: Technologie
  • Loggen Sie sich ein, um Kommentare anzuzeigen.

  • Gehören Sie zu den Ersten, denen das gefällt!

OSGi for the data centre - Connecting OSGi to Kubernetes - Frank Lyaruu

  1. 1. OSGi for the data centre: Connecting OSGi to Kubernetes Frank Lyaruu
  2. 2. Questions! Remarks! Ideas! philosophies? row expressions of emotions
  3. 3. J2EE -> OSGi
  4. 4. 'Mutable' vs. 'Immutable'
  5. 5. So can we conclude that building a system that can update while running is a waste of time?
  6. 6. Have I wasted years of my life?
  7. 7. Maybe not.
  8. 8. Demo!
  9. 9. Why not a loadbalancer?
  10. 10. a
  11. 11. Kubernetes API
  12. 12. Evaluate the Sessions -1 0 +1 Sign in and vote at eclipsecon.org