MicroK8s 1.28 - MicroCeph on MicroK8s.pdf

Ceph storage on MicroK8s!
Angelos Kolaitis
Senior Engineer @MicroK8s
1.29 Release Lead Shadow
MicroK8s
Friday 1st of September, 1:30 pm GMT
https://meet.google.com/hjy-uogt-tax
Philip Williams
Product Manager
Ceph
&
Agenda
● What is MicroCeph?
● MicroCeph advantages
● Deployment of MicroCeph
● MicroCeph on MicroK8s
What is MicroCeph?
Consistent, Isolated and Upgrade Friendly
● Streamlined and effortless deployment
● Minimal setup and maintenance overheads
● MicroCeph is containerised snap with all of its
dependencies and runs fully isolated from the
underlying host
● Using channels for the distribution, going from
latest/stable to latest/edge is easy
MicroCeph advantages
Storage for non-experts
● Easiest way to deploy Ceph, just a few commands
● Designed for non-experts
● Highly scalable
○ dev workstation, to edge, to datacenter
● Reliable and resilient
● Open-source distributed storage system
● Flexibility for object, block, and file-level storage
● Supports encryption at rest too!
snap install microceph
microceph cluster bootstrap
microceph cluster add node[x]
microceph cluster join pasted-output-from-node1
microceph.ceph status
microceph disk add /dev/sd[x] --wipe
microceph.ceph status
microceph.ceph osd status
MicroCeph deployment
microceph.com
QR Code?
MicroCeph demo
MicroK8s 1.28 - MicroCeph on MicroK8s.pdf
Ceph Storage in MicroK8s
MicroK8s +
- Kubernetes solves container orchestration issues at scale
- I can run my massive distributed workloads at scale (machine learning, video
transcoding, my SaaS business)
- Where can I store the end results?
- We need persistent storage!
- CSI (Container Storage Interface)
- Kubernetes does not solve the problem of distributed storage, since
performance, stability requirements might differ
- Instead, it defines a standard interface to consume any storage
- Which CSI driver? Depends!
- On a public cloud? aws-ebs-csi-driver, azurefile-csi-driver, …
- On a private cloud? cinder-csi-driver, …
- On bare-metal? BYOS!
- Ceph
Distributed Storage In Kubernetes
- Ceph CSI!
- Supports CephRBD (ideal
for RWO volumes)
- Supports CephFS (supports
RWX volumes)
Ceph storage in Kubernetes
sudo microk8s enable rook-ceph
Deploy rook-operator on the
MicroK8s cluster
Rook can:
- deploy a Ceph cluster inside
the MicroK8s cluster, using
disks from the hosts
- integrate with external
Ceph clusters and manage
them as citizens in
Kubernetes
MicroK8s Rook Ceph addon (1/2)
sudo microk8s enable rook-ceph
Why Rook?
- Can detect the right CSI
version depending on running
K8s and Ceph
- (Optionally) Can be used to
manage Ceph from
Kubernetes
- (Optionally) Simplifies ceph
auth clients and keyrings
- (Optionally) Can deploy a
Ceph cluster on top of the
Kubernetes nodes
MicroK8s Rook Ceph addon (2/2)
Install MicroCeph
$ sudo snap install microceph --channel quincy/stable
$ sudo microceph cluster bootstrap
$ sudo microceph disk add $disks --wipe --encrypt
MicroK8s / MicroCeph (1/4)
Install MicroK8s
$ sudo snap install microk8s --classic --channel 1.28/stable
MicroK8s / MicroCeph (2/4)
Enable Ceph addon
$ sudo microk8s enable rook-ceph
MicroK8s / MicroCeph (3/4)
Consume MicroCeph
$ sudo microk8s connect-external-ceph
MicroK8s / MicroCeph (4/4)
microk8s connect-external-ceph
- Connect to Ceph cluster and initialize RBD pool
- Detect appropriate Ceph CSI version to deploy
- Generate Ceph client keyrings for ceph-csi
- Create Kubernetes resources for connecting to Ceph (ceph mons, keyrings)
- Create StorageClasses for consuming Ceph storage
MicroK8s / MicroCeph
Deploy microceph and microk8s on an edge environment and use Ceph for
storage
$ sudo snap install microceph --channel quincy/stable
$ sudo snap install microk8s --classic --channel 1.28/stable
$ sudo microk8s enable rook-ceph
$ sudo microk8s connect-external-ceph
Scenarios (1/4)
More complex Ceph configuration, use an RBD pool backed by specific OSDs
(e.g. tenant separation, use only SSD disks, …)
$ ceph osd crush rule create-replicated replicated_ssd default host ssd
$ rbd pool create microk8s-ssd-pool
$ ceph osd pool set microk8s-ssd-pool crush_rule replicated_ssd
$ microk8s connect-external-ceph --rbd-pool microk8s-ssd-pool
Scenarios (2/4)
CephFS for RWX support
$ ceph fs volume create microk8s-cephfs0
$ microk8s connect-external-ceph
Scenarios (3/4)
Integrate with any Ceph cluster
$ microk8s connect-external-ceph 
--ceph-conf ./ceph.conf 
--ceph-keyring ./keyring.conf
Scenarios (4/4)
Can I Try This Out?
Sure!
1.28 cluster in 5 min
$ sudo snap install microk8s --classic --channel 1.28/stable
MicroK8s releases on 1.28/edge within 24 hours after upstream release
MicroK8s
Thank you
Interaction
• Websites
https://microk8s.io/
https://github.com/canonical/microk8s
• Discussion on
https://discuss.kubernetes.io/tag/microk8s
or in Slack on the #microk8s channel
• Report Issues
https://github.com/canonical/microk8s/issues
• MicroK8s Community Sync
Every Friday, 1:30pm GMT
Video call link: https://meet.google.com/hjy-uogt-tax
Upcoming sessions from MicroK8s 1.28
- 1.28 Upstream Updates
- MicroK8s CIS conformance
- MicroK8s Dual Stack
- MicroK8s Ceph integration (feat MicroCeph)
Upcoming sessions calendar
https://www.meetup.com/microk8s-meetup-group/
MicroK8s
Thank you. Questions?
1 de 24

