SlideShare a Scribd company logo
1 of 19
Download to read offline
Rook.io
6. CNCF - Kubernetes Meetup
Dávid Kőszeghy
Agenda
● Rook.io
● Ceph.io
● Demo! :)
● Why Rook.io?
Rook.io
● an open source cloud-native storage
orchestrator
● Various storage providers supported (2
stable)
● Apache 2.0 license
● CSI support
● CRD configuration
Provisioning
● Helm.sh deployment of operator
● K8s v.1.10 minimum
● RBAC & Flexvolume config needed
● RBD, LVM2 required module in OS
Rook.io - Overview
● Incubator state in CNCF
● Framework for various Storage providers
○ Ceph, CockroachDB, Minio, Nexenta, Cassandra
● The most feasible way how to provide Storage provider if the provider is missing
the storage integration
● Testing suite in Rook.io
● Operator paradigm
Rook.io - Architecture
Rook Ceph - Overview
● Ceph is a highly scalable distributed storage solution
● block storage, object storage, and shared file systems
● production tested solution for distributed storage
● Ceph system is being run using Kubernetes primitives
● Encryption support for underlying storage
● Monitoring support for Prometheus
Ceph Terminology 1
● Object storage (RGW)
○ S3 and Swift API compatible (for the most part)
○ User management, snapshots, atomic transaction, partial/complete RW
○ object level key-value mappings
● Block storage (RBD)
○ Automatic replication, Image import/export, Read-only snapshots, Resizable images
○ Kubespray does also generic configuration and setup of the OS system, etc.
○ Ability to mount with Linux or QEMU KVM clients!
● CephFS
○ POSIX-compliant network file system
○ Automatically balances the file system to deliver maximum performance
○ Virtually unlimited storage to file systems
Ceph Terminology 2
● Monitors (MONs)
○ Most important components of Ceph structure
○ Cluster state, OSD map, CRUSH map, MGR map, MON map
○ Critical cluster state (including all maps) required for Ceph daemons to coordinate with each other
○ Managing authentication between daemons and clients
● Managers (MGRs)
○ Keeping track of runtime metrics, current state of the cluster
○ Provides Ceph Admin UI Dashboard/REST API (subset of actions from CLI present in UI)
○ Integration with Prometheus is directly possible (but not advisable for PROD yet)
● Object Storage Daemons (OSDs) a Metadata Storage Servers (MDSs)
○ stores data, handles data replication, recovery, rebalancing
○ Automatically balances the file system to deliver maximum performance
○ MDSs stores meta information for i.e `find, ls` to unburden OSDs and speed up response (HDDs) for
CephFS
Ceph in Kubernetes
Cluster HW setup
Live Demo - Rook.io v1.2.1
● Configure Helm.sh deployment for Rook Ceph Operator
● Deploy Rook.io operator for Ceph
● Create CRD for Ceph structures referencing HW
● UC: MySQL DB deployment
● UC: Add another server
● UC: Format one drive and recover
Rook Ceph Operator
● Helm based deployment
○ values.yaml for configuration of the deployment
More in live demo...
CRD - Ceph Cluster
● Main CRD to configure Ceph Cluster
● Host based
○ Specify target hosts and raw devices
○ Configure specifics per hots or globally
○ dataDirHostPath - Host Path to store config and data for components will be stored (!)
● PVC based
○ Specify Storage class for Rook
○ Volume Claim Templates for specifying storage requirements
○
CRD - Ceph Block Pool
● Object representation for block storage
● Block storage supports connection from Ceph StorageClass
● Replication based pool
● Erasure Coded pool (lowest increase only 1.25x)
○ BlueStore filesystem
○ Performance overhead of creating and distributing the chunks in the cluster
CRD - StorageClass
● Connection through Ceph CSI driver
● Be aware of “reclaimPolicy”
● Parameters configuration in demo
Difference between standalone Ceph and Rook
● MONs are failovered by operator automatically with timeout configuration - i.e
health check management
● Even if one of your nodes get HW wiped (ephemeral SSDs) operator can recover
state and “copy” data
● First class citizen Ceph through CRD objects
● Storage options (metadata, osds, filetypes) are managed from one place per cluster
● Partially automated updates between versions, some even worry free.
● Without vendor lock in
● Rook offers also other managed storage options (NFS, EdgeFS, Minio,
CockroachDB..)
We are hiring! Looking for DevOps engineer!
● If you’d like to work with us on multiple K8s clusters
● We are using many CNCF solutions
○ Rook.io, Harbor.io, Fluentd
○ Prometheus
○ Jaeger Tracing
○ Vault by HashiCorp
○ Consul Templates
○ NGiNX Ingress
○ and many more.
● Create and manage CI/CD pipelines
● Automate infrastructure
● Security oriented work
● Ansible for provisioning outside k8s
● Helm.sh charts
● Dockerfiles
● Help improve and grow our stack!
Dávid Kőszeghy
david.koszeghy@makers.sk
+421 901 744 988
Cncf meetup-rook

