SlideShare a Scribd company logo
©2018 VMware, Inc.
Run Stateful Apps
on Kubernetes with PKS
Highlight WebLogic Server
Simone Morellato, VMware, Inc.
2©2018 VMware, Inc.
Can I containerize and
run Traditional Stateful
Apps on PKS?
YE
S
Agenda
3©2018 VMware, Inc.
Kubernetes overview
PKS overview
Oracle WebLogic Server
Why and how to containerize
Demo
4©2018 VMware, Inc.
Who I am
Morellato Simone
@morellatosimone
Director Technical Product
Management @ VMware
5©2018 VMware, Inc.
Kubernetes and PKS Overview
6©2018 VMware, Inc.
What is Docker?
OS
App 1
Bins/Libs
App 2
Bins/Libs
App 3
Bins/Libs
Container Engine
Docker Host
7©2018 VMware, Inc.
What is Kubernetes?
OS
App 1
Bins/Libs
App 2
Bins/Libs
App 3
Bins/Libs
Container Engine
Docker Host
Kubernetes Node
OS
App 1
Bins/Libs
App 2
Bins/Libs
App 3
Bins/Libs
Container Engine
Docker Host
Kubernetes Node
OS
App 1
Bins/Libs
App 2
Bins/Libs
App 3
Bins/Libs
Container Engine
Docker Host
Kubernetes Node
Kubernetes Master
8©2018 VMware, Inc.
What is PKS?
OS
App 1
Bins/Libs
App 2
Bins/Libs
App 3
Bins/Libs
Container Engine
VM
Docker Host
Kubernetes Node
OS
App 1
Bins/Libs
App 2
Bins/Libs
App 3
Bins/Libs
Container Engine
VM
Docker Host
Kubernetes Node
OS
App 1
Bins/Libs
App 2
Bins/Libs
App 3
Bins/Libs
Container Engine
VM
Docker Host
Kubernetes Node
Kubernetes Master
9©2018 VMware, Inc.
What is PKS?
Node
Node
Node
Kubernetes
Master
Node
Node
Node
Kubernetes
Master
Node
Node
Node
Kubernetes
Master
10©2018 VMware, Inc.
What is PKS?
Node
Node
Node
Kubernetes
Master
Node
Node
Node
Kubernetes
Master
Node
Node
Node
Kubernetes
Master
11©2018 VMware, Inc.
What is PKS?
Node
Node
Node
Kubernetes
Master
Node
Node
Node
Kubernetes
Master
Node
Node
Node
Kubernetes
Master
12©2018 VMware, Inc.
PKS and Kubernetes are complementary technologies
Developers love Kubernetes because it keeps their application up, Operators love PKS because
it keeps the Kubernetes clusters up.
CONFIDENTIAL 12
Container scheduling, app scale,
resiliency, and Day 2
Desired state of Application
Kubernetes cluster scheduling,
scale, resiliency, and Day 2
Desired state of Kubernetes
13©2018 VMware, Inc.
Majority of Enterprise Java apps (Middleware, COTS, etc.) built since 1990s
run on
• Oracle WebLogic (“WLS”) or
• IBM WebSphere (“WAS”)
Enterprises looking to containerize and “Lift & Shift” existing WLS/WAS-
based apps
Risk/Resource factors prevent refactor to cloud native microservices
Why Oracle WebLogic as a test workload?
Excellent example of a traditional application
14©2018 VMware, Inc.
Current State versus Desired State
Containerize WebLogic as-is and deploy atop Kubernetes
Physical OS or VM
Customer
Datacenter
DevOps
VMs
15©2018 VMware, Inc.
Why is Oracle WebLogic hard to containerize?
Complex requirements around state management
Each instance has unique and fixed identity
that must persist across restarts
• Instance Name: wls1
• Instance URI: wls1.prod.appxzy.com
Each instance has configuration and runtime
state on filesystem
hardwired to its unique identity
• Configuration XML
• Transaction & JMS logs
16©2018 VMware, Inc.
Instance identity & state must be preserved
across container restarts
wls1.prod.appxyz.com
transaction log 1 (owner = wls1)
transaction log 2 (owner = wls2)
wls2.prod.appxyz.com
Shared Filesystem
“WLS Cluster”
MS 0 MS 1
17©2018 VMware, Inc.
Instance identity & state must be preserved
across container restarts
wls1.prod.appxyz.com
transaction log 1 (owner = wls1)
transaction log 2 (owner = wls2)
wls2.prod.appxyz.com
Shared Filesystem
“WLS Cluster”
MS 0 WLS 2Failure!
18©2018 VMware, Inc.
Instance identity & state must be preserved
across container restarts
wls1.prod.appxyz.com
transaction log 1 (owner = wls1)
transaction log 2 (owner = wls2)
Shared Filesystem
“WLS Cluster”
MS 0 MS X
wlsX.prod.appxyz.com
19©2018 VMware, Inc.
Instance identity & state must be preserved
across container restarts
wls1.prod.appxyz.com
transaction log 1 (owner = wls1)
transaction log 2 (owner = wls2)
Shared Filesystem
“WLS Cluster”
MS 0 MS X
wlsX.prod.appxyz.com
20©2018 VMware, Inc.
Intro to Kubernetes Workloads
Jobs: for apps that run to termination
Cron Jobs: for apps that run on a time schedule
Daemon Sets: for apps that run on each VM/Machine
Deployments: for stateless apps
Replica Sets: for apps that need multiple instances
Stateful Sets: for stateful apps
21©2018 VMware, Inc.
Kubernetes StatefulSets to the Rescue
Addresses WebLogic needs around fixed identities and state
Source: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/
22©2018 VMware, Inc.
Stable, Unique Network Identifiers
Identity primitives in Kubernetes StatefulSets
23©2018 VMware, Inc.
Kubernetes StatefulSets to the rescue
wls1.prod.appxyz.com
transaction log 1 (owner = wls1)
transaction log 2 (owner = wls2)
wls2.prod.appxyz.com
Shared Filesystem
“WLS Cluster”
MS 0 MS 1
24©2018 VMware, Inc.
Instance identity & state must be preserved
across container restarts
wls1.prod.appxyz.com
transaction log 1 (owner = wls1)
transaction log 2 (owner = wls2)
wls2.prod.appxyz.com
Shared Filesystem
“WLS Cluster”
MS 0 WLS 2Failure!
25©2018 VMware, Inc.
Instance identity & state maintained across container restarts
wls1.prod.appxyz.com
transaction log 1 (owner = wls1)
transaction log 2 (owner = wls2)
Shared Filesystem
“WLS Cluster”
MS 0 MS 1
wls2.prod.appxyz.com
26©2018 VMware, Inc.
Demo
Oracle WebLogic Server on PKS
27©2018 VMware, Inc.
WebLogic instances deployed as Kubernetes StatefulSets
ms0.prod.appxyz.com
MS-0
ms1.prod.appxyz.com
MS-1
StatefulSet “ms”
as.prod.appxyz.com
WLS “Admin Server”
StatefulSet “as”
“WLS Admin Server”
manages global
configuration & state
Java app deployed to
”Cluster” of ”WLS
Managed Servers”
VMware SDDC
VMware PKS
28©2018 VMware, Inc.
Stable, Persistent Storage
Persistence primitives in Kubernetes StatefulSets
29©2018 VMware, Inc.
Storage classes and dynamic provisioning
Developer
Configures Classes
Claim for
Classes
Claim request specifies a class
References claim in pod
Pod
GOLD
JMS logs
SILVER
XMLs
1
2
3
29
claim
10G 10GOperator
30©2018 VMware, Inc.
Why is running WebLogic (WLS) on
PKS better than
Business As Usual (BAU)?”
5 Reasons Why
31©2018 VMware, Inc.
Developer Productivity
BAU
• Multi-step
human workflow
across systems,
networking,
storage and
middleware
teams
PKS
• One K8s
command
(“kubectl apply -f
<YML-file>”). K8s
will automatically
provision desired
stack and
instances across
(pre-allocated)
resource pool
Provisioning of net new WLS environments
32©2018 VMware, Inc.
Application monitoring and remediation
BAU
• WLS operations
team monitoring
individual
server and app
instance health
PKS
• K8s
automatically
tracks/(re)starts
/stops desired #
replicas
is App running ok on every WLS instance?
33©2018 VMware, Inc.
Application elasticity
BAU
• Multi-step
human
workflow
across
systems,
networking,
storage and
middleware
teams
PKS
• One K8s
command to
increase #
Replicas. K8s
Headless
Service
automatically
manages
DNS mapping
spin up additional WLS cluster members on demand
34©2018 VMware, Inc.
Multi Cloud IaaS support
BAU
• Homegrown
(Chef/Puppet/A
nsible/..) scripts
customized for
various clouds
PKS
• Out-of-the-box
support for
vSphere, GCP,
AWS, Azure.
35©2018 VMware, Inc.
Patch / Upgrades
BAU
• Multi-step
human
workflow
across
systems,
networking,
storage and
middleware
teams
PKS
• Out-of-the-
box
automation
with
Concourse,
PKS(BOSH)
and K8s
36©2018 VMware, Inc.
Operational Task Business As Usual (BAU) WLS on PKS
Developer Productivity
Provisioning of net new WLS environments
Multi-step human workflow across
systems, networking, storage and
middleware teams
One K8s command (“kubectl apply -f
<YML-file>”). K8s will automatically
provision desired stack and instances
across (pre-allocated) resource pool
Application monitoring and remediation
(is App running ok on every WLS instance?)
WLS operations team monitoring individual
server and app instance health
K8s automatically tracks/(re)starts/stops
desired # replicas
Application elasticity (spin up additional
WLS cluster members on demand)
Multi-step human workflow across
systems, networking, storage and
middleware teams
One K8s command to increase # Replicas.
K8s Headless Service automatically
manages DNS mapping
Multi Cloud IaaS support
Homegrown (Chef/Puppet/Ansible/..) scripts
customized for various clouds
Out-of-the-box support for vSphere, GCP,
AWS, Azure.
Patch / Upgrades
Multi-step human workflow across
systems, networking, storage and
middleware teams
Out-of-the-box automation with Concourse,
PKS(BOSH) and K8s
Why is running WebLogic (WLS) on PKS better than
Business As Usual (BAU)?”
37©2018 VMware, Inc.
See PKS product page on VMware.com
https://cloud.vmware.com/pivotal-container-service
Read posts and tutorials about PKS on Cloud-Native Apps Blog
https://blogs.vmware.com/cloudnative/
Try it out
HOL-1931-02-CNA – VMware PKS– Getting Started
Follow us on Twitter
https://twitter.com/cloudnativeapps
Resources
Run Stateful Apps on Kubernetes with VMware PKS - Highlight WebLogic Server

