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

Japan Oracle Developer Day 2021 Enterprise Java...

Japan Oracle Developer Day 2021 Enterprise Java at Oracle

oracle4engineer

December 17, 2021
Tweet

More Decks by oracle4engineer

Other Decks in Technology

Transcript

  1. 野中 恭大郎 Cloud Engineering Solutions Architect ERPパッケージベンダーに新卒で入社後、 アプリケーション開発業務に従事。 新機能開発、パフォーマンス改善、フロントエンド 基盤のリプレイスなど幅広く担当。

    日本オラクルに入社後は、アプリ開発者としての 経験を活かし、サーバレスやKubernetesなどの Cloud Native領域を担当。 Oracle Code Night : Oracle Cloud Hangout Cafe メンバー Copyright © 2021, Oracle and/or its affiliates. All rights reserved. 2
  2. Agenda 1. Oracleが提供する Enterprise Java 最新情報 2. WebLogic on Kubernetes

    3. Demo Copyright © 2021, Oracle and/or its affiliates. All rights reserved. 4
  3. • / / • • No. 1 WebLogic Server •

    KVS • • / / Coherence • Java Microservices Flamework • Microservices Java • Helidon MP / Helidon SE 2 Helidon Copyright © 2021, Oracle and/or its affiliates. All rights reserved. 6
  4. WebLogic Kubernetes Toolkit Copyright © 2021, Oracle and/or its affiliates.

    All rights reserved. 7 Oracle WebLogic Kubernetes Operator Kubernetes WebLogic / / Oracle WebLogic Deploy Tooling VM Kubernetes Oracle WebLogic Image Tool WebLogic Docker / / WebLogic Server Remote Console WebLogic Toolkit UI WebLogic Toolkit UI Oracle WebLogic Monitoring Exporter WebLogic Prometheus Oracle WebLogic Logging Exporter WebLogic Elastic Stack
  5. • Kubernetes Coherence • • OSS Coherence • Coherence •

    Coherence Topics • • Open Tracing • GraalVM / • Coherence Community Edition • Copyright © 2021, Oracle and/or its affiliates. All rights reserved. 8 Kubernetes Cluster REST Management Coherence Cluster POD 1 POD 5 Coh POD 2 Coh POD 3 Coh POD 4 Coh Coh Operator Kubernetes
  6. 2.0.0 • MicroProfile Reactive Streams(MP) • • GraalVM native images

    for Helidon MP • MP Config 2.0 – Config Profile • • GraphQL (graphql.org) (MP) • Scheduling (SE & MP) • MicroProfile Long Running Actions (LRA) • • Helidon https://oracle-japan-oss- docs.github.io/helidon/docs/v2/ Copyright © 2021, Oracle and/or its affiliates. All rights reserved. 9
  7. / / / Copyright © 2021, Oracle and/or its affiliates.

    All rights reserved. 11 #1 #2 #3 #4 #5 #6 (Web) WebLogic Scripting Tool WebLogic WebLogic WebLogic Node Manager Node Manager Node Manager Node Manager Node Manager Node Manager ※ / WebLogic #1 WebLogic #2
  8. WebLogic Kubernetes Toolkit DIY Toolkit Kubernetes • • • Toolkit

    UI Toolkit UI • Toolkit • Toolkit • WebLogic Server for OKE Kubernetes Toolkit Jenkins • • • Kubernetes Copyright © 2021, Oracle and/or its affiliates. All rights reserved. 12
  9. WebLogic OSS Copyright © 2021, Oracle and/or its affiliates. All

    rights reserved. 13 Oracle WebLogic Kubernetes Operator Kubernetes WebLogic / / Oracle WebLogic Deploy Tooling VM Kubernetes Oracle WebLogic Image Tool WebLogic Docker / / WebLogic Server Remote Console WebLogic Toolkit UI WebLogic Toolkit UI Oracle WebLogic Monitoring Exporter WebLogic Prometheus Oracle WebLogic Logging Exporter WebLogic Elastic Stack
  10. Toolkit Copyright © 2021, Oracle and/or its affiliates. All rights

    reserved. 14 On-Prem/Cloud WebLogic Server Managed Server pod WLS Admin Server Sidecar WLS Managed Server Jar Oracle WebLogic Deploy Tooling Oracle WebLogic Image Tool Oracle WebLogic Monitoring Exporter Oracle WebLogic Logging Exporter Oracle WebLogic Kubernetes Operator WebLogic Server Remote Console
  11. Kubernetes WebLogic Server • WebLogic Kubernetes • • • •

    WebLogic Copyright © 2021, Oracle and/or its affiliates. All rights reserved. 15 WebLogic Operator Kubernetes API domain.yaml • Domain: A • Managed x 2 • Data Source: …
  12. WebLogic Kubernetes Copyright © 2020, Oracle and/or its affiliates. All

    rights reserved. | 16 WebLogic • WebLogic Docker Kubernetes WebLogic • WebLogic • CI/CD Kubernetes • Kubernetes WebLogic • WLS AP WLS AP WLS Admin Operator Framework WebLogic Operator • Domain: A • Managed x 2 • Data Source: … apply WLS AP WLS AP WLS Admin Operator Framework WebLogic Operator WLS AP • Domain: A • Managed x 3 • Data Source: … apply
  13. Domain in PV (Persistent Volume) • WebLogic • WebLogic PV

    • WebLogic WLST ConfigMap • Kubernetes WebLogic IaC Copyright © 2021, Oracle and/or its affiliates. All rights reserved. WLS WLS Operator Framework WLS Operator WLS Admin WLS 1. build 2. push 3. apply WLS domain.yaml create-domain-inputs.yaml AP AP 4. deploy PV /WLST 17 WLS
  14. Domain in Image • WebLogic /WebLogic / • Kubernetes •

    WebLogic ConfigMap • CI/CD Copyright © 2021, Oracle and/or its affiliates. All rights reserved. WLS AP WLS AP WLS AP Operator Framework WLS Operator WLS Admin WLS AP 1. build 2. push 3. apply WLS AP domain.yaml create-domain-inputs.yaml 18
  15. Model In Image • WebLogic • WebLogic (WDT ) •

    • • • • • • CI/CD • Auxiliary Image Copyright © 2021, Oracle and/or its affiliates. All rights reserved. WLS AP WLS AP Operator Framework WLS Operator WLS Admin WLS AP 1. build 2. push 3. apply WLS AP domain.yaml wdt-model.yaml 19 WLS AP ※ WLS/WDT /
  16. Model in Image • WebLogic Java WebLogic Image • WDT

    Auxiliary Image Pod • WebLogic • 1 WebLogic Image Copyright © 2021, Oracle and/or its affiliates. All rights reserved. 20 Auxiliary Image WDT OS WebLogic Image JDK OL 7-slim
  17. JavaEE • WebLogic / WebLogic Kubernetes Toolkit • Jenkins •

    Oracle Container Engine for Kubernetes(OKE) Copyright © 2021, Oracle and/or its affiliates. All rights reserved. 21 WebLogic Server for OKE • WebLogic Image Tool • WebLogic Deploy Tooling CI/CD • CI/CD • Jenkins • OKE Kubernetes • WebLogic Operator
  18. Java EE CI/CD Kubernetes WebLogic Server Copyright © 2021, Oracle

    and/or its affiliates. All rights reserved. 22 Oracle Container Engine for Kubernetes (Kubernetes Cluster) WebLogic Kubernetes Operator Load Balancer File Storage PV Claim WebLogic Domain #1 Ingress WebLogic Domain #1 Ingress AD or FD Worker Node Master Node AD or FD Worker Node Master Node AD or FD Worker Node Master Node WebLogic Domain #1 Ingress Life cycle Subnet Subnet Virtual Cloud Network Java EE WebLogic Server IaC Java EE CI/CD Kubernetes WebLogic Operator WebLogic WebLogic CI/CD Kubernetes WebLogic Operator • Oracle WebLogic Server Enterprise Edition for OKE: ¥30.972 [OCPU/Hour] • Oracle WebLogic Suite for OKE: ¥86.724 [OCPU/Hour] ※ Compute Storage IaaS ※BYOL IaaS
  19. Managed Server Kubernetes WebLogic Copyright © 2021, Oracle and/or its

    affiliates. All rights reserved. 24 WLS AP WLS AP WLS Admin Operator Framework WebLogic Operator WLS AP WLS AP WLS Admin Operator Framework WebLogic Operator WLS AP replicas: 2 ->3 $ kubectl edit domain [domain_name] –n [namespace]