More Related Content

What's hot

What's hot (19)

GlusterFS Containers
GlusterFS ContainersGlusterFS Containers
GlusterFS Containers
 
Gluster as Block Store in Containers
Gluster as Block Store in ContainersGluster as Block Store in Containers
Gluster as Block Store in Containers
 
CRIU: Time and Space Travel for Linux Containers
CRIU: Time and Space Travel for Linux ContainersCRIU: Time and Space Travel for Linux Containers
CRIU: Time and Space Travel for Linux Containers
 
Gluster intro-tdose
Gluster intro-tdoseGluster intro-tdose
Gluster intro-tdose
 
Accessing gluster ufo_-_eco_willson
Accessing gluster ufo_-_eco_willsonAccessing gluster ufo_-_eco_willson
Accessing gluster ufo_-_eco_willson
 
Gluster technical overview
Gluster technical overviewGluster technical overview
Gluster technical overview
 
YDAL Barcelona
YDAL BarcelonaYDAL Barcelona
YDAL Barcelona
 
State of the_gluster_-_lceu
State of the_gluster_-_lceuState of the_gluster_-_lceu
State of the_gluster_-_lceu
 
Integrating gluster fs,_qemu_and_ovirt-vijay_bellur-linuxcon_eu_2013
Integrating gluster fs,_qemu_and_ovirt-vijay_bellur-linuxcon_eu_2013Integrating gluster fs,_qemu_and_ovirt-vijay_bellur-linuxcon_eu_2013
Integrating gluster fs,_qemu_and_ovirt-vijay_bellur-linuxcon_eu_2013
 
GlusterFS Cinder integration presented at GlusterNight Paris event @ Openstac...
GlusterFS Cinder integration presented at GlusterNight Paris event @ Openstac...GlusterFS Cinder integration presented at GlusterNight Paris event @ Openstac...
GlusterFS Cinder integration presented at GlusterNight Paris event @ Openstac...
 
Dedupe nmamit
Dedupe nmamitDedupe nmamit
Dedupe nmamit
 
Ceph Research at UCSC
Ceph Research at UCSCCeph Research at UCSC
Ceph Research at UCSC
 
Gluster fs architecture_&_roadmap_atin_punemeetup_2015
Gluster fs architecture_&_roadmap_atin_punemeetup_2015Gluster fs architecture_&_roadmap_atin_punemeetup_2015
Gluster fs architecture_&_roadmap_atin_punemeetup_2015
 
OSBConf 2015 | Scale out backups with bareos and gluster by niels de vos
OSBConf 2015 | Scale out backups with bareos and gluster by niels de vosOSBConf 2015 | Scale out backups with bareos and gluster by niels de vos
OSBConf 2015 | Scale out backups with bareos and gluster by niels de vos
 
Ceph Month 2021: RADOS Update
Ceph Month 2021: RADOS UpdateCeph Month 2021: RADOS Update
Ceph Month 2021: RADOS Update
 
Running OpenStack in Production - Barcamp Saigon 2016
Running OpenStack in Production - Barcamp Saigon 2016Running OpenStack in Production - Barcamp Saigon 2016
Running OpenStack in Production - Barcamp Saigon 2016
 
