SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Downloaden Sie, um offline zu lesen
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Persistent Storage with Containers
Kaslin Fields – Solutions Architect at Oracle Cloud Infrastructure
Cloud-Native and Kubernetes Meetup – 7/19/2018
Twitter: @kaslinfields
Confidential – Oracle Restricted
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or functionality, and should not be relied upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
Confidential – Oracle Restricted
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
The Promise of Containers
• Fast
• Efficient
• Portable
• Scalable
• Immutable
Confidential – Oracle Restricted
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Immutability
Adjective:
“unable to be changed”
- Mirriam-Webster
https://www.merriam-webster.com/dictionary/immutable
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Immutability and Containers
• Containers should never change on the fly
• No Patching
– Just recreate it!
• Dependencies included
– No more “It works on my machine”
• Application-focused
– Only the app and its dependencies!
• Made to Die
– Cattle, not pets
Confidential – Oracle Restricted
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Immutable Containers and Persistent Storage
• If my containers can never change while they’re running, then where’s all
my data supposed to go??
• Separate the App from the Data
– Containers for Apps
– Volumes for Data
Confidential – Oracle Restricted
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Use Case - Wordpress
• Surprisingly difficult to containerize IMMUTABLY
• A traditional app
– Database – Clearly needs to PERSIST
– Numerous (expected) local filesystem locations which store data which needs to
PERSIST
Confidential – Oracle Restricted
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Persistent Storage with Containers - Tools
• Docker
– Volumes
• Kubernetes
– Volumes
– Persistent Volumes
– Persistent Volume Claims
Confidential – Oracle Restricted
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Docker
• Docker is a container implementation format
• Docker Volumes
– Came out in 1.8.0 (July of 2015)
– Local
– Plugins
• Docker Swarm is a container orchestrator
– Docker Volumes work natively with Swarm
– Though generally a Docker Volume will get provisioned on every node in a Swarm*
Confidential – Oracle Restricted
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Docker Volume Plugin on OCI
Confidential – Oracle Restricted
$ docker volume create
--driver oci --name persStor
Install Docker
OCI API
$ docker run -it --rm
-v persStor:/mnt busybox sh
Mount
Busybox
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Kubernetes
• Kubernetes is a container orchestrator
• Volumes
– Tied to pod lifetime
– Fun Fact: Kubernetes released 1.0 in July 2015
• Kubernetes Persistent Volumes (and Persistent Volume Claims)
– Now in Beta! (April 2018)
– Alpha in 1.8 (September 2017)
Confidential – Oracle Restricted
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
OCI FlexVolume Driver - Setup
Confidential – Oracle Restricted
https://github.com/oracle/oci-flexvolume-driver
AVAILABILITY DOMAIN 3AVAILABILITY DOMAIN 2AVAILABILITY DOMAIN 1
REGION
Kubernetes Workers
REGION
AVAILABILITY DOMAIN 3AVAILABILITY DOMAIN 2AVAILABILITY DOMAIN 1
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Restricted
OCI FlexVolume Driver – Setup (Pod Definition)
https://github.com/oracle/oci-flexvolume-driver
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Restricted
OCI FlexVolume Driver
https://github.com/oracle/oci-flexvolume-driver
REGION
AVAILABILITY DOMAIN 3AVAILABILITY DOMAIN 2AVAILABILITY DOMAIN 1
$ kubectl apply –f pod.yml
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Restricted
REGION
AVAILABILITY DOMAIN 3AVAILABILITY DOMAIN 2AVAILABILITY DOMAIN 1
OCI Volume Provisioner
https://github.com/oracle/oci-volume-provisioner/
Flexvolume Driver
&
Volume Provisioner
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Restricted
OCI Volume Provisioner
https://github.com/oracle/oci-volume-provisioner/
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Restricted
OCI Volume Provisioner
https://github.com/oracle/oci-volume-provisioner/
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Restricted
OCI Volume Provisioner
https://github.com/oracle/oci-volume-provisioner/
REGION
AVAILABILITY DOMAIN 3AVAILABILITY DOMAIN 2AVAILABILITY DOMAIN 1
$ kubectl apply –f pod.yml
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Persistent Storage Tools in Review
• Docker
– Works with Docker Containers or Swarm
• Can also be used with Docker containers running on Kubernetes – though this doesn’t take
advantage of Kubernetes’ orchestration features
– Use local storage or a plugin
• Kubernetes
– Be mindful of the physical state of WHERE your app is running
– Persistent Volume Claims & Persistent Volumes
Confidential – Oracle Restricted
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Let’s Talk About Databases
• Can you run them in containers?
– CERTAINLY!
• Oracle DB - https://github.com/oracle/docker-images/tree/master/OracleDatabase
• MySQL - https://hub.docker.com/_/mysql/
• Oracle RAC - https://github.com/oracle/docker-images/tree/master/OracleDatabase/RAC
• Should you run them in containers?
– Ehhh, it depends…
Confidential – Oracle Restricted
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Kaslin’s Guidelines for Databases in Containers
• Great for testing environments
• Great for applications which require a tightly coupled DB, like WordPress
– Kubernetes Pod-style
• Not so great if you have 0 tolerance for your DB APPLICATION going down
– Though stateful sets can help with this SOME
• Should be good if you expect the DB’s STORAGE to always be up!
– Granted you’ve planned out your storage requirements appropriately.
Confidential – Oracle Restricted
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
A Simple Rule for Containerizing Databases
Confidential – Oracle Restricted
1. If your DATA needs to be persistent, you’re probably good.
2. If your access point to that data, the DATABASE APPLICATION,
needs to be as close to 100% up-time as possible
- there are probably better options.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Let’s Review
• Immutability means your container, once built, never changes.
– It gets remade instead!
• Application = Container
• Data = Volume
• Both Docker and Kubernetes have tooling to help manage data volumes
– With plugins available from various vendors
Confidential – Oracle Restricted
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Thanks!
Q&A
Confidential – Oracle Restricted