More Related Content

PPTX
Enterprise pks overview
PPTX
Pivotal Container Service Overview
PDF
Kube Your Enthusiasm - Paul Czarkowski
PPTX
Kubernetes for the VI Admin
PPTX
Fabio rapposelli pks-vmug
PDF
Pivotal Container Service (PKS) at SF Cloud Foundry Meetup
PPTX
VMworld 2015: Containers without Compromise - Persistent Storage for Docker C...
PDF
Kubecon US 2019: Kubernetes Multitenancy WG Deep Dive
Enterprise pks overview
Pivotal Container Service Overview
Kube Your Enthusiasm - Paul Czarkowski
Kubernetes for the VI Admin
Fabio rapposelli pks-vmug
Pivotal Container Service (PKS) at SF Cloud Foundry Meetup
VMworld 2015: Containers without Compromise - Persistent Storage for Docker C...
Kubecon US 2019: Kubernetes Multitenancy WG Deep Dive

What's hot (20)

PDF
Deploying Kafka on vSphere with Kubernetes Using the Confluent Operator (Just...
PDF
Cloud-Native Operations with Kubernetes and CI/CD
PDF
Devops - Microservice and Kubernetes
PDF
2009-dec02_Dell
PPTX
VMworld 2015: Build and Run Cloud Native Apps in your Software Defined Data C...
PPTX
Application Modernization with PKS / Kubernetes
PDF
Unlock Sustainable Kubernetes Services for TAS
PDF
VMware Tanzu Introduction- June 11, 2020
PPTX
12 Factor App
PDF
Devops lifecycle with Kabanero Appsody, Codewind, Tekton
PDF
Data protection in a kubernetes-native world
PDF
Concourse, Spinnaker, Cloud Foundry, Oh My! Creating Sophisticated Deployment...
PDF
Intel & QLogic NIC performance test results v0.2
PDF
Kubernetes Architecture with Components
PPTX
Making Microservices Smarter with Istio, Envoy and Pivotal Ingress Router
PDF
What are DevOps Application Patterns on AWS…and why do I need them?
PPTX
Cloud-native Application Lifecycle Management
PDF
Spectre/Meltdown security vulnerabilities FAQ
PDF
vSphere with Kubernetes Virtual Event- June 16, 2020
PPTX
Kubernetes day 2 Operations
Deploying Kafka on vSphere with Kubernetes Using the Confluent Operator (Just...
Cloud-Native Operations with Kubernetes and CI/CD
Devops - Microservice and Kubernetes
2009-dec02_Dell
VMworld 2015: Build and Run Cloud Native Apps in your Software Defined Data C...
Application Modernization with PKS / Kubernetes
Unlock Sustainable Kubernetes Services for TAS
VMware Tanzu Introduction- June 11, 2020
12 Factor App
Devops lifecycle with Kabanero Appsody, Codewind, Tekton
Data protection in a kubernetes-native world
Concourse, Spinnaker, Cloud Foundry, Oh My! Creating Sophisticated Deployment...
Intel & QLogic NIC performance test results v0.2
Kubernetes Architecture with Components
Making Microservices Smarter with Istio, Envoy and Pivotal Ingress Router
What are DevOps Application Patterns on AWS…and why do I need them?
Cloud-native Application Lifecycle Management
Spectre/Meltdown security vulnerabilities FAQ
vSphere with Kubernetes Virtual Event- June 16, 2020
Kubernetes day 2 Operations
Ad

Similar to Run Stateful Apps on Kubernetes with VMware PKS - Highlight WebLogic Server (20)

PPTX
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
PPTX
Kubernetes 101 VMworld 2019 workshop slides
PDF
Introduction to containers, k8s, Microservices & Cloud Native
PPTX
Being Stateful In Kubernetes
PDF
Being Stateful in Kubernetes
PDF
Kubernetes and Nested Containers: Enhanced 3 Ps (Performance, Price and Provi...
PDF
The State of Stateful on Kubernetes
PDF
Running and Managing Kubernetes on OpenStack
PDF
Kubernetes Basics - ICP Workshop Batch II
PDF
Kubernetes in Action First Edition Marko Luksa
PDF
Kubernetes in Action First Edition Marko Luksa
PDF
Why kubernetes for Serverless (FaaS)
PDF
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
PDF
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
PDF
雲到端的混合雲思維:K8S Anywhere, in AnyForm
PDF
Kubernetes in Action First Edition Marko Luksa
PPTX
How to Modernize Virtualized Workloads
PDF
A DevOps guide to Kubernetes
PDF
Pivotal Container Service : la nuova soluzione per gestire Kubernetes in azienda
PDF
Evolving for Kubernetes
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
Kubernetes 101 VMworld 2019 workshop slides
Introduction to containers, k8s, Microservices & Cloud Native
Being Stateful In Kubernetes
Being Stateful in Kubernetes
Kubernetes and Nested Containers: Enhanced 3 Ps (Performance, Price and Provi...
The State of Stateful on Kubernetes
Running and Managing Kubernetes on OpenStack
Kubernetes Basics - ICP Workshop Batch II
Kubernetes in Action First Edition Marko Luksa
Kubernetes in Action First Edition Marko Luksa
Why kubernetes for Serverless (FaaS)
Kubernetes for Serverless - Serverless Summit 2017 - Krishna Kumar
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
雲到端的混合雲思維:K8S Anywhere, in AnyForm
Kubernetes in Action First Edition Marko Luksa
How to Modernize Virtualized Workloads
A DevOps guide to Kubernetes
Pivotal Container Service : la nuova soluzione per gestire Kubernetes in azienda
Evolving for Kubernetes
Ad

More from Simone Morellato (8)

PPTX
CMP, Containers Orchestrator, PaaS landscape explained in one slide
PPTX
Why do I need Kubernetes?
PPTX
VMs and Containers - Friends or Enemies
PPTX
vSphere Integrated Containers 101 and End-User Workflow
PPTX
How did we get to Containers: A brief History of Computing
PDF
ApceraPlatformFeatures_WP
PPTX
Docker & Apcera Better Together
PPTX
IDC Directions March 2014 Key Take-Aways
CMP, Containers Orchestrator, PaaS landscape explained in one slide
Why do I need Kubernetes?
VMs and Containers - Friends or Enemies
vSphere Integrated Containers 101 and End-User Workflow
How did we get to Containers: A brief History of Computing
ApceraPlatformFeatures_WP
Docker & Apcera Better Together
IDC Directions March 2014 Key Take-Aways

Recently uploaded (20)

PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
AI in Product Development-omnex systems
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Essential Infomation Tech presentation.pptx
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
medical staffing services at VALiNTRY
PPTX
L1 - Introduction to python Backend.pptx
PDF
top salesforce developer skills in 2025.pdf
PPTX
Transform Your Business with a Software ERP System
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
AI in Product Development-omnex systems
CHAPTER 2 - PM Management and IT Context
Essential Infomation Tech presentation.pptx
Operating system designcfffgfgggggggvggggggggg
Design an Analysis of Algorithms II-SECS-1021-03
How to Migrate SBCGlobal Email to Yahoo Easily
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Adobe Illustrator 28.6 Crack My Vision of Vector Design
wealthsignaloriginal-com-DS-text-... (1).pdf
Design an Analysis of Algorithms I-SECS-1021-03
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
medical staffing services at VALiNTRY
L1 - Introduction to python Backend.pptx
top salesforce developer skills in 2025.pdf
Transform Your Business with a Software ERP System
PTS Company Brochure 2025 (1).pdf.......
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf

Run Stateful Apps on Kubernetes with VMware PKS - Highlight WebLogic Server

  • 1. ©2018 VMware, Inc. Run Stateful Apps on Kubernetes with PKS Highlight WebLogic Server Simone Morellato, VMware, Inc.
  • 2. 2©2018 VMware, Inc. Can I containerize and run Traditional Stateful Apps on PKS? YE S
  • 3. Agenda 3©2018 VMware, Inc. Kubernetes overview PKS overview Oracle WebLogic Server Why and how to containerize Demo
  • 4. 4©2018 VMware, Inc. Who I am Morellato Simone @morellatosimone Director Technical Product Management @ VMware
  • 6. 6©2018 VMware, Inc. What is Docker? OS App 1 Bins/Libs App 2 Bins/Libs App 3 Bins/Libs Container Engine Docker Host
  • 7. 7©2018 VMware, Inc. What is Kubernetes? OS App 1 Bins/Libs App 2 Bins/Libs App 3 Bins/Libs Container Engine Docker Host Kubernetes Node OS App 1 Bins/Libs App 2 Bins/Libs App 3 Bins/Libs Container Engine Docker Host Kubernetes Node OS App 1 Bins/Libs App 2 Bins/Libs App 3 Bins/Libs Container Engine Docker Host Kubernetes Node Kubernetes Master
  • 8. 8©2018 VMware, Inc. What is PKS? OS App 1 Bins/Libs App 2 Bins/Libs App 3 Bins/Libs Container Engine VM Docker Host Kubernetes Node OS App 1 Bins/Libs App 2 Bins/Libs App 3 Bins/Libs Container Engine VM Docker Host Kubernetes Node OS App 1 Bins/Libs App 2 Bins/Libs App 3 Bins/Libs Container Engine VM Docker Host Kubernetes Node Kubernetes Master
  • 9. 9©2018 VMware, Inc. What is PKS? Node Node Node Kubernetes Master Node Node Node Kubernetes Master Node Node Node Kubernetes Master
  • 10. 10©2018 VMware, Inc. What is PKS? Node Node Node Kubernetes Master Node Node Node Kubernetes Master Node Node Node Kubernetes Master
  • 11. 11©2018 VMware, Inc. What is PKS? Node Node Node Kubernetes Master Node Node Node Kubernetes Master Node Node Node Kubernetes Master
  • 12. 12©2018 VMware, Inc. PKS and Kubernetes are complementary technologies Developers love Kubernetes because it keeps their application up, Operators love PKS because it keeps the Kubernetes clusters up. CONFIDENTIAL 12 Container scheduling, app scale, resiliency, and Day 2 Desired state of Application Kubernetes cluster scheduling, scale, resiliency, and Day 2 Desired state of Kubernetes
  • 13. 13©2018 VMware, Inc. Majority of Enterprise Java apps (Middleware, COTS, etc.) built since 1990s run on • Oracle WebLogic (“WLS”) or • IBM WebSphere (“WAS”) Enterprises looking to containerize and “Lift & Shift” existing WLS/WAS- based apps Risk/Resource factors prevent refactor to cloud native microservices Why Oracle WebLogic as a test workload? Excellent example of a traditional application
  • 14. 14©2018 VMware, Inc. Current State versus Desired State Containerize WebLogic as-is and deploy atop Kubernetes Physical OS or VM Customer Datacenter DevOps VMs
  • 15. 15©2018 VMware, Inc. Why is Oracle WebLogic hard to containerize? Complex requirements around state management Each instance has unique and fixed identity that must persist across restarts • Instance Name: wls1 • Instance URI: wls1.prod.appxzy.com Each instance has configuration and runtime state on filesystem hardwired to its unique identity • Configuration XML • Transaction & JMS logs
  • 16. 16©2018 VMware, Inc. Instance identity & state must be preserved across container restarts wls1.prod.appxyz.com transaction log 1 (owner = wls1) transaction log 2 (owner = wls2) wls2.prod.appxyz.com Shared Filesystem “WLS Cluster” MS 0 MS 1
  • 17. 17©2018 VMware, Inc. Instance identity & state must be preserved across container restarts wls1.prod.appxyz.com transaction log 1 (owner = wls1) transaction log 2 (owner = wls2) wls2.prod.appxyz.com Shared Filesystem “WLS Cluster” MS 0 WLS 2Failure!
  • 18. 18©2018 VMware, Inc. Instance identity & state must be preserved across container restarts wls1.prod.appxyz.com transaction log 1 (owner = wls1) transaction log 2 (owner = wls2) Shared Filesystem “WLS Cluster” MS 0 MS X wlsX.prod.appxyz.com
  • 19. 19©2018 VMware, Inc. Instance identity & state must be preserved across container restarts wls1.prod.appxyz.com transaction log 1 (owner = wls1) transaction log 2 (owner = wls2) Shared Filesystem “WLS Cluster” MS 0 MS X wlsX.prod.appxyz.com
  • 20. 20©2018 VMware, Inc. Intro to Kubernetes Workloads Jobs: for apps that run to termination Cron Jobs: for apps that run on a time schedule Daemon Sets: for apps that run on each VM/Machine Deployments: for stateless apps Replica Sets: for apps that need multiple instances Stateful Sets: for stateful apps
  • 21. 21©2018 VMware, Inc. Kubernetes StatefulSets to the Rescue Addresses WebLogic needs around fixed identities and state Source: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/
  • 22. 22©2018 VMware, Inc. Stable, Unique Network Identifiers Identity primitives in Kubernetes StatefulSets
  • 23. 23©2018 VMware, Inc. Kubernetes StatefulSets to the rescue wls1.prod.appxyz.com transaction log 1 (owner = wls1) transaction log 2 (owner = wls2) wls2.prod.appxyz.com Shared Filesystem “WLS Cluster” MS 0 MS 1
  • 24. 24©2018 VMware, Inc. Instance identity & state must be preserved across container restarts wls1.prod.appxyz.com transaction log 1 (owner = wls1) transaction log 2 (owner = wls2) wls2.prod.appxyz.com Shared Filesystem “WLS Cluster” MS 0 WLS 2Failure!
  • 25. 25©2018 VMware, Inc. Instance identity & state maintained across container restarts wls1.prod.appxyz.com transaction log 1 (owner = wls1) transaction log 2 (owner = wls2) Shared Filesystem “WLS Cluster” MS 0 MS 1 wls2.prod.appxyz.com
  • 26. 26©2018 VMware, Inc. Demo Oracle WebLogic Server on PKS
  • 27. 27©2018 VMware, Inc. WebLogic instances deployed as Kubernetes StatefulSets ms0.prod.appxyz.com MS-0 ms1.prod.appxyz.com MS-1 StatefulSet “ms” as.prod.appxyz.com WLS “Admin Server” StatefulSet “as” “WLS Admin Server” manages global configuration & state Java app deployed to ”Cluster” of ”WLS Managed Servers” VMware SDDC VMware PKS
  • 28. 28©2018 VMware, Inc. Stable, Persistent Storage Persistence primitives in Kubernetes StatefulSets
  • 29. 29©2018 VMware, Inc. Storage classes and dynamic provisioning Developer Configures Classes Claim for Classes Claim request specifies a class References claim in pod Pod GOLD JMS logs SILVER XMLs 1 2 3 29 claim 10G 10GOperator
  • 30. 30©2018 VMware, Inc. Why is running WebLogic (WLS) on PKS better than Business As Usual (BAU)?” 5 Reasons Why
  • 31. 31©2018 VMware, Inc. Developer Productivity BAU • Multi-step human workflow across systems, networking, storage and middleware teams PKS • One K8s command (“kubectl apply -f <YML-file>”). K8s will automatically provision desired stack and instances across (pre-allocated) resource pool Provisioning of net new WLS environments
  • 32. 32©2018 VMware, Inc. Application monitoring and remediation BAU • WLS operations team monitoring individual server and app instance health PKS • K8s automatically tracks/(re)starts /stops desired # replicas is App running ok on every WLS instance?
  • 33. 33©2018 VMware, Inc. Application elasticity BAU • Multi-step human workflow across systems, networking, storage and middleware teams PKS • One K8s command to increase # Replicas. K8s Headless Service automatically manages DNS mapping spin up additional WLS cluster members on demand
  • 34. 34©2018 VMware, Inc. Multi Cloud IaaS support BAU • Homegrown (Chef/Puppet/A nsible/..) scripts customized for various clouds PKS • Out-of-the-box support for vSphere, GCP, AWS, Azure.
  • 35. 35©2018 VMware, Inc. Patch / Upgrades BAU • Multi-step human workflow across systems, networking, storage and middleware teams PKS • Out-of-the- box automation with Concourse, PKS(BOSH) and K8s
  • 36. 36©2018 VMware, Inc. Operational Task Business As Usual (BAU) WLS on PKS Developer Productivity Provisioning of net new WLS environments Multi-step human workflow across systems, networking, storage and middleware teams One K8s command (“kubectl apply -f <YML-file>”). K8s will automatically provision desired stack and instances across (pre-allocated) resource pool Application monitoring and remediation (is App running ok on every WLS instance?) WLS operations team monitoring individual server and app instance health K8s automatically tracks/(re)starts/stops desired # replicas Application elasticity (spin up additional WLS cluster members on demand) Multi-step human workflow across systems, networking, storage and middleware teams One K8s command to increase # Replicas. K8s Headless Service automatically manages DNS mapping Multi Cloud IaaS support Homegrown (Chef/Puppet/Ansible/..) scripts customized for various clouds Out-of-the-box support for vSphere, GCP, AWS, Azure. Patch / Upgrades Multi-step human workflow across systems, networking, storage and middleware teams Out-of-the-box automation with Concourse, PKS(BOSH) and K8s Why is running WebLogic (WLS) on PKS better than Business As Usual (BAU)?”
  • 37. 37©2018 VMware, Inc. See PKS product page on VMware.com https://cloud.vmware.com/pivotal-container-service Read posts and tutorials about PKS on Cloud-Native Apps Blog https://blogs.vmware.com/cloudnative/ Try it out HOL-1931-02-CNA – VMware PKS– Getting Started Follow us on Twitter https://twitter.com/cloudnativeapps Resources

Editor's Notes

  • #15: Rahul – audience really needs to grasp this concept!
  • #16: Rahul – changed title as audience doesn’t know what we mean by “cloud native model”. Changed text to accurately describe problem statement.
  • #17: Rahul – tweaked graphic, changed title to be precise about problem statement.
  • #18: Rahul – tweaked graphic, changed title to be precise about problem statement.
  • #19: Rahul – tweaked graphic, changed title to be precise about problem statement.
  • #20: Rahul – tweaked graphic, changed title to be precise about problem statement.
  • #22: Rahul – this looks better than just some bullets on slide, IMO.
  • #24: Rahul – tweaked graphic, changed title to be precise about problem statement.
  • #25: Rahul – tweaked graphic, changed title to be precise about problem statement.
  • #26: Rahul – tweaked graphic, changed title to be precise about problem statement.
  • #30: The StorageClass API enables dynamic volume provisioning Avoids pre-provisioning of storage and storage is provisioned automatically when a user requests it StorageClass API object specifies a provisioner and parameters diskformat which can be thin(default), zeroedthick and eagerzeroedthick datastore is an optional field which can be VMFSDatastore or VSANDatastore. This allows user to select the datastore to provision PV from, if not specified the default datastore from vSphere config file is used. storagePolicyName is an optional field which is the name of the SPBM policy to be applied. The newly created persistent volume will have the SPBM policy configured with it. VSAN Storage Capability Parameters (cacheReservation, diskStripes, forceProvisioning, hostFailuresToTolerate, iopsLimit and objectSpaceReservation) are supported by vSphere provisioner for vSAN storage. The persistent volume created with these parameters will have these vSAN storage capabilities configured with it.  Note: With StorageClass, VMDK’s do not be created manually for Persistent Volume. VMDK will be created dynamically by vsphere-volume provisioner.