Recomendados

Working with JSON Data in PostgreSQL vs. MongoDB por
Working with JSON Data in PostgreSQL vs. MongoDBWorking with JSON Data in PostgreSQL vs. MongoDB
Working with JSON Data in PostgreSQL vs. MongoDBScaleGrid.io
830 vistas46 diapositivas
elasticsearch_적용 및 활용_정리 por
elasticsearch_적용 및 활용_정리elasticsearch_적용 및 활용_정리
elasticsearch_적용 및 활용_정리Junyi Song
74.7K vistas246 diapositivas
Massive Data Processing in Adobe Using Delta Lake por
Massive Data Processing in Adobe Using Delta LakeMassive Data Processing in Adobe Using Delta Lake
Massive Data Processing in Adobe Using Delta LakeDatabricks
719 vistas25 diapositivas
Spark 의 핵심은 무엇인가? RDD! (RDD paper review) por
Spark 의 핵심은 무엇인가? RDD! (RDD paper review)Spark 의 핵심은 무엇인가? RDD! (RDD paper review)
Spark 의 핵심은 무엇인가? RDD! (RDD paper review)Yongho Ha
87.2K vistas40 diapositivas
Apache Druid 101 por
Apache Druid 101Apache Druid 101
Apache Druid 101Data Con LA
250 vistas32 diapositivas
RHEL7/CentOS7 NetworkManager徹底入門 por
RHEL7/CentOS7 NetworkManager徹底入門RHEL7/CentOS7 NetworkManager徹底入門
RHEL7/CentOS7 NetworkManager徹底入門Etsuji Nakai
52.5K vistas30 diapositivas

Más contenido relacionado

La actualidad más candente

BlueStore: a new, faster storage backend for Ceph por
BlueStore: a new, faster storage backend for CephBlueStore: a new, faster storage backend for Ceph
BlueStore: a new, faster storage backend for CephSage Weil
5.7K vistas48 diapositivas
Yarn by default (Spark on YARN) por
Yarn by default (Spark on YARN)Yarn by default (Spark on YARN)
Yarn by default (Spark on YARN)Ferran Galí Reniu
878 vistas85 diapositivas
Time-Series Apache HBase por
Time-Series Apache HBaseTime-Series Apache HBase
Time-Series Apache HBaseHBaseCon
5.6K vistas17 diapositivas
Hadoop入門 por
Hadoop入門Hadoop入門
Hadoop入門Preferred Networks
18.2K vistas46 diapositivas
Learned from KIND por
Learned from KIND Learned from KIND
Learned from KIND HungWei Chiu
102 vistas56 diapositivas
Introduction to elasticsearch por
Introduction to elasticsearchIntroduction to elasticsearch
Introduction to elasticsearchpmanvi
6.7K vistas26 diapositivas