Weitere ähnliche Inhalte

Was ist angesagt?

Managing containers on Oracle Cloud by Jamal Arif
Managing containers on Oracle Cloud by Jamal ArifManaging containers on Oracle Cloud by Jamal Arif
Managing containers on Oracle Cloud by Jamal ArifOracle Developers
 
Websockets: Pushing the web forward
Websockets: Pushing the web forwardWebsockets: Pushing the web forward
Websockets: Pushing the web forwardMark Roden
 
Telco open stack use cases james thorne
Telco open stack use cases   james thorneTelco open stack use cases   james thorne
Telco open stack use cases james thorneSriram Subramanian
 
OpenStack Architected Like AWS (and GCP)
OpenStack Architected Like AWS (and GCP)OpenStack Architected Like AWS (and GCP)
OpenStack Architected Like AWS (and GCP)Randy Bias
 
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation SlidesKubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation SlidesSlideTeam
 
Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)
Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)
Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)VMware Tanzu
 
Java is Container Ready - Vaibhav - Container Conference 2018
Java is Container Ready - Vaibhav - Container Conference 2018Java is Container Ready - Vaibhav - Container Conference 2018
Java is Container Ready - Vaibhav - Container Conference 2018CodeOps Technologies LLP
 
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...tdc-globalcode
 
