Upgrade to Pro — share decks privately, control downloads, hide ads and more …

K8s Operatoren auf der JVM - Warum nicht?

K8s Operatoren auf der JVM - Warum nicht?

Alex Krause

January 16, 2019
Tweet

More Decks by Alex Krause

Other Decks in Programming

Transcript

  1. „Jeden Tag um 06:45 Uhr berechnet der Service aus dem

    aktuellen Datenbestand die Menge der reservierten Kontingente. Der resultierende Report soll persistiert und per eMail an den Fachbereich gesendet werden. “ @alex0ptr
  2. 45 6 * * * genera eRepor .sh I a

    ce P eSQL a ce @alex0ptr
  3. @alex0ptr A a ab VPC S b A a ab

    S b S b A Sca G S b I a c I a c DB a c DB a c a db A ca L ad Ba a ce NAT a a NAT a a A ca L ad Ba a ce
  4. @alex0ptr // define the job and tie it to our

    MyJob class JobDetail job = newJob(MyJob.class) .withIdentity("job1", "group1") .build(); // Trigger the job to run now, and then repeat every 40 seconds Trigger trigger = newTrigger() .withIdentity("trigger1", "group1") .startNow() .withSchedule(simpleSchedule() .withIntervalInSeconds(40) .repeatForever()) .build(); // Tell quartz to schedule the job using our trigger scheduler.scheduleJob(job, trigger);
  5. krondor ‣ Drop-In Lösung ‣ HTTP Integration ‣ Kubernetes (first)

    ‣ Eingebautes Monitoring ‣ At-least-once ‣ Retries mit Back-Off @alex0ptr
  6. CRD Pod Pod Pod Pod krondor # krongroup reservations -

    - - name: reservations selector: matchLabels: app: http-container jobs: - name: release-unpaid-seats endpoint: [...] schedule: PT1M - name: mail-stakeholders endpoint: [...] [...] 1. reads 2. discover reservations 3. http call @alex0ptr
  7. QAware GmbH Mainz Rheinstraße 4 D 55116 Mainz Tel.: +49

    (0) 6131 215 69 – 0 Fax: +49 (0) 6131 215 69 – 68 xing.com/companies/qawaregmbh linkedin.com/company/qaware-gmbh slideshare.net/qaware twitter.com/qaware github.com/qaware youtube.com/qawaregmbh
  8. QAware GmbH München Aschauer Straße 32 81549 München Tel.: +49

    (0) 89 23 23 15 – 0 Fax: +49 (0) 89 23 23 15 – 129 xing.com/companies/qawaregmbh linkedin.com/company/qaware-gmbh slideshare.net/qaware twitter.com/qaware github.com/qaware youtube.com/qawaregmbh