La actualidad más candente(20)

BlueStore: a new, faster storage backend for Ceph por Sage Weil
BlueStore: a new, faster storage backend for CephBlueStore: a new, faster storage backend for Ceph
BlueStore: a new, faster storage backend for Ceph
Sage Weil5.7K vistas
Time-Series Apache HBase por HBaseCon
Time-Series Apache HBaseTime-Series Apache HBase
Time-Series Apache HBase
HBaseCon5.6K vistas
Learned from KIND por HungWei Chiu
Learned from KIND Learned from KIND
Learned from KIND
HungWei Chiu102 vistas
Introduction to elasticsearch por pmanvi
Introduction to elasticsearchIntroduction to elasticsearch
Introduction to elasticsearch
pmanvi6.7K vistas
Introduction to Apache Spark Developer Training por Cloudera, Inc.
Introduction to Apache Spark Developer TrainingIntroduction to Apache Spark Developer Training
Introduction to Apache Spark Developer Training
Cloudera, Inc.31.7K vistas
Ceph and RocksDB por Sage Weil
Ceph and RocksDBCeph and RocksDB
Ceph and RocksDB
Sage Weil13.6K vistas
PostgreSQL共有バッファと関連ツール por Masahiko Sawada
PostgreSQL共有バッファと関連ツールPostgreSQL共有バッファと関連ツール
PostgreSQL共有バッファと関連ツール
Masahiko Sawada3.7K vistas
[211] HBase 기반 검색 데이터 저장소 (공개용) por NAVER D2
[211] HBase 기반 검색 데이터 저장소 (공개용)[211] HBase 기반 검색 데이터 저장소 (공개용)
[211] HBase 기반 검색 데이터 저장소 (공개용)
NAVER D28.5K vistas
Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had... por Simplilearn
Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had...Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had...
Hive Tutorial | Hive Architecture | Hive Tutorial For Beginners | Hive In Had...
Simplilearn3.9K vistas
How We Optimize Spark SQL Jobs With parallel and sync IO por Databricks
How We Optimize Spark SQL Jobs With parallel and sync IOHow We Optimize Spark SQL Jobs With parallel and sync IO
How We Optimize Spark SQL Jobs With parallel and sync IO
Databricks572 vistas
Introduction to Datasource V2 API por datamantra
Introduction to Datasource V2 APIIntroduction to Datasource V2 API
Introduction to Datasource V2 API
datamantra1.6K vistas
Apache Spark Data Source V2 with Wenchen Fan and Gengliang Wang por Databricks
Apache Spark Data Source V2 with Wenchen Fan and Gengliang WangApache Spark Data Source V2 with Wenchen Fan and Gengliang Wang
Apache Spark Data Source V2 with Wenchen Fan and Gengliang Wang
Databricks5.8K vistas
Speed up UDFs with GPUs using the RAPIDS Accelerator por Databricks
Speed up UDFs with GPUs using the RAPIDS AcceleratorSpeed up UDFs with GPUs using the RAPIDS Accelerator
Speed up UDFs with GPUs using the RAPIDS Accelerator
Databricks260 vistas
Monitor Apache Spark 3 on Kubernetes using Metrics and Plugins por Databricks
Monitor Apache Spark 3 on Kubernetes using Metrics and PluginsMonitor Apache Spark 3 on Kubernetes using Metrics and Plugins
Monitor Apache Spark 3 on Kubernetes using Metrics and Plugins
Databricks683 vistas
Improving Apache Spark's Reliability with DataSourceV2 por Databricks
Improving Apache Spark's Reliability with DataSourceV2Improving Apache Spark's Reliability with DataSourceV2
Improving Apache Spark's Reliability with DataSourceV2
Databricks1K vistas
Data Storage Tips for Optimal Spark Performance-(Vida Ha, Databricks) por Spark Summit
Data Storage Tips for Optimal Spark Performance-(Vida Ha, Databricks)Data Storage Tips for Optimal Spark Performance-(Vida Ha, Databricks)
Data Storage Tips for Optimal Spark Performance-(Vida Ha, Databricks)
Spark Summit22.7K vistas
Apache Spark on K8S and HDFS Security with Ilan Flonenko por Databricks
Apache Spark on K8S and HDFS Security with Ilan FlonenkoApache Spark on K8S and HDFS Security with Ilan Flonenko
Apache Spark on K8S and HDFS Security with Ilan Flonenko
Databricks758 vistas