Kubernetes Cluster API - managing the infrastructure of multi clusters (k8s ...
Kubernetes Cluster API - managing the infrastructure of  multi clusters (k8s ...Kubernetes Cluster API - managing the infrastructure of  multi clusters (k8s ...
Kubernetes Cluster API - managing the infrastructure of multi clusters (k8s ...Tobias Schneck
 
OSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius Schumacher
OSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius SchumacherOSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius Schumacher
OSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius SchumacherNETWAYS
 
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...Oleg Shalygin
 
Introduction to kubernetes
Introduction to kubernetesIntroduction to kubernetes
Introduction to kubernetesGabriel Carro
 
Kubernetes day 2 Operations
Kubernetes day 2 OperationsKubernetes day 2 Operations
Kubernetes day 2 OperationsPaul Czarkowski
 
The Analytic Platform behind IBM’s Watson Data Platform - Big Data Spain 2017
The Analytic Platform behind IBM’s Watson Data Platform - Big Data Spain 2017The Analytic Platform behind IBM’s Watson Data Platform - Big Data Spain 2017
The Analytic Platform behind IBM’s Watson Data Platform - Big Data Spain 2017Luciano Resende
 
OpenStack: Everything You Need To Know to Get Started (ATO2014)
OpenStack: Everything You Need To Know to Get Started (ATO2014)OpenStack: Everything You Need To Know to Get Started (ATO2014)
OpenStack: Everything You Need To Know to Get Started (ATO2014)Mark Voelker
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to KubernetesPaul Czarkowski
 
CloudStack EU user group - Trillian
CloudStack EU user group - TrillianCloudStack EU user group - Trillian
CloudStack EU user group - TrillianShapeBlue
 
Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...
 Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E... Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...
Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...ShapeBlue
 

Was ist angesagt? (20)

Managing containers on Oracle Cloud by Jamal Arif
Managing containers on Oracle Cloud by Jamal ArifManaging containers on Oracle Cloud by Jamal Arif
Managing containers on Oracle Cloud by Jamal Arif
 
Websockets: Pushing the web forward
Websockets: Pushing the web forwardWebsockets: Pushing the web forward
Websockets: Pushing the web forward
 
Telco open stack use cases james thorne
Telco open stack use cases   james thorneTelco open stack use cases   james thorne
Telco open stack use cases james thorne
 
OpenStack Architected Like AWS (and GCP)
OpenStack Architected Like AWS (and GCP)OpenStack Architected Like AWS (and GCP)
OpenStack Architected Like AWS (and GCP)
 
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation SlidesKubernetes Concepts And Architecture Powerpoint Presentation Slides
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
 
Big data and Kubernetes
Big data and KubernetesBig data and Kubernetes
Big data and Kubernetes
 
Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)
Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)
Stackato & Lessons Learned with Cloud Foundry (Cloud Foundry Summit 2014)
 
Java is Container Ready - Vaibhav - Container Conference 2018
Java is Container Ready - Vaibhav - Container Conference 2018Java is Container Ready - Vaibhav - Container Conference 2018
Java is Container Ready - Vaibhav - Container Conference 2018
 
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...
TDC2017 | São Paulo - Trilha Cloud Computing How we figured out we had a SRE ...
 
Kubernetes Cluster API - managing the infrastructure of multi clusters (k8s ...
Kubernetes Cluster API - managing the infrastructure of  multi clusters (k8s ...Kubernetes Cluster API - managing the infrastructure of  multi clusters (k8s ...
Kubernetes Cluster API - managing the infrastructure of multi clusters (k8s ...
 
OSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius Schumacher
OSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius SchumacherOSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius Schumacher
OSDC 2018 | Highly Available Cloud Foundry on Kubernetes by Cornelius Schumacher
 
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
GCP - Continuous Integration and Delivery into Kubernetes with GitHub, Travis...
 
Introduction to kubernetes
Introduction to kubernetesIntroduction to kubernetes
Introduction to kubernetes
 
Kubernetes day 2 Operations
Kubernetes day 2 OperationsKubernetes day 2 Operations
Kubernetes day 2 Operations
 
The Analytic Platform behind IBM’s Watson Data Platform - Big Data Spain 2017
The Analytic Platform behind IBM’s Watson Data Platform - Big Data Spain 2017The Analytic Platform behind IBM’s Watson Data Platform - Big Data Spain 2017
The Analytic Platform behind IBM’s Watson Data Platform - Big Data Spain 2017
 
OpenStack: Everything You Need To Know to Get Started (ATO2014)
OpenStack: Everything You Need To Know to Get Started (ATO2014)OpenStack: Everything You Need To Know to Get Started (ATO2014)
OpenStack: Everything You Need To Know to Get Started (ATO2014)
 
Introduction to Kubernetes
Introduction to KubernetesIntroduction to Kubernetes
Introduction to Kubernetes
 
CloudStack EU user group - Trillian
CloudStack EU user group - TrillianCloudStack EU user group - Trillian
CloudStack EU user group - Trillian
 
Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...
 Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E... Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...
Designing Lean CloudStack Environments for the Edge - IndiQus - CloudStack E...
 
Istio canaries and kubernetes
Istio  canaries and kubernetesIstio  canaries and kubernetes
Istio canaries and kubernetes
 

Ähnlich wie Persistent storage with containers By Kaslin Fields

Oracle Cloud Storage Service & Oracle Database Backup Cloud Service
Oracle Cloud Storage Service & Oracle Database Backup Cloud ServiceOracle Cloud Storage Service & Oracle Database Backup Cloud Service
Oracle Cloud Storage Service & Oracle Database Backup Cloud ServiceJean-Philippe PINTE
 
Java EE Arquillian Testing with Docker & The Cloud
Java EE Arquillian Testing with Docker & The CloudJava EE Arquillian Testing with Docker & The Cloud
Java EE Arquillian Testing with Docker & The CloudBruno Borges
 
Provisioning with Oracle Cloud Stack Manager
Provisioning with Oracle Cloud Stack ManagerProvisioning with Oracle Cloud Stack Manager
Provisioning with Oracle Cloud Stack ManagerSimon Haslam
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQLTed Wennmark
 
Persistent storage in Docker
Persistent storage in DockerPersistent storage in Docker
Persistent storage in DockerCheryl Hung
 
Oracle - Continuous Delivery NYC meetup, June 07, 2018
Oracle - Continuous Delivery NYC meetup, June 07, 2018Oracle - Continuous Delivery NYC meetup, June 07, 2018
Oracle - Continuous Delivery NYC meetup, June 07, 2018Oracle Developers
 
Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube
 Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube
Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nubeavanttic Consultoría Tecnológica
 
Moving Your Oracle Databases To The Oracle Cloud
Moving Your Oracle Databases To The Oracle CloudMoving Your Oracle Databases To The Oracle Cloud
Moving Your Oracle Databases To The Oracle CloudAlex Zaballa
 
Migrate Oracle WebLogic Applications onto a Containerized Cloud Data Center
Migrate Oracle WebLogic Applications onto a Containerized Cloud Data CenterMigrate Oracle WebLogic Applications onto a Containerized Cloud Data Center
Migrate Oracle WebLogic Applications onto a Containerized Cloud Data CenterJingnan Zhou
 
Tecnologias Oracle em Docker Containers On-premise e na Nuvem
Tecnologias Oracle em Docker Containers On-premise e na NuvemTecnologias Oracle em Docker Containers On-premise e na Nuvem
Tecnologias Oracle em Docker Containers On-premise e na NuvemBruno Borges
 
Consolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficienciesConsolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficienciesDLT Solutions
 
Grow Your Business with Oracle Linux, Virtualization- BL v6.pdf
Grow Your Business with Oracle Linux, Virtualization- BL v6.pdfGrow Your Business with Oracle Linux, Virtualization- BL v6.pdf
Grow Your Business with Oracle Linux, Virtualization- BL v6.pdfsyamsulsakbar
 
Dockerizing Oracle Database
Dockerizing Oracle Database Dockerizing Oracle Database
Dockerizing Oracle Database gvenzl
 
Overpowered Kubernetes: CI/CD for K8s on Enterprise IaaS
Overpowered Kubernetes: CI/CD for K8s on Enterprise IaaSOverpowered Kubernetes: CI/CD for K8s on Enterprise IaaS
Overpowered Kubernetes: CI/CD for K8s on Enterprise IaaSJ On The Beach
 
Oracle Database on Docker - Best Practices
Oracle Database on Docker - Best PracticesOracle Database on Docker - Best Practices
Oracle Database on Docker - Best Practicesgvenzl
 
DevOps Supercharged with Docker on Exadata
DevOps Supercharged with Docker on ExadataDevOps Supercharged with Docker on Exadata
DevOps Supercharged with Docker on ExadataMarketingArrowECS_CZ
 
Galera on kubernetes_no_video
Galera on kubernetes_no_videoGalera on kubernetes_no_video
Galera on kubernetes_no_videoPatrick Galbraith
 

Ähnlich wie Persistent storage with containers By Kaslin Fields (20)

Kubernetes 101
Kubernetes 101Kubernetes 101
Kubernetes 101
 
Oracle Cloud Storage Service & Oracle Database Backup Cloud Service
Oracle Cloud Storage Service & Oracle Database Backup Cloud ServiceOracle Cloud Storage Service & Oracle Database Backup Cloud Service
Oracle Cloud Storage Service & Oracle Database Backup Cloud Service
 
Java EE Arquillian Testing with Docker & The Cloud
Java EE Arquillian Testing with Docker & The CloudJava EE Arquillian Testing with Docker & The Cloud
Java EE Arquillian Testing with Docker & The Cloud
 
Provisioning with Oracle Cloud Stack Manager
Provisioning with Oracle Cloud Stack ManagerProvisioning with Oracle Cloud Stack Manager
Provisioning with Oracle Cloud Stack Manager
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQL
 
Persistent storage in Docker
Persistent storage in DockerPersistent storage in Docker
Persistent storage in Docker
 
OOW-TBE-12c-CON7307-Sharable
OOW-TBE-12c-CON7307-SharableOOW-TBE-12c-CON7307-Sharable
OOW-TBE-12c-CON7307-Sharable
 
Oracle - Continuous Delivery NYC meetup, June 07, 2018
Oracle - Continuous Delivery NYC meetup, June 07, 2018Oracle - Continuous Delivery NYC meetup, June 07, 2018
Oracle - Continuous Delivery NYC meetup, June 07, 2018
 
Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube
 Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube
Meetup Oracle Database MAD_BCN: 1.1 Servicios de Oracle Database en la nube
 
Moving Your Oracle Databases To The Oracle Cloud
Moving Your Oracle Databases To The Oracle CloudMoving Your Oracle Databases To The Oracle Cloud
Moving Your Oracle Databases To The Oracle Cloud
 
Migrate Oracle WebLogic Applications onto a Containerized Cloud Data Center
Migrate Oracle WebLogic Applications onto a Containerized Cloud Data CenterMigrate Oracle WebLogic Applications onto a Containerized Cloud Data Center
Migrate Oracle WebLogic Applications onto a Containerized Cloud Data Center
 
Tecnologias Oracle em Docker Containers On-premise e na Nuvem
Tecnologias Oracle em Docker Containers On-premise e na NuvemTecnologias Oracle em Docker Containers On-premise e na Nuvem
Tecnologias Oracle em Docker Containers On-premise e na Nuvem
 
Consolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficienciesConsolidate and prepare for cloud efficiencies
Consolidate and prepare for cloud efficiencies
 
Grow Your Business with Oracle Linux, Virtualization- BL v6.pdf
Grow Your Business with Oracle Linux, Virtualization- BL v6.pdfGrow Your Business with Oracle Linux, Virtualization- BL v6.pdf
Grow Your Business with Oracle Linux, Virtualization- BL v6.pdf
 
Dockerizing Oracle Database
Dockerizing Oracle Database Dockerizing Oracle Database
Dockerizing Oracle Database
 
The great 8 of ODA
The great 8 of ODAThe great 8 of ODA
The great 8 of ODA
 
Overpowered Kubernetes: CI/CD for K8s on Enterprise IaaS
Overpowered Kubernetes: CI/CD for K8s on Enterprise IaaSOverpowered Kubernetes: CI/CD for K8s on Enterprise IaaS
Overpowered Kubernetes: CI/CD for K8s on Enterprise IaaS
 
Oracle Database on Docker - Best Practices
Oracle Database on Docker - Best PracticesOracle Database on Docker - Best Practices
Oracle Database on Docker - Best Practices
 
DevOps Supercharged with Docker on Exadata
DevOps Supercharged with Docker on ExadataDevOps Supercharged with Docker on Exadata
DevOps Supercharged with Docker on Exadata
 
Galera on kubernetes_no_video
Galera on kubernetes_no_videoGalera on kubernetes_no_video
Galera on kubernetes_no_video
 

Mehr von Oracle Developers

Running Kubernetes Workloads on Oracle Cloud Infrastructure
Running Kubernetes Workloads on Oracle Cloud InfrastructureRunning Kubernetes Workloads on Oracle Cloud Infrastructure
Running Kubernetes Workloads on Oracle Cloud InfrastructureOracle Developers
 
Apex atp customer_presentation_wwc march 2019
Apex atp customer_presentation_wwc march 2019Apex atp customer_presentation_wwc march 2019
Apex atp customer_presentation_wwc march 2019Oracle Developers
 
Building Cloud Native Applications with Oracle Autonomous Database.
Building Cloud Native Applications with Oracle Autonomous Database.Building Cloud Native Applications with Oracle Autonomous Database.
Building Cloud Native Applications with Oracle Autonomous Database.Oracle Developers
 
Fn meetup by Sardar Jamal Arif
Fn meetup by Sardar Jamal ArifFn meetup by Sardar Jamal Arif
Fn meetup by Sardar Jamal ArifOracle Developers
 
Get ready for_an_autonomous_data_driven_future_ext
Get ready for_an_autonomous_data_driven_future_extGet ready for_an_autonomous_data_driven_future_ext
Get ready for_an_autonomous_data_driven_future_extOracle Developers
 
Cloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
Cloud Native Meetup Santa Clara 07-11-2019 by Manish KapurCloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
Cloud Native Meetup Santa Clara 07-11-2019 by Manish KapurOracle Developers
 
Container Native Development Tools - Talk by Mickey Boxell
Container Native Development Tools - Talk by Mickey BoxellContainer Native Development Tools - Talk by Mickey Boxell
Container Native Development Tools - Talk by Mickey BoxellOracle Developers
 
General Capabilities of GraalVM by Oleg Selajev @shelajev
General Capabilities of GraalVM by Oleg Selajev @shelajevGeneral Capabilities of GraalVM by Oleg Selajev @shelajev
General Capabilities of GraalVM by Oleg Selajev @shelajevOracle Developers
 
GraalVM Native Images by Oleg Selajev @shelajev
GraalVM Native Images by Oleg Selajev @shelajevGraalVM Native Images by Oleg Selajev @shelajev
GraalVM Native Images by Oleg Selajev @shelajevOracle Developers
 
Serverless Patterns by Jesse Butler
Serverless Patterns by Jesse ButlerServerless Patterns by Jesse Butler
Serverless Patterns by Jesse ButlerOracle Developers
 
Java Library for High Speed Streaming Data
Java Library for High Speed Streaming Data Java Library for High Speed Streaming Data
Java Library for High Speed Streaming Data Oracle Developers
 
Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...
Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...
Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...Oracle Developers
 
North America November Meetups
North America November MeetupsNorth America November Meetups
North America November MeetupsOracle Developers
 
GraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
GraphPipe - Blazingly Fast Machine Learning Inference by Vish AbramsGraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
GraphPipe - Blazingly Fast Machine Learning Inference by Vish AbramsOracle Developers
 
North America Meetups in September
North America Meetups in September North America Meetups in September
North America Meetups in September Oracle Developers
 
Introduction to the Oracle Container Engine
Introduction to the Oracle Container EngineIntroduction to the Oracle Container Engine
Introduction to the Oracle Container EngineOracle Developers
 
Oracle Data Science Platform
Oracle Data Science PlatformOracle Data Science Platform
Oracle Data Science PlatformOracle Developers
 
The Fn Project by Jesse Butler
 The Fn Project by Jesse Butler The Fn Project by Jesse Butler
The Fn Project by Jesse ButlerOracle Developers
 
Silicon Valley JUG meetup July 18, 2018
Silicon Valley JUG meetup July 18, 2018Silicon Valley JUG meetup July 18, 2018
Silicon Valley JUG meetup July 18, 2018Oracle Developers
 

Mehr von Oracle Developers (20)

Running Kubernetes Workloads on Oracle Cloud Infrastructure
Running Kubernetes Workloads on Oracle Cloud InfrastructureRunning Kubernetes Workloads on Oracle Cloud Infrastructure
Running Kubernetes Workloads on Oracle Cloud Infrastructure
 
Apex atp customer_presentation_wwc march 2019
Apex atp customer_presentation_wwc march 2019Apex atp customer_presentation_wwc march 2019
Apex atp customer_presentation_wwc march 2019
 
Building Cloud Native Applications with Oracle Autonomous Database.
Building Cloud Native Applications with Oracle Autonomous Database.Building Cloud Native Applications with Oracle Autonomous Database.
Building Cloud Native Applications with Oracle Autonomous Database.
 
Fn meetup by Sardar Jamal Arif
Fn meetup by Sardar Jamal ArifFn meetup by Sardar Jamal Arif
Fn meetup by Sardar Jamal Arif
 
Get ready for_an_autonomous_data_driven_future_ext
Get ready for_an_autonomous_data_driven_future_extGet ready for_an_autonomous_data_driven_future_ext
Get ready for_an_autonomous_data_driven_future_ext
 
Cloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
Cloud Native Meetup Santa Clara 07-11-2019 by Manish KapurCloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
Cloud Native Meetup Santa Clara 07-11-2019 by Manish Kapur
 
Container Native Development Tools - Talk by Mickey Boxell
Container Native Development Tools - Talk by Mickey BoxellContainer Native Development Tools - Talk by Mickey Boxell
Container Native Development Tools - Talk by Mickey Boxell
 
General Capabilities of GraalVM by Oleg Selajev @shelajev
General Capabilities of GraalVM by Oleg Selajev @shelajevGeneral Capabilities of GraalVM by Oleg Selajev @shelajev
General Capabilities of GraalVM by Oleg Selajev @shelajev
 
GraalVM Native Images by Oleg Selajev @shelajev
GraalVM Native Images by Oleg Selajev @shelajevGraalVM Native Images by Oleg Selajev @shelajev
GraalVM Native Images by Oleg Selajev @shelajev
 
Serverless Patterns by Jesse Butler
Serverless Patterns by Jesse ButlerServerless Patterns by Jesse Butler
Serverless Patterns by Jesse Butler
 
Java Library for High Speed Streaming Data
Java Library for High Speed Streaming Data Java Library for High Speed Streaming Data
Java Library for High Speed Streaming Data
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...
Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...
Reactive Java Programming: A new Asynchronous Database Access API by Kuassi M...
 
North America November Meetups
North America November MeetupsNorth America November Meetups
North America November Meetups
 
GraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
GraphPipe - Blazingly Fast Machine Learning Inference by Vish AbramsGraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
GraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
 
North America Meetups in September
North America Meetups in September North America Meetups in September
North America Meetups in September
 
Introduction to the Oracle Container Engine
Introduction to the Oracle Container EngineIntroduction to the Oracle Container Engine
Introduction to the Oracle Container Engine
 
Oracle Data Science Platform
Oracle Data Science PlatformOracle Data Science Platform
Oracle Data Science Platform
 
The Fn Project by Jesse Butler
 The Fn Project by Jesse Butler The Fn Project by Jesse Butler
The Fn Project by Jesse Butler
 
Silicon Valley JUG meetup July 18, 2018
Silicon Valley JUG meetup July 18, 2018Silicon Valley JUG meetup July 18, 2018
Silicon Valley JUG meetup July 18, 2018
 

Kürzlich hochgeladen

The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 

Kürzlich hochgeladen (20)

The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 

Persistent storage with containers By Kaslin Fields

  • 1. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Persistent Storage with Containers Kaslin Fields – Solutions Architect at Oracle Cloud Infrastructure Cloud-Native and Kubernetes Meetup – 7/19/2018 Twitter: @kaslinfields Confidential – Oracle Restricted
  • 2. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. Confidential – Oracle Restricted
  • 3. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | The Promise of Containers • Fast • Efficient • Portable • Scalable • Immutable Confidential – Oracle Restricted
  • 4. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Immutability Adjective: “unable to be changed” - Mirriam-Webster https://www.merriam-webster.com/dictionary/immutable
  • 5. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Immutability and Containers • Containers should never change on the fly • No Patching – Just recreate it! • Dependencies included – No more “It works on my machine” • Application-focused – Only the app and its dependencies! • Made to Die – Cattle, not pets Confidential – Oracle Restricted
  • 6. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Immutable Containers and Persistent Storage • If my containers can never change while they’re running, then where’s all my data supposed to go?? • Separate the App from the Data – Containers for Apps – Volumes for Data Confidential – Oracle Restricted
  • 7. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Use Case - Wordpress • Surprisingly difficult to containerize IMMUTABLY • A traditional app – Database – Clearly needs to PERSIST – Numerous (expected) local filesystem locations which store data which needs to PERSIST Confidential – Oracle Restricted
  • 8. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Persistent Storage with Containers - Tools • Docker – Volumes • Kubernetes – Volumes – Persistent Volumes – Persistent Volume Claims Confidential – Oracle Restricted
  • 9. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Docker • Docker is a container implementation format • Docker Volumes – Came out in 1.8.0 (July of 2015) – Local – Plugins • Docker Swarm is a container orchestrator – Docker Volumes work natively with Swarm – Though generally a Docker Volume will get provisioned on every node in a Swarm* Confidential – Oracle Restricted
  • 10. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Docker Volume Plugin on OCI Confidential – Oracle Restricted $ docker volume create --driver oci --name persStor Install Docker OCI API $ docker run -it --rm -v persStor:/mnt busybox sh Mount Busybox
  • 11. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Kubernetes • Kubernetes is a container orchestrator • Volumes – Tied to pod lifetime – Fun Fact: Kubernetes released 1.0 in July 2015 • Kubernetes Persistent Volumes (and Persistent Volume Claims) – Now in Beta! (April 2018) – Alpha in 1.8 (September 2017) Confidential – Oracle Restricted
  • 12. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | OCI FlexVolume Driver - Setup Confidential – Oracle Restricted https://github.com/oracle/oci-flexvolume-driver AVAILABILITY DOMAIN 3AVAILABILITY DOMAIN 2AVAILABILITY DOMAIN 1 REGION Kubernetes Workers REGION AVAILABILITY DOMAIN 3AVAILABILITY DOMAIN 2AVAILABILITY DOMAIN 1
  • 13. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Restricted OCI FlexVolume Driver – Setup (Pod Definition) https://github.com/oracle/oci-flexvolume-driver
  • 14. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Restricted OCI FlexVolume Driver https://github.com/oracle/oci-flexvolume-driver REGION AVAILABILITY DOMAIN 3AVAILABILITY DOMAIN 2AVAILABILITY DOMAIN 1 $ kubectl apply –f pod.yml
  • 15. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Restricted REGION AVAILABILITY DOMAIN 3AVAILABILITY DOMAIN 2AVAILABILITY DOMAIN 1 OCI Volume Provisioner https://github.com/oracle/oci-volume-provisioner/ Flexvolume Driver & Volume Provisioner
  • 16. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Restricted OCI Volume Provisioner https://github.com/oracle/oci-volume-provisioner/
  • 17. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Restricted OCI Volume Provisioner https://github.com/oracle/oci-volume-provisioner/
  • 18. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Restricted OCI Volume Provisioner https://github.com/oracle/oci-volume-provisioner/ REGION AVAILABILITY DOMAIN 3AVAILABILITY DOMAIN 2AVAILABILITY DOMAIN 1 $ kubectl apply –f pod.yml
  • 19. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Persistent Storage Tools in Review • Docker – Works with Docker Containers or Swarm • Can also be used with Docker containers running on Kubernetes – though this doesn’t take advantage of Kubernetes’ orchestration features – Use local storage or a plugin • Kubernetes – Be mindful of the physical state of WHERE your app is running – Persistent Volume Claims & Persistent Volumes Confidential – Oracle Restricted
  • 20. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Let’s Talk About Databases • Can you run them in containers? – CERTAINLY! • Oracle DB - https://github.com/oracle/docker-images/tree/master/OracleDatabase • MySQL - https://hub.docker.com/_/mysql/ • Oracle RAC - https://github.com/oracle/docker-images/tree/master/OracleDatabase/RAC • Should you run them in containers? – Ehhh, it depends… Confidential – Oracle Restricted
  • 21. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Kaslin’s Guidelines for Databases in Containers • Great for testing environments • Great for applications which require a tightly coupled DB, like WordPress – Kubernetes Pod-style • Not so great if you have 0 tolerance for your DB APPLICATION going down – Though stateful sets can help with this SOME • Should be good if you expect the DB’s STORAGE to always be up! – Granted you’ve planned out your storage requirements appropriately. Confidential – Oracle Restricted
  • 22. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | A Simple Rule for Containerizing Databases Confidential – Oracle Restricted 1. If your DATA needs to be persistent, you’re probably good. 2. If your access point to that data, the DATABASE APPLICATION, needs to be as close to 100% up-time as possible - there are probably better options.
  • 23. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Let’s Review • Immutability means your container, once built, never changes. – It gets remade instead! • Application = Container • Data = Volume • Both Docker and Kubernetes have tooling to help manage data volumes – With plugins available from various vendors Confidential – Oracle Restricted
  • 24. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Thanks! Q&A Confidential – Oracle Restricted