Red Hat Ceph Storage Roadmap: January 2016
Red Hat Ceph Storage Roadmap: January 2016Red Hat Ceph Storage Roadmap: January 2016
Red Hat Ceph Storage Roadmap: January 2016
 
GlusterFs Architecture & Roadmap - LinuxCon EU 2013
GlusterFs Architecture & Roadmap - LinuxCon EU 2013GlusterFs Architecture & Roadmap - LinuxCon EU 2013
GlusterFs Architecture & Roadmap - LinuxCon EU 2013
 
OSDC 2013 | Distributed Storage with GlusterFS by Dr. Udo Seidel
OSDC 2013 | Distributed Storage with GlusterFS by Dr. Udo SeidelOSDC 2013 | Distributed Storage with GlusterFS by Dr. Udo Seidel
OSDC 2013 | Distributed Storage with GlusterFS by Dr. Udo Seidel
 

Similar to Cncf meetup-rook

Ceph storage for ocp deploying and managing ceph on top of open shift conta...
Ceph storage for ocp   deploying and managing ceph on top of open shift conta...Ceph storage for ocp   deploying and managing ceph on top of open shift conta...
Ceph storage for ocp deploying and managing ceph on top of open shift conta...
OrFriedmann
 

Similar to Cncf meetup-rook (20)

Introduction to rook
Introduction to rookIntroduction to rook
Introduction to rook
 
2021.02 new in Ceph Pacific Dashboard
2021.02 new in Ceph Pacific Dashboard2021.02 new in Ceph Pacific Dashboard
2021.02 new in Ceph Pacific Dashboard
 
Ceph storage for ocp deploying and managing ceph on top of open shift conta...
Ceph storage for ocp   deploying and managing ceph on top of open shift conta...Ceph storage for ocp   deploying and managing ceph on top of open shift conta...
Ceph storage for ocp deploying and managing ceph on top of open shift conta...
 
Ippevent : openshift Introduction
Ippevent : openshift IntroductionIppevent : openshift Introduction
Ippevent : openshift Introduction
 
CEPH DAY BERLIN - WHAT'S NEW IN CEPH
CEPH DAY BERLIN - WHAT'S NEW IN CEPH CEPH DAY BERLIN - WHAT'S NEW IN CEPH
CEPH DAY BERLIN - WHAT'S NEW IN CEPH
 
Community Update at OpenStack Summit Boston
Community Update at OpenStack Summit BostonCommunity Update at OpenStack Summit Boston
Community Update at OpenStack Summit Boston
 
OpenStack Best Practices and Considerations - terasky tech day
OpenStack Best Practices and Considerations  - terasky tech dayOpenStack Best Practices and Considerations  - terasky tech day
OpenStack Best Practices and Considerations - terasky tech day
 
Storage 101: Rook and Ceph - Open Infrastructure Denver 2019
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
 
Block Storage For VMs With Ceph
Block Storage For VMs With CephBlock Storage For VMs With Ceph
Block Storage For VMs With Ceph
 
Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...
Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...
Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...
 
Container orchestration
Container orchestrationContainer orchestration
Container orchestration
 
XenSummit - 08/28/2012
XenSummit - 08/28/2012XenSummit - 08/28/2012
XenSummit - 08/28/2012
 
Scale 10x 01:22:12
Scale 10x 01:22:12Scale 10x 01:22:12
Scale 10x 01:22:12
 
Kubernetes in Docker
Kubernetes in DockerKubernetes in Docker
Kubernetes in Docker
 
Strata - 03/31/2012
Strata - 03/31/2012Strata - 03/31/2012
Strata - 03/31/2012
 
What's New with Ceph - Ceph Day Silicon Valley
What's New with Ceph - Ceph Day Silicon ValleyWhat's New with Ceph - Ceph Day Silicon Valley
What's New with Ceph - Ceph Day Silicon Valley
 
Scaling Up Logging and Metrics
Scaling Up Logging and MetricsScaling Up Logging and Metrics
Scaling Up Logging and Metrics
 