Similar a MicroK8s 1.28 - MicroCeph on MicroK8s.pdf

CERN OpenStack Cloud Control Plane - From VMs to K8s por
CERN OpenStack Cloud Control Plane - From VMs to K8sCERN OpenStack Cloud Control Plane - From VMs to K8s
CERN OpenStack Cloud Control Plane - From VMs to K8sBelmiro Moreira
313 vistas35 diapositivas
Andrija Panic - Ceph with CloudStack por
Andrija Panic - Ceph with CloudStackAndrija Panic - Ceph with CloudStack
Andrija Panic - Ceph with CloudStackShapeBlue
284 vistas29 diapositivas
OpenNebulaConf 2016 - OpenNebula, a story about flexibility and technological... por
OpenNebulaConf 2016 - OpenNebula, a story about flexibility and technological...OpenNebulaConf 2016 - OpenNebula, a story about flexibility and technological...
OpenNebulaConf 2016 - OpenNebula, a story about flexibility and technological...OpenNebula Project
550 vistas22 diapositivas
Webinar - Getting Started With Ceph por
Webinar - Getting Started With CephWebinar - Getting Started With Ceph
Webinar - Getting Started With CephCeph Community
2.4K vistas34 diapositivas
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLES por
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLESQuick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLESJan Kalcic
2.7K vistas57 diapositivas
Ceph with CloudStack por
Ceph with CloudStackCeph with CloudStack
Ceph with CloudStackShapeBlue
730 vistas29 diapositivas

Similar a MicroK8s 1.28 - MicroCeph on MicroK8s.pdf(20)

CERN OpenStack Cloud Control Plane - From VMs to K8s por Belmiro Moreira
CERN OpenStack Cloud Control Plane - From VMs to K8sCERN OpenStack Cloud Control Plane - From VMs to K8s
CERN OpenStack Cloud Control Plane - From VMs to K8s
Belmiro Moreira313 vistas
Andrija Panic - Ceph with CloudStack por ShapeBlue
Andrija Panic - Ceph with CloudStackAndrija Panic - Ceph with CloudStack
Andrija Panic - Ceph with CloudStack
ShapeBlue284 vistas
OpenNebulaConf 2016 - OpenNebula, a story about flexibility and technological... por OpenNebula Project
OpenNebulaConf 2016 - OpenNebula, a story about flexibility and technological...OpenNebulaConf 2016 - OpenNebula, a story about flexibility and technological...
OpenNebulaConf 2016 - OpenNebula, a story about flexibility and technological...
OpenNebula Project550 vistas
Webinar - Getting Started With Ceph por Ceph Community
Webinar - Getting Started With CephWebinar - Getting Started With Ceph
Webinar - Getting Started With Ceph
Ceph Community 2.4K vistas
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLES por Jan Kalcic
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLESQuick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Quick-and-Easy Deployment of a Ceph Storage Cluster with SLES
Jan Kalcic2.7K vistas
Ceph with CloudStack por ShapeBlue
Ceph with CloudStackCeph with CloudStack
Ceph with CloudStack
ShapeBlue730 vistas
Ceph Day Shanghai - Hyper Converged PLCloud with Ceph por Ceph Community
Ceph Day Shanghai - Hyper Converged PLCloud with Ceph Ceph Day Shanghai - Hyper Converged PLCloud with Ceph
Ceph Day Shanghai - Hyper Converged PLCloud with Ceph
Ceph Community 113 vistas
Automating Your CloudStack Cloud with Puppet por buildacloud
Automating Your CloudStack Cloud with PuppetAutomating Your CloudStack Cloud with Puppet
Automating Your CloudStack Cloud with Puppet
buildacloud981 vistas
TUT18972: Unleash the power of Ceph across the Data Center por Ettore Simone
TUT18972: Unleash the power of Ceph across the Data CenterTUT18972: Unleash the power of Ceph across the Data Center
TUT18972: Unleash the power of Ceph across the Data Center
Ettore Simone3.4K vistas
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup por Stefan Schimanski
Kubernetes Architecture and Introduction – Paris Kubernetes MeetupKubernetes Architecture and Introduction – Paris Kubernetes Meetup
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup
Stefan Schimanski5.5K vistas
Who is afraid of privileged containers ? por Marko Bevc
Who is afraid of privileged containers ?Who is afraid of privileged containers ?
Who is afraid of privileged containers ?
Marko Bevc22 vistas
SUSE - performance analysis-with_ceph por inwin stack
SUSE - performance analysis-with_cephSUSE - performance analysis-with_ceph
SUSE - performance analysis-with_ceph
inwin stack285 vistas
Ceph and Mirantis OpenStack por Mirantis
Ceph and Mirantis OpenStackCeph and Mirantis OpenStack
Ceph and Mirantis OpenStack
Mirantis19.5K vistas
[BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes] por Wong Hoi Sing Edison
[BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes][BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes]
[BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes]
Storage 101: Rook and Ceph - Open Infrastructure Denver 2019 por Sean Cohen
Storage 101: Rook and Ceph - Open Infrastructure Denver 2019Storage 101: Rook and Ceph - Open Infrastructure Denver 2019
Storage 101: Rook and Ceph - Open Infrastructure Denver 2019
Sean Cohen1.7K vistas
CEPH technical analysis 2014 por Erwan Quigna
CEPH technical analysis 2014CEPH technical analysis 2014
CEPH technical analysis 2014
Erwan Quigna322 vistas
Performance analysis with_ceph por Alex Lau
Performance analysis with_cephPerformance analysis with_ceph
Performance analysis with_ceph
Alex Lau2.2K vistas
Open vStorage Road show 2015 Q1 por wim_provoost
Open vStorage Road show 2015 Q1Open vStorage Road show 2015 Q1
Open vStorage Road show 2015 Q1
wim_provoost3.4K vistas
TechWiseTV Workshop: Application Hosting on Catalyst 9000 Series Switches por Robb Boyd
TechWiseTV Workshop: Application Hosting on Catalyst 9000 Series SwitchesTechWiseTV Workshop: Application Hosting on Catalyst 9000 Series Switches
TechWiseTV Workshop: Application Hosting on Catalyst 9000 Series Switches
Robb Boyd1.2K vistas
In-Ceph-tion: Deploying a Ceph cluster on DreamCompute por Patrick McGarry
In-Ceph-tion: Deploying a Ceph cluster on DreamComputeIn-Ceph-tion: Deploying a Ceph cluster on DreamCompute
In-Ceph-tion: Deploying a Ceph cluster on DreamCompute
Patrick McGarry1.6K vistas

