SlideShare a Scribd company logo
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Deploying Distributed Databases and
In-Memory Computing Platforms with Kubernetes
Stephen Darlington
Senior Consultant
GridGain Systems
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Agenda
Deployment with
Kubernetes
Memory-Only
Deployments
Stateful
Deployments
Management
and Monitoring
Demo
Q&A
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Kubernetes
is…
…an open-source system for automating
deployment, scaling, and management of
containerized applications.
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Apache Ignite
is…
…a memory-centric
distributed database, caching,
and processing platform for transactional,
analytical, and streaming workloads delivering in-
memory speeds at petabyte scale.
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Memory-Centric Storage
Scale to 1000s of Nodes & Store TBs of Data
Ignite Native Persistence
(Flash, SSD, Intel 3D XPoint)
Third-Party Persistence
Keep Your Own DB
(RDBMS, HDFS, NoSQL)
SQL Transactions Compute Services MLStreamingKey/Value
IoTFinancial
Services
Pharma &
Healthcare
E-CommerceTravel &
Logistics
Telco
Apache Ignite Overview
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Our challenges
Server or VM
JVM
Node
Server or VM
JVM
Node
Server or VM
JVM
Node
Server or VM
JVM
Node
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Deployment with Kubernetes
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Distributed Database Details
• Database is a set of pods
– IPs are assigned dynamically
– Auto-discovery is needed
• Applications Deployment
– Within Kubernetes?
– Not managed by Kubernetes
• Stateless or Stateful?
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Database Pods Auto-Discovery
• Kubernetes Lookup Service
– Tracks a list of all Ignite pods
– Gateway for remote apps
• Kubernetes IP Finder
– Consumes IPs from the service
– Let’s node to join the cluster
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Service Startup
© 2018 GridGain Systems, Inc. GridGain Company Confidential
IP Finder Configuration
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Shared Configuration
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Ignite Memory Usage Modes
Mode Description Major Advantage
In-Memory Pure In-Memory Storage
Maximum perfomance possible
(data is never written to disk)
In-Memory + 3rd Party DB
Caching layer (aka. in-memory data grid)
for existing databases – RDBMS, NoSQL, etc
Horizontal scalability
Faster reads and writes
In-Memory + Full Copy on Disk The whole data set is stored both in memory and on disk Survives cluster failures
100% on Disk + In-Memory Cache
100% of data is in Ignite native persistence and
a subset is in memory
Unlimited data scale
beyond RAM capacity
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Ignite as Kubernetes Deployment Entity
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Stateful Deployments
• Durability With StatefulSet
– Data persistence to disk
– Ordered restarts
• Separate Volumes for
– Data and indexes
– WAL (aka Transaction Log)
– Snapshots and backups
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Cluster Activation
• Manual Activation on First Start
• Automatic Activation on Restarts
– Baseline topology usage
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Management and Monitoring
© 2018 GridGain Systems, Inc. GridGain Company Confidential
K8 Dashboard and Ignite Web Console
• Kubernetes Dashboard
– For Kubernetes environment
• Ignite Web Console
– For Ignite cluster
– Deploy Web Agent in K8
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Demo
© 2018 GridGain Systems, Inc. GridGain Company Confidential
More information
• ignite.apache.org
• apacheignite.readme.io/docs/kubernetes-
deployment
• github.com/apache/ignite
– modules/kubernetes
© 2018 GridGain Systems, Inc. GridGain Company Confidential
Thank you for joining us. Follow the conversation.
https://ignite.apache.org
https://gridgain.com/
Any questions?
@sdarlington
#apacheignite
@gridgain
#gridgain

More Related Content

What's hot (20)

PPT
Migrating legacy ERP data into Hadoop
DataWorks Summit
 
PPTX
An Introduction to Apache Ignite - Mandhir Gidda - Codemotion Rome 2017
Codemotion
 
PDF
OSDC 2017 - Christos Erotocritou - Apache ignite in-memory data fabric
NETWAYS
 
PPTX
Next Generation Scheduling for YARN and K8s: For Hybrid Cloud/On-prem Environ...
DataWorks Summit
 
PDF
Building a Cross Cloud Data Protection Engine
Databricks
 
PDF
Db2 event store
ModusOptimum
 
PPTX
Octo and the DevSecOps Evolution at Oracle by Ian Van Hoven
InfluxData
 
PDF
A Gentle Introduction to GPU Computing by Armen Donigian
Data Con LA
 