Kubernetes in Docker
Kubernetes in DockerKubernetes in Docker
Kubernetes in Docker
 
Open Source Storage at Scale: Ceph @ GRNET
Open Source Storage at Scale: Ceph @ GRNETOpen Source Storage at Scale: Ceph @ GRNET
Open Source Storage at Scale: Ceph @ GRNET
 
Storage tiering and erasure coding in Ceph (SCaLE13x)
Storage tiering and erasure coding in Ceph (SCaLE13x)Storage tiering and erasure coding in Ceph (SCaLE13x)
Storage tiering and erasure coding in Ceph (SCaLE13x)
 

More from Juraj Hantak

More from Juraj Hantak (20)

Kubernetes day 2_jozef_halgas_pf
Kubernetes day 2_jozef_halgas_pfKubernetes day 2_jozef_halgas_pf
Kubernetes day 2_jozef_halgas_pf
 
Kubernetes day 2 @ zse energia
Kubernetes day 2 @ zse energiaKubernetes day 2 @ zse energia
Kubernetes day 2 @ zse energia
 
Dev ops culture_final
Dev ops culture_finalDev ops culture_final
Dev ops culture_final
 
Promise of DevOps
Promise of DevOpsPromise of DevOps
Promise of DevOps
 
23 meetup rancher
23 meetup rancher23 meetup rancher
23 meetup rancher
 
Integracia security do ci cd pipelines
Integracia security do ci cd pipelinesIntegracia security do ci cd pipelines
Integracia security do ci cd pipelines
 
CNCF opa
CNCF opaCNCF opa
CNCF opa
 
Secrets management vault cncf meetup
Secrets management vault cncf meetupSecrets management vault cncf meetup
Secrets management vault cncf meetup
 
Introductiontohelmcharts2021
Introductiontohelmcharts2021Introductiontohelmcharts2021
Introductiontohelmcharts2021
 
Intro to creating kubernetes operators
Intro to creating kubernetes operators Intro to creating kubernetes operators
Intro to creating kubernetes operators
 
19. stretnutie komunity kubernetes
19. stretnutie komunity kubernetes19. stretnutie komunity kubernetes
19. stretnutie komunity kubernetes
 
16. Cncf meetup-docker
16. Cncf meetup-docker16. Cncf meetup-docker
16. Cncf meetup-docker
 
16. meetup sietovy model v kubernetes
16. meetup sietovy model v kubernetes16. meetup sietovy model v kubernetes
16. meetup sietovy model v kubernetes
 
16.meetup uvod
16.meetup uvod16.meetup uvod
16.meetup uvod
 
14. meetup
14. meetup14. meetup
14. meetup
 
Terraform a gitlab ci
Terraform a gitlab ciTerraform a gitlab ci
Terraform a gitlab ci
 
Monitoring with prometheus at scale
Monitoring with prometheus at scaleMonitoring with prometheus at scale
Monitoring with prometheus at scale
 
Kubernetes monitoring using prometheus stack
Kubernetes monitoring using prometheus stackKubernetes monitoring using prometheus stack
Kubernetes monitoring using prometheus stack
 
12.cncfsk meetup observability and analysis
12.cncfsk meetup observability and analysis12.cncfsk meetup observability and analysis
12.cncfsk meetup observability and analysis
 
Grafana 7.0
Grafana 7.0Grafana 7.0
Grafana 7.0
 

Recently uploaded

Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
gajnagarg
 
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
ydyuyu
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
ayvbos
 
一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理
一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理
一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理
AS
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
pxcywzqs
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Monica Sydney
 

Recently uploaded (20)