Último

.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra... por
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra....NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...Marc Müller
35 vistas62 diapositivas
Elevate your SAP landscape's efficiency and performance with HCL Workload Aut... por
Elevate your SAP landscape's efficiency and performance with HCL Workload Aut...Elevate your SAP landscape's efficiency and performance with HCL Workload Aut...
Elevate your SAP landscape's efficiency and performance with HCL Workload Aut...HCLSoftware
6 vistas2 diapositivas
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM... por
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...Deltares
7 vistas40 diapositivas
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t... por
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...Deltares
9 vistas26 diapositivas
SAP FOR TYRE INDUSTRY.pdf por
SAP FOR TYRE INDUSTRY.pdfSAP FOR TYRE INDUSTRY.pdf
SAP FOR TYRE INDUSTRY.pdfVirendra Rai, PMP
19 vistas3 diapositivas
LAVADORA ROLO.docx por
LAVADORA ROLO.docxLAVADORA ROLO.docx
LAVADORA ROLO.docxSamuelRamirez83524
7 vistas1 diapositiva

Último(20)

.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra... por Marc Müller
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra....NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
.NET Developer Conference 2023 - .NET Microservices mit Dapr – zu viel Abstra...
Marc Müller35 vistas
Elevate your SAP landscape's efficiency and performance with HCL Workload Aut... por HCLSoftware
Elevate your SAP landscape's efficiency and performance with HCL Workload Aut...Elevate your SAP landscape's efficiency and performance with HCL Workload Aut...
Elevate your SAP landscape's efficiency and performance with HCL Workload Aut...
HCLSoftware6 vistas
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM... por Deltares
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...
Deltares7 vistas
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t... por Deltares
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...
Deltares9 vistas
Consulting for Data Monetization Maximizing the Profit Potential of Your Data... por Flexsin
Consulting for Data Monetization Maximizing the Profit Potential of Your Data...Consulting for Data Monetization Maximizing the Profit Potential of Your Data...
Consulting for Data Monetization Maximizing the Profit Potential of Your Data...
Flexsin 15 vistas
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea... por Safe Software
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...
Safe Software391 vistas
DSD-INT 2023 HydroMT model building and river-coast coupling in Python - Bove... por Deltares
DSD-INT 2023 HydroMT model building and river-coast coupling in Python - Bove...DSD-INT 2023 HydroMT model building and river-coast coupling in Python - Bove...
DSD-INT 2023 HydroMT model building and river-coast coupling in Python - Bove...
Deltares15 vistas
Citi TechTalk Session 2: Kafka Deep Dive por confluent
Citi TechTalk Session 2: Kafka Deep DiveCiti TechTalk Session 2: Kafka Deep Dive
Citi TechTalk Session 2: Kafka Deep Dive
confluent17 vistas
Advanced API Mocking Techniques por Dimpy Adhikary
Advanced API Mocking TechniquesAdvanced API Mocking Techniques
Advanced API Mocking Techniques
Dimpy Adhikary18 vistas
Mark Simpson - UKOUG23 - Refactoring Monolithic Oracle Database Applications ... por marksimpsongw
Mark Simpson - UKOUG23 - Refactoring Monolithic Oracle Database Applications ...Mark Simpson - UKOUG23 - Refactoring Monolithic Oracle Database Applications ...
Mark Simpson - UKOUG23 - Refactoring Monolithic Oracle Database Applications ...
marksimpsongw74 vistas
DSD-INT 2023 Dam break simulation in Derna (Libya) using HydroMT_SFINCS - Prida por Deltares
DSD-INT 2023 Dam break simulation in Derna (Libya) using HydroMT_SFINCS - PridaDSD-INT 2023 Dam break simulation in Derna (Libya) using HydroMT_SFINCS - Prida
DSD-INT 2023 Dam break simulation in Derna (Libya) using HydroMT_SFINCS - Prida
Deltares17 vistas
Roadmap y Novedades de producto por Neo4j
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de producto
Neo4j43 vistas
How to Install and Activate Email-Researcher por eGrabber
How to Install and Activate Email-ResearcherHow to Install and Activate Email-Researcher
How to Install and Activate Email-Researcher
eGrabber19 vistas
Neo4j : Graphes de Connaissance, IA et LLMs por Neo4j
Neo4j : Graphes de Connaissance, IA et LLMsNeo4j : Graphes de Connaissance, IA et LLMs
Neo4j : Graphes de Connaissance, IA et LLMs
Neo4j46 vistas
What Can Employee Monitoring Software Do?​ por wAnywhere
What Can Employee Monitoring Software Do?​What Can Employee Monitoring Software Do?​
What Can Employee Monitoring Software Do?​
wAnywhere18 vistas