PDF
How TrafficGuard uses Druid to Fight Ad Fraud and Bots
Imply
 
PDF
RedisConf18 - Redis on Google Cloud Platform
Redis Labs
 
PDF
KubeCon 2017 - Kubernetes SIG Scheduling and Resource Management Working Grou...
Jeremy Eder
 
PDF
How to Avoid Disasters via Software-Defined Storage Replication & Site Recovery
DataCore Software
 
PDF
Building a Real-Time Gaming Analytics Service with Apache Druid
Imply
 
PDF
#GeodeSummit - Large Scale Fraud Detection using GemFire Integrated with Gree...
PivotalOpenSourceHub
 
PPTX
BI on Big Data with instant response times at Verizon
DataWorks Summit
 
PPTX
Azure data lakes
Vishwas N
 
PPTX
Extending Twitter's Data Platform to Google Cloud
DataWorks Summit
 
PPTX
Cost of Ownership for Hadoop Implementation
DataWorks Summit
 
PPTX
There are 250 Database products, are you running the right one?
Aerospike, Inc.
 
PPTX
NoSQL on MySQL - MySQL Document Store by Vadim Tkachenko
Data Con LA
 
Migrating legacy ERP data into Hadoop
DataWorks Summit
 
An Introduction to Apache Ignite - Mandhir Gidda - Codemotion Rome 2017
Codemotion
 
OSDC 2017 - Christos Erotocritou - Apache ignite in-memory data fabric
NETWAYS
 
Next Generation Scheduling for YARN and K8s: For Hybrid Cloud/On-prem Environ...
DataWorks Summit
 
Building a Cross Cloud Data Protection Engine
Databricks
 
Db2 event store
ModusOptimum
 
Octo and the DevSecOps Evolution at Oracle by Ian Van Hoven
InfluxData
 
A Gentle Introduction to GPU Computing by Armen Donigian
Data Con LA
 
How TrafficGuard uses Druid to Fight Ad Fraud and Bots
Imply
 
RedisConf18 - Redis on Google Cloud Platform
Redis Labs
 
KubeCon 2017 - Kubernetes SIG Scheduling and Resource Management Working Grou...
Jeremy Eder
 
How to Avoid Disasters via Software-Defined Storage Replication & Site Recovery
DataCore Software
 
Building a Real-Time Gaming Analytics Service with Apache Druid
Imply
 
#GeodeSummit - Large Scale Fraud Detection using GemFire Integrated with Gree...
PivotalOpenSourceHub
 
BI on Big Data with instant response times at Verizon
DataWorks Summit
 
Azure data lakes
Vishwas N
 
Extending Twitter's Data Platform to Google Cloud
DataWorks Summit
 
Cost of Ownership for Hadoop Implementation
DataWorks Summit
 
There are 250 Database products, are you running the right one?
Aerospike, Inc.
 
NoSQL on MySQL - MySQL Document Store by Vadim Tkachenko
Data Con LA
 

Similar to Deploying Distributed Databases and In-Memory Computing Platforms with Kubernetes (20)

PDF
Apache Ignite - Distributed Database Orchestration
Ariel Jatib
 
PPTX
Distributed Database DevOps Dilemmas? Kubernetes to the Rescue
Denis Magda
 
PPTX
How we broke Apache Ignite by adding persistence
Stephen Darlington
 