South Bopal [ (Call Girls) in Ahmedabad ₹7.5k Pick Up & Drop With Cash Paymen...
South Bopal [ (Call Girls) in Ahmedabad ₹7.5k Pick Up & Drop With Cash Paymen...South Bopal [ (Call Girls) in Ahmedabad ₹7.5k Pick Up & Drop With Cash Paymen...
South Bopal [ (Call Girls) in Ahmedabad ₹7.5k Pick Up & Drop With Cash Paymen...
 
Call girls Service Canacona - 8250092165 Our call girls are sure to provide y...
Call girls Service Canacona - 8250092165 Our call girls are sure to provide y...Call girls Service Canacona - 8250092165 Our call girls are sure to provide y...
Call girls Service Canacona - 8250092165 Our call girls are sure to provide y...
 
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
Top profile Call Girls In Dindigul [ 7014168258 ] Call Me For Genuine Models ...
 
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
20240507 QFM013 Machine Intelligence Reading List April 2024.pdf
 
PIC Microcontroller Structure & Assembly Language.ppsx
PIC Microcontroller Structure & Assembly Language.ppsxPIC Microcontroller Structure & Assembly Language.ppsx
PIC Microcontroller Structure & Assembly Language.ppsx
 
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrStory Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Story Board.pptxrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
 
Local Call Girls in Seoni 9332606886 HOT & SEXY Models beautiful and charmin...
Local Call Girls in Seoni  9332606886 HOT & SEXY Models beautiful and charmin...Local Call Girls in Seoni  9332606886 HOT & SEXY Models beautiful and charmin...
Local Call Girls in Seoni 9332606886 HOT & SEXY Models beautiful and charmin...
 
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime NagercoilNagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
Nagercoil Escorts Service Girl ^ 9332606886, WhatsApp Anytime Nagercoil
 
Down bad crying at the gym t shirtsDown bad crying at the gym t shirts
Down bad crying at the gym t shirtsDown bad crying at the gym t shirtsDown bad crying at the gym t shirtsDown bad crying at the gym t shirts
Down bad crying at the gym t shirtsDown bad crying at the gym t shirts
 
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
哪里办理美国迈阿密大学毕业证(本硕)umiami在读证明存档可查
 
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
Tadepalligudem Escorts Service Girl ^ 9332606886, WhatsApp Anytime Tadepallig...
 
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
一比一原版(Curtin毕业证书)科廷大学毕业证原件一模一样
 
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac RoomVip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
Vip Firozabad Phone 8250092165 Escorts Service At 6k To 30k Along With Ac Room
 
一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理
一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理
一比一原版(Dundee毕业证书)英国爱丁堡龙比亚大学毕业证如何办理
 
Call girls Service in Ajman 0505086370 Ajman call girls
Call girls Service in Ajman 0505086370 Ajman call girlsCall girls Service in Ajman 0505086370 Ajman call girls
Call girls Service in Ajman 0505086370 Ajman call girls
 
Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.Meaning of On page SEO & its process in detail.
Meaning of On page SEO & its process in detail.
 
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
一比一原版(Offer)康考迪亚大学毕业证学位证靠谱定制
 
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi EscortsRussian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
Russian Escort Abu Dhabi 0503464457 Abu DHabi Escorts
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
Research Assignment - NIST SP800 [172 A] - Presentation.pptx
Research Assignment - NIST SP800 [172 A] - Presentation.pptxResearch Assignment - NIST SP800 [172 A] - Presentation.pptx
Research Assignment - NIST SP800 [172 A] - Presentation.pptx
 

Cncf meetup-rook

  • 1. Rook.io 6. CNCF - Kubernetes Meetup Dávid Kőszeghy
  • 2. Agenda ● Rook.io ● Ceph.io ● Demo! :) ● Why Rook.io?
  • 3. Rook.io ● an open source cloud-native storage orchestrator ● Various storage providers supported (2 stable) ● Apache 2.0 license ● CSI support ● CRD configuration Provisioning ● Helm.sh deployment of operator ● K8s v.1.10 minimum ● RBAC & Flexvolume config needed ● RBD, LVM2 required module in OS
  • 4. Rook.io - Overview ● Incubator state in CNCF ● Framework for various Storage providers ○ Ceph, CockroachDB, Minio, Nexenta, Cassandra ● The most feasible way how to provide Storage provider if the provider is missing the storage integration ● Testing suite in Rook.io ● Operator paradigm
  • 6. Rook Ceph - Overview ● Ceph is a highly scalable distributed storage solution ● block storage, object storage, and shared file systems ● production tested solution for distributed storage ● Ceph system is being run using Kubernetes primitives ● Encryption support for underlying storage ● Monitoring support for Prometheus
  • 7. Ceph Terminology 1 ● Object storage (RGW) ○ S3 and Swift API compatible (for the most part) ○ User management, snapshots, atomic transaction, partial/complete RW ○ object level key-value mappings ● Block storage (RBD) ○ Automatic replication, Image import/export, Read-only snapshots, Resizable images ○ Kubespray does also generic configuration and setup of the OS system, etc. ○ Ability to mount with Linux or QEMU KVM clients! ● CephFS ○ POSIX-compliant network file system ○ Automatically balances the file system to deliver maximum performance ○ Virtually unlimited storage to file systems
  • 8. Ceph Terminology 2 ● Monitors (MONs) ○ Most important components of Ceph structure ○ Cluster state, OSD map, CRUSH map, MGR map, MON map ○ Critical cluster state (including all maps) required for Ceph daemons to coordinate with each other ○ Managing authentication between daemons and clients ● Managers (MGRs) ○ Keeping track of runtime metrics, current state of the cluster ○ Provides Ceph Admin UI Dashboard/REST API (subset of actions from CLI present in UI) ○ Integration with Prometheus is directly possible (but not advisable for PROD yet) ● Object Storage Daemons (OSDs) a Metadata Storage Servers (MDSs) ○ stores data, handles data replication, recovery, rebalancing ○ Automatically balances the file system to deliver maximum performance ○ MDSs stores meta information for i.e `find, ls` to unburden OSDs and speed up response (HDDs) for CephFS
  • 11. Live Demo - Rook.io v1.2.1 ● Configure Helm.sh deployment for Rook Ceph Operator ● Deploy Rook.io operator for Ceph ● Create CRD for Ceph structures referencing HW ● UC: MySQL DB deployment ● UC: Add another server ● UC: Format one drive and recover
  • 12. Rook Ceph Operator ● Helm based deployment ○ values.yaml for configuration of the deployment More in live demo...
  • 13. CRD - Ceph Cluster ● Main CRD to configure Ceph Cluster ● Host based ○ Specify target hosts and raw devices ○ Configure specifics per hots or globally ○ dataDirHostPath - Host Path to store config and data for components will be stored (!) ● PVC based ○ Specify Storage class for Rook ○ Volume Claim Templates for specifying storage requirements ○
  • 14. CRD - Ceph Block Pool ● Object representation for block storage ● Block storage supports connection from Ceph StorageClass ● Replication based pool ● Erasure Coded pool (lowest increase only 1.25x) ○ BlueStore filesystem ○ Performance overhead of creating and distributing the chunks in the cluster
  • 15. CRD - StorageClass ● Connection through Ceph CSI driver ● Be aware of “reclaimPolicy” ● Parameters configuration in demo
  • 16. Difference between standalone Ceph and Rook ● MONs are failovered by operator automatically with timeout configuration - i.e health check management ● Even if one of your nodes get HW wiped (ephemeral SSDs) operator can recover state and “copy” data ● First class citizen Ceph through CRD objects ● Storage options (metadata, osds, filetypes) are managed from one place per cluster ● Partially automated updates between versions, some even worry free. ● Without vendor lock in ● Rook offers also other managed storage options (NFS, EdgeFS, Minio, CockroachDB..)
  • 17. We are hiring! Looking for DevOps engineer! ● If you’d like to work with us on multiple K8s clusters ● We are using many CNCF solutions ○ Rook.io, Harbor.io, Fluentd ○ Prometheus ○ Jaeger Tracing ○ Vault by HashiCorp ○ Consul Templates ○ NGiNX Ingress ○ and many more. ● Create and manage CI/CD pipelines ● Automate infrastructure ● Security oriented work ● Ansible for provisioning outside k8s ● Helm.sh charts ● Dockerfiles ● Help improve and grow our stack!