MicroK8s 1.28 - MicroCeph on MicroK8s.pdf

  • 1. Ceph storage on MicroK8s! Angelos Kolaitis Senior Engineer @MicroK8s 1.29 Release Lead Shadow MicroK8s Friday 1st of September, 1:30 pm GMT https://meet.google.com/hjy-uogt-tax Philip Williams Product Manager Ceph &
  • 2. Agenda ● What is MicroCeph? ● MicroCeph advantages ● Deployment of MicroCeph ● MicroCeph on MicroK8s
  • 3. What is MicroCeph? Consistent, Isolated and Upgrade Friendly ● Streamlined and effortless deployment ● Minimal setup and maintenance overheads ● MicroCeph is containerised snap with all of its dependencies and runs fully isolated from the underlying host ● Using channels for the distribution, going from latest/stable to latest/edge is easy
  • 4. MicroCeph advantages Storage for non-experts ● Easiest way to deploy Ceph, just a few commands ● Designed for non-experts ● Highly scalable ○ dev workstation, to edge, to datacenter ● Reliable and resilient ● Open-source distributed storage system ● Flexibility for object, block, and file-level storage ● Supports encryption at rest too!
  • 5. snap install microceph microceph cluster bootstrap microceph cluster add node[x] microceph cluster join pasted-output-from-node1 microceph.ceph status microceph disk add /dev/sd[x] --wipe microceph.ceph status microceph.ceph osd status MicroCeph deployment microceph.com QR Code?
  • 8. Ceph Storage in MicroK8s MicroK8s +
  • 9. - Kubernetes solves container orchestration issues at scale - I can run my massive distributed workloads at scale (machine learning, video transcoding, my SaaS business) - Where can I store the end results? - We need persistent storage! - CSI (Container Storage Interface) - Kubernetes does not solve the problem of distributed storage, since performance, stability requirements might differ - Instead, it defines a standard interface to consume any storage - Which CSI driver? Depends! - On a public cloud? aws-ebs-csi-driver, azurefile-csi-driver, … - On a private cloud? cinder-csi-driver, … - On bare-metal? BYOS! - Ceph Distributed Storage In Kubernetes
  • 10. - Ceph CSI! - Supports CephRBD (ideal for RWO volumes) - Supports CephFS (supports RWX volumes) Ceph storage in Kubernetes
  • 11. sudo microk8s enable rook-ceph Deploy rook-operator on the MicroK8s cluster Rook can: - deploy a Ceph cluster inside the MicroK8s cluster, using disks from the hosts - integrate with external Ceph clusters and manage them as citizens in Kubernetes MicroK8s Rook Ceph addon (1/2)
  • 12. sudo microk8s enable rook-ceph Why Rook? - Can detect the right CSI version depending on running K8s and Ceph - (Optionally) Can be used to manage Ceph from Kubernetes - (Optionally) Simplifies ceph auth clients and keyrings - (Optionally) Can deploy a Ceph cluster on top of the Kubernetes nodes MicroK8s Rook Ceph addon (2/2)
  • 13. Install MicroCeph $ sudo snap install microceph --channel quincy/stable $ sudo microceph cluster bootstrap $ sudo microceph disk add $disks --wipe --encrypt MicroK8s / MicroCeph (1/4)
  • 14. Install MicroK8s $ sudo snap install microk8s --classic --channel 1.28/stable MicroK8s / MicroCeph (2/4)
  • 15. Enable Ceph addon $ sudo microk8s enable rook-ceph MicroK8s / MicroCeph (3/4)
  • 16. Consume MicroCeph $ sudo microk8s connect-external-ceph MicroK8s / MicroCeph (4/4)
  • 17. microk8s connect-external-ceph - Connect to Ceph cluster and initialize RBD pool - Detect appropriate Ceph CSI version to deploy - Generate Ceph client keyrings for ceph-csi - Create Kubernetes resources for connecting to Ceph (ceph mons, keyrings) - Create StorageClasses for consuming Ceph storage MicroK8s / MicroCeph
  • 18. Deploy microceph and microk8s on an edge environment and use Ceph for storage $ sudo snap install microceph --channel quincy/stable $ sudo snap install microk8s --classic --channel 1.28/stable $ sudo microk8s enable rook-ceph $ sudo microk8s connect-external-ceph Scenarios (1/4)
  • 19. More complex Ceph configuration, use an RBD pool backed by specific OSDs (e.g. tenant separation, use only SSD disks, …) $ ceph osd crush rule create-replicated replicated_ssd default host ssd $ rbd pool create microk8s-ssd-pool $ ceph osd pool set microk8s-ssd-pool crush_rule replicated_ssd $ microk8s connect-external-ceph --rbd-pool microk8s-ssd-pool Scenarios (2/4)
  • 20. CephFS for RWX support $ ceph fs volume create microk8s-cephfs0 $ microk8s connect-external-ceph Scenarios (3/4)
  • 21. Integrate with any Ceph cluster $ microk8s connect-external-ceph --ceph-conf ./ceph.conf --ceph-keyring ./keyring.conf Scenarios (4/4)
  • 22. Can I Try This Out? Sure! 1.28 cluster in 5 min $ sudo snap install microk8s --classic --channel 1.28/stable MicroK8s releases on 1.28/edge within 24 hours after upstream release MicroK8s
  • 23. Thank you Interaction • Websites https://microk8s.io/ https://github.com/canonical/microk8s • Discussion on https://discuss.kubernetes.io/tag/microk8s or in Slack on the #microk8s channel • Report Issues https://github.com/canonical/microk8s/issues • MicroK8s Community Sync Every Friday, 1:30pm GMT Video call link: https://meet.google.com/hjy-uogt-tax Upcoming sessions from MicroK8s 1.28 - 1.28 Upstream Updates - MicroK8s CIS conformance - MicroK8s Dual Stack - MicroK8s Ceph integration (feat MicroCeph) Upcoming sessions calendar https://www.meetup.com/microk8s-meetup-group/ MicroK8s