PDF
How we broke Apache Ignite by adding persistence, by Stephen Darlington (Grid...
Altinity Ltd
 
PDF
Spark Summit EU talk by Christos Erotocritou
Spark Summit
 
PDF
Improving Apache Spark™ In-Memory Computing with Apache Ignite™
Tom Diederich
 
PDF
Nike tech-talk-intro-to-apache-ignite
Dani Traphagen
 
PPTX
Apache Spark and Apache Ignite: Where Fast Data Meets the IoT
Denis Magda
 
PDF
Data Summer Conf 2018, “Apache Ignite + Apache Spark RDDs and DataFrames inte...
Provectus
 
PDF
Getting Started with Apache Ignite as a Distributed Database
Roman Shtykh
 
PDF
“Building consistent and highly available distributed systems with Apache Ign...
Tom Diederich
 
PDF
Fast, In-Memory SQL on Apache Cassandra with Apache Ignite (Rachel Pedreschi,...
DataStax
 
PPTX
IMC Summit 2016 Breakout - Nikita Ivanov - Shared In-Memory RDDs – Missing Li...
In-Memory Computing Summit
 
PDF
Apache Ignite: In-Memory Hammer for Your Data Science Toolkit
Denis Magda
 
PDF
OSDC 2018 | Apache Ignite - the in-memory hammer for your data science toolki...
NETWAYS
 
PPTX
Apache Ignite - Distributed SQL Database Capabilities
Denis Magda
 
PDF
Comparing Apache Ignite and Cassandra for Hybrid Transactional/Analytical Pro...
Tom Diederich
 
PDF
Machine learning and deep learning with Apache Ignite
Tom Diederich
 
PDF
Fast Data with Apache Ignite and Apache Spark with Christos Erotocritou
Spark Summit
 
PPTX
Apache ignite v1.3
Klearchos Klearchou
 
Apache Ignite - Distributed Database Orchestration
Ariel Jatib
 
Distributed Database DevOps Dilemmas? Kubernetes to the Rescue
Denis Magda
 
How we broke Apache Ignite by adding persistence
Stephen Darlington
 
How we broke Apache Ignite by adding persistence, by Stephen Darlington (Grid...
Altinity Ltd
 
Spark Summit EU talk by Christos Erotocritou
Spark Summit
 
Improving Apache Spark™ In-Memory Computing with Apache Ignite™
Tom Diederich
 
Nike tech-talk-intro-to-apache-ignite
Dani Traphagen
 
Apache Spark and Apache Ignite: Where Fast Data Meets the IoT
Denis Magda
 
Data Summer Conf 2018, “Apache Ignite + Apache Spark RDDs and DataFrames inte...
Provectus
 
Getting Started with Apache Ignite as a Distributed Database
Roman Shtykh
 
“Building consistent and highly available distributed systems with Apache Ign...
Tom Diederich
 
Fast, In-Memory SQL on Apache Cassandra with Apache Ignite (Rachel Pedreschi,...
DataStax
 
IMC Summit 2016 Breakout - Nikita Ivanov - Shared In-Memory RDDs – Missing Li...
In-Memory Computing Summit
 
Apache Ignite: In-Memory Hammer for Your Data Science Toolkit
Denis Magda
 
OSDC 2018 | Apache Ignite - the in-memory hammer for your data science toolki...
NETWAYS
 
Apache Ignite - Distributed SQL Database Capabilities
Denis Magda
 
Comparing Apache Ignite and Cassandra for Hybrid Transactional/Analytical Pro...
Tom Diederich
 
Machine learning and deep learning with Apache Ignite
Tom Diederich
 
Fast Data with Apache Ignite and Apache Spark with Christos Erotocritou
Spark Summit
 
Apache ignite v1.3
Klearchos Klearchou
 
Ad

Recently uploaded (20)

PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PPTX
Human Resources Information System (HRIS)
Amity University, Patna
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PDF
Online Queue Management System for Public Service Offices in Nepal [Focused i...
Rishab Acharya
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PPTX
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PPTX
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
Human Resources Information System (HRIS)
Amity University, Patna
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
Online Queue Management System for Public Service Offices in Nepal [Focused i...
Rishab Acharya
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Ad

Deploying Distributed Databases and In-Memory Computing Platforms with Kubernetes

  • 1. © 2018 GridGain Systems, Inc. GridGain Company Confidential Deploying Distributed Databases and In-Memory Computing Platforms with Kubernetes Stephen Darlington Senior Consultant GridGain Systems
  • 2. © 2018 GridGain Systems, Inc. GridGain Company Confidential Agenda Deployment with Kubernetes Memory-Only Deployments Stateful Deployments Management and Monitoring Demo Q&A
  • 3. © 2018 GridGain Systems, Inc. GridGain Company Confidential Kubernetes is… …an open-source system for automating deployment, scaling, and management of containerized applications.
  • 4. © 2018 GridGain Systems, Inc. GridGain Company Confidential Apache Ignite is… …a memory-centric distributed database, caching, and processing platform for transactional, analytical, and streaming workloads delivering in- memory speeds at petabyte scale.
  • 5. © 2018 GridGain Systems, Inc. GridGain Company Confidential Memory-Centric Storage Scale to 1000s of Nodes & Store TBs of Data Ignite Native Persistence (Flash, SSD, Intel 3D XPoint) Third-Party Persistence Keep Your Own DB (RDBMS, HDFS, NoSQL) SQL Transactions Compute Services MLStreamingKey/Value IoTFinancial Services Pharma & Healthcare E-CommerceTravel & Logistics Telco Apache Ignite Overview
  • 6. © 2018 GridGain Systems, Inc. GridGain Company Confidential Our challenges Server or VM JVM Node Server or VM JVM Node Server or VM JVM Node Server or VM JVM Node
  • 7. © 2018 GridGain Systems, Inc. GridGain Company Confidential Deployment with Kubernetes
  • 8. © 2018 GridGain Systems, Inc. GridGain Company Confidential Distributed Database Details • Database is a set of pods – IPs are assigned dynamically – Auto-discovery is needed • Applications Deployment – Within Kubernetes? – Not managed by Kubernetes • Stateless or Stateful?
  • 9. © 2018 GridGain Systems, Inc. GridGain Company Confidential Database Pods Auto-Discovery • Kubernetes Lookup Service – Tracks a list of all Ignite pods – Gateway for remote apps • Kubernetes IP Finder – Consumes IPs from the service – Let’s node to join the cluster
  • 10. © 2018 GridGain Systems, Inc. GridGain Company Confidential Service Startup
  • 11. © 2018 GridGain Systems, Inc. GridGain Company Confidential IP Finder Configuration
  • 12. © 2018 GridGain Systems, Inc. GridGain Company Confidential Shared Configuration
  • 13. © 2018 GridGain Systems, Inc. GridGain Company Confidential Ignite Memory Usage Modes Mode Description Major Advantage In-Memory Pure In-Memory Storage Maximum perfomance possible (data is never written to disk) In-Memory + 3rd Party DB Caching layer (aka. in-memory data grid) for existing databases – RDBMS, NoSQL, etc Horizontal scalability Faster reads and writes In-Memory + Full Copy on Disk The whole data set is stored both in memory and on disk Survives cluster failures 100% on Disk + In-Memory Cache 100% of data is in Ignite native persistence and a subset is in memory Unlimited data scale beyond RAM capacity
  • 14. © 2018 GridGain Systems, Inc. GridGain Company Confidential Ignite as Kubernetes Deployment Entity
  • 15. © 2018 GridGain Systems, Inc. GridGain Company Confidential Stateful Deployments • Durability With StatefulSet – Data persistence to disk – Ordered restarts • Separate Volumes for – Data and indexes – WAL (aka Transaction Log) – Snapshots and backups
  • 16. © 2018 GridGain Systems, Inc. GridGain Company Confidential Cluster Activation • Manual Activation on First Start • Automatic Activation on Restarts – Baseline topology usage
  • 17. © 2018 GridGain Systems, Inc. GridGain Company Confidential Management and Monitoring
  • 18. © 2018 GridGain Systems, Inc. GridGain Company Confidential K8 Dashboard and Ignite Web Console • Kubernetes Dashboard – For Kubernetes environment • Ignite Web Console – For Ignite cluster – Deploy Web Agent in K8
  • 19. © 2018 GridGain Systems, Inc. GridGain Company Confidential Demo
  • 20. © 2018 GridGain Systems, Inc. GridGain Company Confidential More information • ignite.apache.org • apacheignite.readme.io/docs/kubernetes- deployment • github.com/apache/ignite – modules/kubernetes
  • 21. © 2018 GridGain Systems, Inc. GridGain Company Confidential Thank you for joining us. Follow the conversation. https://ignite.apache.org https://gridgain.com/ Any questions? @sdarlington #apacheignite @gridgain #gridgain

Editor's Notes

  • #2: Thank you open stack Thanks for coming Good to be in berlin… museum of technology, Konrad Zeus, Z1 programmable computer
  • #3: The buzzfeed version: the three tricks you need to install a compute/data grid using Kubernetes… the third will amaze you! But first, let’s define some terms.
  • #4: You know what kubernetes is… but what about in-memory compute platforms? We’re going to be talking about Ignite, but there are others that are similar
  • #5: Let’s dig down into what that really means and what it means for Kubernetes
  • #7: Lots of nodes That all need to be able to find each other Share configuration Non-shared storage (even memory only config not all nodes are fungible, but for persistence for logs, for persistent data) Dynamically add/remove nodes – without affecting the data!
  • #9: Traditionally you’d have one or more ”compute” pods (MySQL) plus some fixed disk That would kinda work for Ignite but missing the point Also, scale horizontally… all nodes equal (no master) but in charge of different data… so not equal! But no master means they need to be able to find each other
  • #10: Kubernetes already knows about nodes (pods) All we need is a little glue to link them together
  • #11: apiVersion: v1 kind: Service metadata: name: ignite namespace: ignite spec: type: LoadBalancer ports: - name: rest port: 8080 targetPort: 8080 - name: sql port: 10800 targetPort: 10800 - name: thinclients port: 10900 targetPort: 10900 selector: app: ignite
  • #12: <bean class="org.apache.ignite.configuration.IgniteConfiguration"> <property name="discoverySpi"> <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> <property name="ipFinder"> <bean class=” org.apache.ignite.spi.discovery.tcp.ipfinder.kubernetes.TcpDiscoveryKubernetesIpFinder"> <!-- Assumed that RBAC is configured for `ignite` namespace. --> <property name="namespace" value="ignite"/> </bean> </property> </bean> </property> </bean>
  • #13: kubectl create configmap ignite-config --from-file=example-kube.xml
  • #15: In-Memory Use Case:  in-memory caches, in-memory data grids, in-memory computations, web-session caching, real-time processing of continuous data streams. 100% on Disk + In-Memory Cache – ideal for HTAP because it doesn’t make sense to store analytical data sets in RAM or raw data for ML/DL models.
  • #16: Example here just uses a deployment, you might prefer be explicit about using a ReplicaSet Singleton instance like MySQL (persistent volume, MySQL pod, service) ReplicaSet – “should be used when your application is completely decoupled from the node” “every container is identical and replaceable” (which is true for memory-only but not for persistent) DaemonSet – “should be used when a single copy of your application must be run on all or a subset of nodes in the cluster” Dynamic Volume Provisioning (with Azure for example, using StorageClass) StatefulSet (stable in 1.9, ~ a year ago) Persistent hostname with a unique index Created and deleted in order Singleton instance like MySQL (persistent volume, MySQL pod, service) ReplicaSet – “should be used when your application is completely decoupled from the node” “every container is identical and replaceable” (which is true for memory-only but not for persistent) DaemonSet – “should be used when a single copy of your application must be run on all or a subset of nodes in the cluster” Dynamic Volume Provisioning (with Azure for example, using StorageClass) StatefulSet (stable in 1.9, ~ a year ago) Persistent hostname with a unique index Created and deleted in order apiVersion: extensions/v1beta1 kind: Deployment metadata: name: ignite-cluster spec: replicas: 2 template: metadata: labels: app: ignite spec: containers: - name: ignite-node image: apacheignite/ignite:2.6.0 env: - name: OPTION_LIBS value: ignite-kubernetes - name: CONFIG_URI value: URL_TO_CONFIG ports: ...
  • #17: Singleton instance like MySQL (persistent volume, MySQL pod, service) ReplicaSet – “should be used when your application is completely decoupled from the node” “every container is identical and replaceable” (which is true for memory-only but not for persistent) DaemonSet – “should be used when a single copy of your application must be run on all or a subset of nodes in the cluster” Dynamic Volume Provisioning (with Azure for example, using StorageClass) StatefulSet (stable in 1.9, ~ a year ago) Persistent hostname with a unique index Created and deleted in order
  • #18: Singleton instance like MySQL (persistent volume, MySQL pod, service) ReplicaSet – “should be used when your application is completely decoupled from the node” “every container is identical and replaceable” (which is true for memory-only but not for persistent) DaemonSet – “should be used when a single copy of your application must be run on all or a subset of nodes in the cluster” Dynamic Volume Provisioning (with Azure for example, using StorageClass) StatefulSet (stable in 1.9, ~ a year ago) Persistent hostname with a unique index Created and deleted in order apiVersion: apps/v1 kind: StatefulSet metadata: name: ignite namespace: ignite spec: selector: matchLabels: app: ignite serviceName: ignite ... volumeMounts: - mountPath: "/data/ignite" name: ignite-storage volumeClaimTemplates: - metadata: name: ignite-storage spec: accessModes: [ "ReadWriteOnce" ] resources: requests: storage: 1Gi
  • #19: kubectl exec -it ignite-0 --namespace=ignite -- /bin/bash cd /opt/ignite/apache-ignite-fabric/bin/ ./control.sh --activate
  • #25:   [1] http://globenewswire.com/news-release/2018/07/09/1534470/0/en/The-Apache-Software-Foundation-Announces-Annual-Report-for-2018-Fiscal-Year.html [2] https://blogs.apache.org/foundation/entry/apache-in-2017-by-the
  • #26: Try to get the demo app and slides on the web