SlideShare ist ein Scribd-Unternehmen logo
1 von 59
Downloaden Sie, um offline zu lesen
Stateful Applications on
Kubernetes with K8ssandra
K8ssandra = Kubernetes + Cassandra and MORE !
1
About me
➢ Training
➢ Teaching
➢ Reference Applications
➢ Support
➢ Public Speaking
➢ Creator of ff4j (ff4j.org)
➢ Maintainer for 7 years+
@clunven
@clun
Stateful Applications on
Kubernetes with K8ssandra
1. What’s Cassandra good for ?
2. Running Cassandra: From Docker to
Kubernetes
3. Stateful Applications: From
Kubernetes to K8ssandra
3
Everything you will
see today is free and
open source.
Viewer discretion is
advised.
4
5
#1 What Cassandra is
good for ? And Why ?
Cloud Native ?
Cloud Native Asturias @cloudnativeast @clunven
NODE
NODE
NODE
NODE
NODE NODE
NODE
ApacheCassandra™
1 Installation = 1 NODE
✔ Capacity = ~ 2-4TB
✔ Throughput = LOTS Tx/sec/core
Communication:
✔ Gossiping
DataCenter | Ring
= NoSQL Distributed Database
6
Cloud Native Asturias @cloudnativeast @clunven
Apache Cassandra™ Scales linearly
7
Cloud Native Asturias @cloudnativeast @clunven
Country City Population
USA New York 8.000.000
USA Los Angeles 4.000.000
FR Paris 2.230.000
DE Berlin 3.350.000
UK London 9.200.000
AU Sydney 4.900.000
FR Toulouse 1.100.000
JP Tokyo 37.430.000
IN Mumbai 20.200.000
DE Nuremberg 500.000
CA Montreal 4.200.000
CA Toronto 6.200.000
Partition Key
Data is distributed
8
Cloud Native Asturias @cloudnativeast @clunven
Country City Population
USA New York 8.000.000
USA Los Angeles 4.000.000
UK London 9.200.000
AU Sydney 4.900.000
JP Tokyo 37.430.000
IN Mumbai 20.200.000
DE Berlin 3.350.000
DE Nuremberg 500.000
CA Montreal 4.200.000
CA Toronto 6.200.000
FR Toulouse 1.100.000
FR Paris 2.230.000
Data is Distributed
9
Cloud Native Asturias @cloudnativeast @clunven
RF = 3
Replication Factor 3
means that every
row is stored on 3
different nodes
0
50
33
17
83
67
Data is Replicated
10
Cloud Native Asturias @cloudnativeast @clunven
59 (data)
RF = 3
0
50
33
17
83
67
Replication within the Ring
11
Cloud Native Asturias @cloudnativeast @clunven
RF = 3
0
50
33
17
83
67
59 (data)
Replication within the Ring
12
Cloud Native Asturias @cloudnativeast @clunven
RF = 3
0
50
33
17
83
67
59 (data)
59 (data)
59 (data)
Replication within the Ring
13
Cloud Native Asturias @cloudnativeast @clunven
RF = 3
0
50
33
17
83
67
59 (data)
59 (data)
59 (data)
Hint
Node Failure
14
Cloud Native Asturias @cloudnativeast @clunven
RF = 3
0
50
33
17
83
67
59 (data)
59 (data)
59 (data)
Hint
Node Failure Recovered
15
Cloud Native Asturias @cloudnativeast @clunven
• Geographic Distribution • Hybrid-Cloud and Multi-Cloud
Data Distributed Everywhere
On-premise
16
Cloud Native Asturias @cloudnativeast @clunven
High Throughput
High Volume
Heavy Writes
Heavy Reads
Event Streaming Log Analytics
Internet of Things Other Time Series
Mission-Critical
No Data Loss
Always-on
Scalability
Availability
Distributed
Cloud-native
Caching Pricing
Market Data Inventory
Banking Retail
Tracking /
Logistics
Customer
Experience
API Layer
Cloud
Deployments
Distributed Data
Network
Horizontal Scaling
Modern Cloud
Applications
Global Presence
Workload Mobility
Compliance /
GDPR
Understanding Use Cases
17
Cloud Native Asturias @cloudnativeast @clunven
References (2019)
18
Apache Cassandra™ Vocabulary
19
DATACENTER
RING
Node
Rack
DATACENTER
RING
Cluster
20
#2 Running Cassandra:
From Docker to Kubernetes
Cloud Native Asturias @cloudnativeast @clunven
21
https://hub.docker.com/_/cassandra/#!
$ docker run
--name some-cassandra -d 
-e CASSANDRA_BROADCAST_ADDRESS=10.42.42.42 
-p 7000:7000,9042:9042
-v /my/own/datadir:/var/lib/cassandra 
cassandra:tag
Running Cassandra in Docker
● Define a proper network
● Env variables can be defined to
override keys in cassandra.yaml .
● Export ports 7000, 9042, …
● Define volumes to stores data
○ /var/lib/cassandra
Cloud Native Asturias @cloudnativeast @clunven
Docker-compose
Define and run multi-container Docker applications through the use of a YAML file to configure your
applications
version: '2'
services:
cassandra-seed:
container_name: cassandra-seed-node
image: cassandra: 3.11.6
ports:
- "9042:9042" # Native transport
- "7199:7199" # JMX
- "9160:9160" # Thrift clients
cassandra-node:
image: cassandra: 3.11.6
command: /bin/bash -c "echo 'Waiting for seed node' && sleep 30 && /docker-entrypoint.sh cassandra -f"
environment:
- "CASSANDRA_SEEDS=cassandra-seed-node"
depends_on:
- "cassandra-seed"
docker-compose -f docker-compose.yml up -d --scale cassandra-node=2
22
Cloud Native Asturias @cloudnativeast @clunven 23
Cloud Native Asturias @cloudnativeast @clunven
Why Kubernetes ?
Automatic bin packing
Self-healing
Horizontal scaling
Service discovery
Load balancing
Automated rollouts and rollbacks
Storage orchestration
Secret and configuration
management
Batch execution
24
Cloud Native Asturias @cloudnativeast @clunven
K8s Infrastructure
Cluster:
Kubernetes cluster.
Node:
Worker machine in Kubernetes cluster.
Master:
Kubernetes Control Plane.
Kubernetes Control Plane
REST API
25
Cloud Native Asturias @cloudnativeast @clunven
K8s Infrastructure
K8s API Server
Kubernetes API.
Controller Manager
Kubernetes controller manager.
Scheduler
In charge of ensuring Pods placement.
ETCD
Kubernetes’ backing store.
Kubernetes Control Plane
Scheduler
(bind pod to node)
API Server
(REST API)
Controller Manager
(controller loop)
ETCD
(k/v db - ssot)
26
Cloud Native Asturias @cloudnativeast @clunven
K8s Infrastructure
Kubernetes Workers (minion)
Kubelet:
The kubelet is the primary “node agent”
that runs on each node.
Kube-proxy
The Kubernetes network proxy runs on
each node. This reflects services as
defined in the Kubernetes API on each
node.
POD
Collection of containers that can
run on a host.
This resource is created by clients
and scheduled onto hosts.
Operating System
Containerd
container
27
Kubernetes Namespace
28
Namespace: Namespace provides a
scope for Names. Use of multiple
namespaces is optional.
default kube-system
kube-public
cass-operator
We create resources in
namespaces span across node.
K8s Primitives : Configuration
cass-operator
ConfigMap: ConfigMap holds
configuration data for pods to
consume..
Secret: Secret holds secret data of a
certain type..
PersistentVolume: is a storage
resource provisioned by an
administrator.
PersistentVolumeClaim:
PersistentVolumeClaim is a user's
request for and claim to a persistent
volume.
StorageClass: StorageClass describes
the parameters for a class of storage
for which PersistentVolumes can be
dynamically provisioned.
K8s Primitives : Storage
cass-operator
create
K8s Primitives : StatefulSet
cass-operator
create
StatefulSet: StatefulSet represents
a set of pods with consistent
identities. Identities are defined as:
network, storage.
create
Cloud Native Asturias @cloudnativeast @clunven
I give you 90 mins
32
Cloud Native Asturias @cloudnativeast @clunven 33
K8s Primitives : Custom Resources
34
Custom Resource Definition :
Extensions of the Kubernetes API.
Customization making K8s more modular
• Spec declares the desired state of a resource
○ Configuration settings provided by the user
○ Default values expanded by the system
○ Other properties initialized by other internal
components after resource creation.
• Status : describes the object’s current, observed state.
○ Kubernetes API server provides a REST API to
clients. A Kubernetes object or resource is a REST
resource.
○ The status of a Kubernetes resource is typically
implemented as a REST subresource that can
only be modified by internal, system components
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: crontabs.stable.example.com
spec:
# group name to use for REST API: /apis/<group>/<version>
group: stable.example.com
# list of versions supported by this CustomResourceDefinition
versions:
- name: v1
# Each version can be enabled/disabled by Served flag.
served: true
# One and only one version must be marked as the storage
version.
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
cronSpec:
type: string
image:
type: string
replicas:
type: integer
# either Namespaced or Cluster
scope: Namespaced
names:
[...}
K8s Primitives : Operator
35
Building an application and driving an application on top
of Kubernetes, behind Kubernetes APIs
A Kubernetes Operator helps extend the types of
applications that can run on Kubernetes by allowing
developers to provide additional knowledge to applications
that need to maintain state.” –Jonathan S. Katz
● Reconcile CRD instances which states defined within
the “spec” attribute.
● Listen events and status evolution to react
accordingly.
cass-operator
Operator
reconcile
e
v
e
n
t
s
events
states
Kubernetes Probes (readiness, liveness)
36
Cassandra Management API Service
CASSANDRA
side-car
busybox
https://github.com/datastax/management-api-for-apache-cassandra
Sample Deployment with Cass-operator
37
cass-operator
WebHook Security
Operator
dc1 cluster1-dc1-default-sts
cluster1-dc1-default-sts-0
server-storage
server-data-cluster1
-dc1-default-sts-0
cluster1-superuser
cluster1-dc1
-all-pods-service cluster1-dc1-
service
cluster1-dc1-
seed-service
38
#3 Stateful Applications :
From Kubernetes to K8ssandra
Apache
Cassandra®
Cass-Operator
CQL Endpoint
Cassandra
in
Kubernetes
Apache
Cassandra®
Cass-Operator
Metrics
Collector
(MCAC)
Traefik UI
Prometheus UI
Grafana
CQL Endpoint
Monitoring
Monitoring (Kube-prometheus-stack)
41
https://github.com/datastax/metric-collector-for-apache-cassandra
Apache
Cassandra®
Cass-Operator
Metrics
Collector
(MCAC)
Traefik UI
Prometheus UI
Grafana
CQL Endpoint
Backups
Cassandra
Medusa
(backup/restore)
📁S3, GCP,...
Apache
Cassandra®
Cass-Operator
Metrics
Collector
(MCAC)
Traefik UI
Prometheus UI
Grafana
CQL Endpoint
Repairs
Cassandra
Medusa
(backup/restore)
📁S3, GCP,...
Repear
(repair)
Repear UI
44
Apache
Cassandra®
Cass-Operator
Metrics
Collector
(MCAC)
Traefik UI
Prometheus UI
Grafana
CQL Endpoint
ACCESSING
THE
DATA
Cassandra
Medusa
(backup/restore)
📁S3, GCP,...
Repear
(repair)
Repear UI
“Start with Why” Simon Sinek
• Developers
• Do you like learning query languages (CQL, N1QL, GQL, cypher, gremlin….)
• No. Save my JSON, give it to me back when I need it
• ORM / Spring Data are so popular nowadays
• Do you care about how your data is stored ?
• Physical data model part of the interface…yike
• Create structures based on queries
• Do you like installing and running Databases locally
• especially distributed databases
• especially with datasets and integration tests
© 2020 Datastax, Inc. All rights reserved.
46
“Start with Why” Simon Sinek
• SRE, Operators and Databases Administrators…
• Do you allow developers to execute direct queries against your DB ?
• Do you like opening port ranges like 0-65536 to allow
communications with applications, especially in the cloud.
• Do you like creating dedicated projects and hiring people just to
create APIs to expose an existing treatment (digital transformation
FTW)
And when those 2 meet each other
Developers
SRE
API Data Gateways rational
Ubiquitous, API-based Consumption
MICROSERVICES
DEVELOPERS
Developers want the option
to use modern APIs and
development gateways.
Cassandra is a database
designed for the new
standard and the associated
APIs that facilitate the first
choice of developers.
Apache
Cassandra®
Cass-Operator
Cassandra
Medusa
(backup/restore)
Metrics
Collector
📁S3, GCP,...
Repear
(repair)
Graphql endpoint +
Playground
rest/doc API +
Swagger
Authentication
Endpoint
Repear UI
Traefik UI
Prometheus UI
Grafana
CQL Endpoint
ACCESSING
THE
DATA
51
Full working scalable database with administration tools and easy data access
“Cloud native”
K8ssandra
+ =
Apache
Cassandra®
Cass-Operator
Cassandra
Medusa
(backup/restore)
Metrics
Collector
📁S3, GCP,...
Repear
(repair)
Graphql endpoint +
Playground
rest/doc API +
Swagger
Authentication
Endpoint
Repear UI
Traefik UI
Prometheus UI
Grafana
CQL Endpoint
● Apache Cassandra™ match Cloud Deployments
principles by design
● Apache Cassandra™ evolved from Docker to
fully “kubernetes ready” (operator)
● Stateful applications in containers are
challenging: scaling, consistency, resilience
● K8ssandra provides
○ a scalable data store based on Cassandra
○ an api layer named Stargate
and can be used to store data or states.
KEY IDEAS
Extra
Resources
Weekly Workshops
https://www.datastax.com/workshops
Join our 9k Discord Community
The Fellowship of the RINGS
https://bit.ly/cassandra-workshop
Thank you!
@clun
@clunven
About me
➢ Training
➢ Teaching
➢ Reference Applications
➢ Support
➢ Public Speaking
➢ Creator of ff4j (ff4j.org)
➢ Maintainer for 7 years+
@clunven
@clun

Weitere ähnliche Inhalte

Was ist angesagt?

Kubernetes Requests and Limits
Kubernetes Requests and LimitsKubernetes Requests and Limits
Kubernetes Requests and LimitsAhmed AbouZaid
 
Shakr - Container CI/CD with Google Cloud Platform
Shakr - Container CI/CD with Google Cloud PlatformShakr - Container CI/CD with Google Cloud Platform
Shakr - Container CI/CD with Google Cloud PlatformMinku Lee
 
Container World 2017 - Characterizing and Contrasting Container Orchestrators
Container World 2017 - Characterizing and Contrasting Container OrchestratorsContainer World 2017 - Characterizing and Contrasting Container Orchestrators
Container World 2017 - Characterizing and Contrasting Container OrchestratorsLee Calcote
 
Kubernetes best practices
Kubernetes best practicesKubernetes best practices
Kubernetes best practicesBill Liu
 
Ofir Makmal - Intro To Kubernetes Operators - Google Cloud Summit 2018 Tel Aviv
Ofir Makmal - Intro To Kubernetes Operators - Google Cloud Summit 2018 Tel AvivOfir Makmal - Intro To Kubernetes Operators - Google Cloud Summit 2018 Tel Aviv
Ofir Makmal - Intro To Kubernetes Operators - Google Cloud Summit 2018 Tel AvivOfir Makmal
 
Building Clustered Applications with Kubernetes and Docker
Building Clustered Applications with Kubernetes and DockerBuilding Clustered Applications with Kubernetes and Docker
Building Clustered Applications with Kubernetes and DockerSteve Watt
 
Understanding Kubernetes
Understanding KubernetesUnderstanding Kubernetes
Understanding KubernetesTu Pham
 
Kafka on Kubernetes: Keeping It Simple (Nikki Thean, Etsy) Kafka Summit SF 2019
Kafka on Kubernetes: Keeping It Simple (Nikki Thean, Etsy) Kafka Summit SF 2019Kafka on Kubernetes: Keeping It Simple (Nikki Thean, Etsy) Kafka Summit SF 2019
Kafka on Kubernetes: Keeping It Simple (Nikki Thean, Etsy) Kafka Summit SF 2019confluent
 
Beyond Ingresses - Better Traffic Management in Kubernetes
Beyond Ingresses - Better Traffic Management in KubernetesBeyond Ingresses - Better Traffic Management in Kubernetes
Beyond Ingresses - Better Traffic Management in KubernetesMark McBride
 
Federation of Kubernetes Clusters (Ubernetes) KubeCon 2015 slides - Quinton H...
Federation of Kubernetes Clusters (Ubernetes) KubeCon 2015 slides - Quinton H...Federation of Kubernetes Clusters (Ubernetes) KubeCon 2015 slides - Quinton H...
Federation of Kubernetes Clusters (Ubernetes) KubeCon 2015 slides - Quinton H...Quinton Hoole
 
Kubernetes extensibility
Kubernetes extensibilityKubernetes extensibility
Kubernetes extensibilityDocker, Inc.
 
Kubernetes Meetup: CNI, Flex Volume, and Scheduler
Kubernetes Meetup: CNI, Flex Volume, and SchedulerKubernetes Meetup: CNI, Flex Volume, and Scheduler
Kubernetes Meetup: CNI, Flex Volume, and SchedulerKatie Crimi
 
Deep dive into Kubernetes Networking
Deep dive into Kubernetes NetworkingDeep dive into Kubernetes Networking
Deep dive into Kubernetes NetworkingSreenivas Makam
 
Kubernetes and Istio
Kubernetes and IstioKubernetes and Istio
Kubernetes and IstioKetan Gote
 
Federated Kubernetes: As a Platform for Distributed Scientific Computing
Federated Kubernetes: As a Platform for Distributed Scientific ComputingFederated Kubernetes: As a Platform for Distributed Scientific Computing
Federated Kubernetes: As a Platform for Distributed Scientific ComputingBob Killen
 
Topology Service Injection using Dragonflow & Kuryr
Topology Service Injection using Dragonflow & KuryrTopology Service Injection using Dragonflow & Kuryr
Topology Service Injection using Dragonflow & KuryrEshed Gal-Or
 
Are you ready to be edgy? Bringing applications to the edge of the network
Are you ready to be edgy? Bringing applications to the edge of the networkAre you ready to be edgy? Bringing applications to the edge of the network
Are you ready to be edgy? Bringing applications to the edge of the networkMegan O'Keefe
 
Serverless ETL and Optimization on ML pipeline
Serverless ETL and Optimization on ML pipelineServerless ETL and Optimization on ML pipeline
Serverless ETL and Optimization on ML pipelineShu-Jeng Hsieh
 

Was ist angesagt? (20)

Kubernetes Requests and Limits
Kubernetes Requests and LimitsKubernetes Requests and Limits
Kubernetes Requests and Limits
 
Shakr - Container CI/CD with Google Cloud Platform
Shakr - Container CI/CD with Google Cloud PlatformShakr - Container CI/CD with Google Cloud Platform
Shakr - Container CI/CD with Google Cloud Platform
 
Container World 2017 - Characterizing and Contrasting Container Orchestrators
Container World 2017 - Characterizing and Contrasting Container OrchestratorsContainer World 2017 - Characterizing and Contrasting Container Orchestrators
Container World 2017 - Characterizing and Contrasting Container Orchestrators
 
Kubernetes 101 and Fun
Kubernetes 101 and FunKubernetes 101 and Fun
Kubernetes 101 and Fun
 
Kubernetes best practices
Kubernetes best practicesKubernetes best practices
Kubernetes best practices
 
Ofir Makmal - Intro To Kubernetes Operators - Google Cloud Summit 2018 Tel Aviv
Ofir Makmal - Intro To Kubernetes Operators - Google Cloud Summit 2018 Tel AvivOfir Makmal - Intro To Kubernetes Operators - Google Cloud Summit 2018 Tel Aviv
Ofir Makmal - Intro To Kubernetes Operators - Google Cloud Summit 2018 Tel Aviv
 
Building Clustered Applications with Kubernetes and Docker
Building Clustered Applications with Kubernetes and DockerBuilding Clustered Applications with Kubernetes and Docker
Building Clustered Applications with Kubernetes and Docker
 
Understanding Kubernetes
Understanding KubernetesUnderstanding Kubernetes
Understanding Kubernetes
 
Kafka on Kubernetes: Keeping It Simple (Nikki Thean, Etsy) Kafka Summit SF 2019
Kafka on Kubernetes: Keeping It Simple (Nikki Thean, Etsy) Kafka Summit SF 2019Kafka on Kubernetes: Keeping It Simple (Nikki Thean, Etsy) Kafka Summit SF 2019
Kafka on Kubernetes: Keeping It Simple (Nikki Thean, Etsy) Kafka Summit SF 2019
 
Beyond Ingresses - Better Traffic Management in Kubernetes
Beyond Ingresses - Better Traffic Management in KubernetesBeyond Ingresses - Better Traffic Management in Kubernetes
Beyond Ingresses - Better Traffic Management in Kubernetes
 
What is Kubernets
What is  KubernetsWhat is  Kubernets
What is Kubernets
 
Federation of Kubernetes Clusters (Ubernetes) KubeCon 2015 slides - Quinton H...
Federation of Kubernetes Clusters (Ubernetes) KubeCon 2015 slides - Quinton H...Federation of Kubernetes Clusters (Ubernetes) KubeCon 2015 slides - Quinton H...
Federation of Kubernetes Clusters (Ubernetes) KubeCon 2015 slides - Quinton H...
 
Kubernetes extensibility
Kubernetes extensibilityKubernetes extensibility
Kubernetes extensibility
 
Kubernetes Meetup: CNI, Flex Volume, and Scheduler
Kubernetes Meetup: CNI, Flex Volume, and SchedulerKubernetes Meetup: CNI, Flex Volume, and Scheduler
Kubernetes Meetup: CNI, Flex Volume, and Scheduler
 
Deep dive into Kubernetes Networking
Deep dive into Kubernetes NetworkingDeep dive into Kubernetes Networking
Deep dive into Kubernetes Networking
 
Kubernetes and Istio
Kubernetes and IstioKubernetes and Istio
Kubernetes and Istio
 
Federated Kubernetes: As a Platform for Distributed Scientific Computing
Federated Kubernetes: As a Platform for Distributed Scientific ComputingFederated Kubernetes: As a Platform for Distributed Scientific Computing
Federated Kubernetes: As a Platform for Distributed Scientific Computing
 
Topology Service Injection using Dragonflow & Kuryr
Topology Service Injection using Dragonflow & KuryrTopology Service Injection using Dragonflow & Kuryr
Topology Service Injection using Dragonflow & Kuryr
 
Are you ready to be edgy? Bringing applications to the edge of the network
Are you ready to be edgy? Bringing applications to the edge of the networkAre you ready to be edgy? Bringing applications to the edge of the network
Are you ready to be edgy? Bringing applications to the edge of the network
 
Serverless ETL and Optimization on ML pipeline
Serverless ETL and Optimization on ML pipelineServerless ETL and Optimization on ML pipeline
Serverless ETL and Optimization on ML pipeline
 

Ähnlich wie CN Asturias - Stateful application for kubernetes

Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)QAware GmbH
 
Episode 3: Kubernetes and Big Data Services
Episode 3: Kubernetes and Big Data ServicesEpisode 3: Kubernetes and Big Data Services
Episode 3: Kubernetes and Big Data ServicesMesosphere Inc.
 
The many uses of Kubernetes cross cluster migration of persistent data
The many uses of Kubernetes cross cluster migration of persistent dataThe many uses of Kubernetes cross cluster migration of persistent data
The many uses of Kubernetes cross cluster migration of persistent dataDoKC
 
The many uses of Kubernetes cross cluster migration of persistent data
The many uses of Kubernetes cross cluster migration of persistent dataThe many uses of Kubernetes cross cluster migration of persistent data
The many uses of Kubernetes cross cluster migration of persistent dataDoKC
 
prodops.io k8s presentation
prodops.io k8s presentationprodops.io k8s presentation
prodops.io k8s presentationProdops.io
 
What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...
What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...
What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...InfluxData
 
MayaData Datastax webinar - Operating Cassandra on Kubernetes with the help ...
MayaData  Datastax webinar - Operating Cassandra on Kubernetes with the help ...MayaData  Datastax webinar - Operating Cassandra on Kubernetes with the help ...
MayaData Datastax webinar - Operating Cassandra on Kubernetes with the help ...MayaData Inc
 
Container world hybridnetworking_rev2
Container world hybridnetworking_rev2Container world hybridnetworking_rev2
Container world hybridnetworking_rev2Prem Sankar Gopannan
 
Kubernetes workshop -_the_basics
Kubernetes workshop -_the_basicsKubernetes workshop -_the_basics
Kubernetes workshop -_the_basicsSjuul Janssen
 
Nodeless and serverless kubernetes
Nodeless and serverless kubernetesNodeless and serverless kubernetes
Nodeless and serverless kubernetesNills Franssens
 
DevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to KubernetesDevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to KubernetesRonny Trommer
 
Openstack days sv building highly available services using kubernetes (preso)
Openstack days sv   building highly available services using kubernetes (preso)Openstack days sv   building highly available services using kubernetes (preso)
Openstack days sv building highly available services using kubernetes (preso)Allan Naim
 
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17Mario-Leander Reimer
 
A hitchhiker‘s guide to the cloud native stack
A hitchhiker‘s guide to the cloud native stackA hitchhiker‘s guide to the cloud native stack
A hitchhiker‘s guide to the cloud native stackQAware GmbH
 
Cloud-native .NET Microservices mit Kubernetes
Cloud-native .NET Microservices mit KubernetesCloud-native .NET Microservices mit Kubernetes
Cloud-native .NET Microservices mit KubernetesQAware GmbH
 
Kubermatic How to Migrate 100 Clusters from On-Prem to Google Cloud Without D...
Kubermatic How to Migrate 100 Clusters from On-Prem to Google Cloud Without D...Kubermatic How to Migrate 100 Clusters from On-Prem to Google Cloud Without D...
Kubermatic How to Migrate 100 Clusters from On-Prem to Google Cloud Without D...Tobias Schneck
 
How to Migrate 100 Clusters from On-Prem to Google Cloud Without Downtime
How to Migrate 100 Clusters from On-Prem to Google Cloud Without DowntimeHow to Migrate 100 Clusters from On-Prem to Google Cloud Without Downtime
How to Migrate 100 Clusters from On-Prem to Google Cloud Without Downtimeloodse
 

Ähnlich wie CN Asturias - Stateful application for kubernetes (20)

Container Orchestration using kubernetes
Container Orchestration using kubernetesContainer Orchestration using kubernetes
Container Orchestration using kubernetes
 
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
 
Episode 3: Kubernetes and Big Data Services
Episode 3: Kubernetes and Big Data ServicesEpisode 3: Kubernetes and Big Data Services
Episode 3: Kubernetes and Big Data Services
 
The many uses of Kubernetes cross cluster migration of persistent data
The many uses of Kubernetes cross cluster migration of persistent dataThe many uses of Kubernetes cross cluster migration of persistent data
The many uses of Kubernetes cross cluster migration of persistent data
 
The many uses of Kubernetes cross cluster migration of persistent data
The many uses of Kubernetes cross cluster migration of persistent dataThe many uses of Kubernetes cross cluster migration of persistent data
The many uses of Kubernetes cross cluster migration of persistent data
 
prodops.io k8s presentation
prodops.io k8s presentationprodops.io k8s presentation
prodops.io k8s presentation
 
What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...
What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...
What Does Kubernetes Look Like?: Performance Monitoring & Visualization with ...
 
MayaData Datastax webinar - Operating Cassandra on Kubernetes with the help ...
MayaData  Datastax webinar - Operating Cassandra on Kubernetes with the help ...MayaData  Datastax webinar - Operating Cassandra on Kubernetes with the help ...
MayaData Datastax webinar - Operating Cassandra on Kubernetes with the help ...
 
Container world hybridnetworking_rev2
Container world hybridnetworking_rev2Container world hybridnetworking_rev2
Container world hybridnetworking_rev2
 
Kubernetes workshop -_the_basics
Kubernetes workshop -_the_basicsKubernetes workshop -_the_basics
Kubernetes workshop -_the_basics
 
Nodeless and serverless kubernetes
Nodeless and serverless kubernetesNodeless and serverless kubernetes
Nodeless and serverless kubernetes
 
Kubernetes basics and hands on exercise
Kubernetes basics and hands on exerciseKubernetes basics and hands on exercise
Kubernetes basics and hands on exercise
 
DevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to KubernetesDevJam 2019 - Introduction to Kubernetes
DevJam 2019 - Introduction to Kubernetes
 
Openstack days sv building highly available services using kubernetes (preso)
Openstack days sv   building highly available services using kubernetes (preso)Openstack days sv   building highly available services using kubernetes (preso)
Openstack days sv building highly available services using kubernetes (preso)
 
Kubernetes
KubernetesKubernetes
Kubernetes
 
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
A Hitchhiker’s Guide to the Cloud Native Stack. #CDS17
 
A hitchhiker‘s guide to the cloud native stack
A hitchhiker‘s guide to the cloud native stackA hitchhiker‘s guide to the cloud native stack
A hitchhiker‘s guide to the cloud native stack
 
Cloud-native .NET Microservices mit Kubernetes
Cloud-native .NET Microservices mit KubernetesCloud-native .NET Microservices mit Kubernetes
Cloud-native .NET Microservices mit Kubernetes
 
Kubermatic How to Migrate 100 Clusters from On-Prem to Google Cloud Without D...
Kubermatic How to Migrate 100 Clusters from On-Prem to Google Cloud Without D...Kubermatic How to Migrate 100 Clusters from On-Prem to Google Cloud Without D...
Kubermatic How to Migrate 100 Clusters from On-Prem to Google Cloud Without D...
 
How to Migrate 100 Clusters from On-Prem to Google Cloud Without Downtime
How to Migrate 100 Clusters from On-Prem to Google Cloud Without DowntimeHow to Migrate 100 Clusters from On-Prem to Google Cloud Without Downtime
How to Migrate 100 Clusters from On-Prem to Google Cloud Without Downtime
 

Mehr von Cédrick Lunven

Top 10 present and future innovations in the NoSQL Cassandra ecosystem (2022)
Top 10 present and future innovations in the NoSQL Cassandra ecosystem (2022)Top 10 present and future innovations in the NoSQL Cassandra ecosystem (2022)
Top 10 present and future innovations in the NoSQL Cassandra ecosystem (2022)Cédrick Lunven
 
BigData Paris 2022 - Innovations récentes et futures autour du NoSQL Apache ...
BigData Paris 2022 - Innovations récentes et futures autour du NoSQL Apache ...BigData Paris 2022 - Innovations récentes et futures autour du NoSQL Apache ...
BigData Paris 2022 - Innovations récentes et futures autour du NoSQL Apache ...Cédrick Lunven
 
Avoiding Pitfalls for Cassandra.pdf
Avoiding Pitfalls for Cassandra.pdfAvoiding Pitfalls for Cassandra.pdf
Avoiding Pitfalls for Cassandra.pdfCédrick Lunven
 
Unlock cassandra data for application developers using graphQL
Unlock cassandra data for application developers using graphQLUnlock cassandra data for application developers using graphQL
Unlock cassandra data for application developers using graphQLCédrick Lunven
 
An oss api layer for your cassandra
An oss api layer for your cassandraAn oss api layer for your cassandra
An oss api layer for your cassandraCédrick Lunven
 
Xebicon2019 m icroservices
Xebicon2019   m icroservicesXebicon2019   m icroservices
Xebicon2019 m icroservicesCédrick Lunven
 
Reactive Programming with Cassandra
Reactive Programming with CassandraReactive Programming with Cassandra
Reactive Programming with CassandraCédrick Lunven
 
VoxxedDays Luxembourg FF4J
VoxxedDays Luxembourg FF4JVoxxedDays Luxembourg FF4J
VoxxedDays Luxembourg FF4JCédrick Lunven
 
VoxxedDays Luxembourg 2019
VoxxedDays Luxembourg 2019VoxxedDays Luxembourg 2019
VoxxedDays Luxembourg 2019Cédrick Lunven
 
Create API for your Databases
Create API for your DatabasesCreate API for your Databases
Create API for your DatabasesCédrick Lunven
 
Leveraging Feature Toggles for your Microservices (VoxxeddaysMicroservices Pa...
Leveraging Feature Toggles for your Microservices (VoxxeddaysMicroservices Pa...Leveraging Feature Toggles for your Microservices (VoxxeddaysMicroservices Pa...
Leveraging Feature Toggles for your Microservices (VoxxeddaysMicroservices Pa...Cédrick Lunven
 
Streaming, Analytics and Reactive Applications with Apache Cassandra
Streaming, Analytics and Reactive Applications with Apache CassandraStreaming, Analytics and Reactive Applications with Apache Cassandra
Streaming, Analytics and Reactive Applications with Apache CassandraCédrick Lunven
 
Riviera jug apicassandra
Riviera jug apicassandraRiviera jug apicassandra
Riviera jug apicassandraCédrick Lunven
 
Paris Meetup Jhispter #9 - Generator FF4j for Jhipster
Paris Meetup Jhispter #9 - Generator FF4j for JhipsterParis Meetup Jhispter #9 - Generator FF4j for Jhipster
Paris Meetup Jhispter #9 - Generator FF4j for JhipsterCédrick Lunven
 
Introduction to Feature Toggle and FF4J
Introduction to Feature Toggle and FF4JIntroduction to Feature Toggle and FF4J
Introduction to Feature Toggle and FF4JCédrick Lunven
 

Mehr von Cédrick Lunven (19)

Top 10 present and future innovations in the NoSQL Cassandra ecosystem (2022)
Top 10 present and future innovations in the NoSQL Cassandra ecosystem (2022)Top 10 present and future innovations in the NoSQL Cassandra ecosystem (2022)
Top 10 present and future innovations in the NoSQL Cassandra ecosystem (2022)
 
BigData Paris 2022 - Innovations récentes et futures autour du NoSQL Apache ...
BigData Paris 2022 - Innovations récentes et futures autour du NoSQL Apache ...BigData Paris 2022 - Innovations récentes et futures autour du NoSQL Apache ...
BigData Paris 2022 - Innovations récentes et futures autour du NoSQL Apache ...
 
Avoiding Pitfalls for Cassandra.pdf
Avoiding Pitfalls for Cassandra.pdfAvoiding Pitfalls for Cassandra.pdf
Avoiding Pitfalls for Cassandra.pdf
 
Unlock cassandra data for application developers using graphQL
Unlock cassandra data for application developers using graphQLUnlock cassandra data for application developers using graphQL
Unlock cassandra data for application developers using graphQL
 
An oss api layer for your cassandra
An oss api layer for your cassandraAn oss api layer for your cassandra
An oss api layer for your cassandra
 
Xebicon2019 m icroservices
Xebicon2019   m icroservicesXebicon2019   m icroservices
Xebicon2019 m icroservices
 
DevFestBdm2019
DevFestBdm2019DevFestBdm2019
DevFestBdm2019
 
Reactive Programming with Cassandra
Reactive Programming with CassandraReactive Programming with Cassandra
Reactive Programming with Cassandra
 
Shift Dev Conf API
Shift Dev Conf APIShift Dev Conf API
Shift Dev Conf API
 
VoxxedDays Luxembourg FF4J
VoxxedDays Luxembourg FF4JVoxxedDays Luxembourg FF4J
VoxxedDays Luxembourg FF4J
 
VoxxedDays Luxembourg 2019
VoxxedDays Luxembourg 2019VoxxedDays Luxembourg 2019
VoxxedDays Luxembourg 2019
 
Design API - SnowCampIO
Design API - SnowCampIODesign API - SnowCampIO
Design API - SnowCampIO
 
Create API for your Databases
Create API for your DatabasesCreate API for your Databases
Create API for your Databases
 
Leveraging Feature Toggles for your Microservices (VoxxeddaysMicroservices Pa...
Leveraging Feature Toggles for your Microservices (VoxxeddaysMicroservices Pa...Leveraging Feature Toggles for your Microservices (VoxxeddaysMicroservices Pa...
Leveraging Feature Toggles for your Microservices (VoxxeddaysMicroservices Pa...
 
Streaming, Analytics and Reactive Applications with Apache Cassandra
Streaming, Analytics and Reactive Applications with Apache CassandraStreaming, Analytics and Reactive Applications with Apache Cassandra
Streaming, Analytics and Reactive Applications with Apache Cassandra
 
Riviera jug apicassandra
Riviera jug apicassandraRiviera jug apicassandra
Riviera jug apicassandra
 
Riviera JUG ff4j
Riviera JUG ff4jRiviera JUG ff4j
Riviera JUG ff4j
 
Paris Meetup Jhispter #9 - Generator FF4j for Jhipster
Paris Meetup Jhispter #9 - Generator FF4j for JhipsterParis Meetup Jhispter #9 - Generator FF4j for Jhipster
Paris Meetup Jhispter #9 - Generator FF4j for Jhipster
 
Introduction to Feature Toggle and FF4J
Introduction to Feature Toggle and FF4JIntroduction to Feature Toggle and FF4J
Introduction to Feature Toggle and FF4J
 

Kürzlich hochgeladen

University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 

Kürzlich hochgeladen (20)

University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 

CN Asturias - Stateful application for kubernetes

  • 1. Stateful Applications on Kubernetes with K8ssandra K8ssandra = Kubernetes + Cassandra and MORE ! 1
  • 2. About me ➢ Training ➢ Teaching ➢ Reference Applications ➢ Support ➢ Public Speaking ➢ Creator of ff4j (ff4j.org) ➢ Maintainer for 7 years+ @clunven @clun
  • 3. Stateful Applications on Kubernetes with K8ssandra 1. What’s Cassandra good for ? 2. Running Cassandra: From Docker to Kubernetes 3. Stateful Applications: From Kubernetes to K8ssandra 3
  • 4. Everything you will see today is free and open source. Viewer discretion is advised. 4
  • 5. 5 #1 What Cassandra is good for ? And Why ? Cloud Native ?
  • 6. Cloud Native Asturias @cloudnativeast @clunven NODE NODE NODE NODE NODE NODE NODE ApacheCassandra™ 1 Installation = 1 NODE ✔ Capacity = ~ 2-4TB ✔ Throughput = LOTS Tx/sec/core Communication: ✔ Gossiping DataCenter | Ring = NoSQL Distributed Database 6
  • 7. Cloud Native Asturias @cloudnativeast @clunven Apache Cassandra™ Scales linearly 7
  • 8. Cloud Native Asturias @cloudnativeast @clunven Country City Population USA New York 8.000.000 USA Los Angeles 4.000.000 FR Paris 2.230.000 DE Berlin 3.350.000 UK London 9.200.000 AU Sydney 4.900.000 FR Toulouse 1.100.000 JP Tokyo 37.430.000 IN Mumbai 20.200.000 DE Nuremberg 500.000 CA Montreal 4.200.000 CA Toronto 6.200.000 Partition Key Data is distributed 8
  • 9. Cloud Native Asturias @cloudnativeast @clunven Country City Population USA New York 8.000.000 USA Los Angeles 4.000.000 UK London 9.200.000 AU Sydney 4.900.000 JP Tokyo 37.430.000 IN Mumbai 20.200.000 DE Berlin 3.350.000 DE Nuremberg 500.000 CA Montreal 4.200.000 CA Toronto 6.200.000 FR Toulouse 1.100.000 FR Paris 2.230.000 Data is Distributed 9
  • 10. Cloud Native Asturias @cloudnativeast @clunven RF = 3 Replication Factor 3 means that every row is stored on 3 different nodes 0 50 33 17 83 67 Data is Replicated 10
  • 11. Cloud Native Asturias @cloudnativeast @clunven 59 (data) RF = 3 0 50 33 17 83 67 Replication within the Ring 11
  • 12. Cloud Native Asturias @cloudnativeast @clunven RF = 3 0 50 33 17 83 67 59 (data) Replication within the Ring 12
  • 13. Cloud Native Asturias @cloudnativeast @clunven RF = 3 0 50 33 17 83 67 59 (data) 59 (data) 59 (data) Replication within the Ring 13
  • 14. Cloud Native Asturias @cloudnativeast @clunven RF = 3 0 50 33 17 83 67 59 (data) 59 (data) 59 (data) Hint Node Failure 14
  • 15. Cloud Native Asturias @cloudnativeast @clunven RF = 3 0 50 33 17 83 67 59 (data) 59 (data) 59 (data) Hint Node Failure Recovered 15
  • 16. Cloud Native Asturias @cloudnativeast @clunven • Geographic Distribution • Hybrid-Cloud and Multi-Cloud Data Distributed Everywhere On-premise 16
  • 17. Cloud Native Asturias @cloudnativeast @clunven High Throughput High Volume Heavy Writes Heavy Reads Event Streaming Log Analytics Internet of Things Other Time Series Mission-Critical No Data Loss Always-on Scalability Availability Distributed Cloud-native Caching Pricing Market Data Inventory Banking Retail Tracking / Logistics Customer Experience API Layer Cloud Deployments Distributed Data Network Horizontal Scaling Modern Cloud Applications Global Presence Workload Mobility Compliance / GDPR Understanding Use Cases 17
  • 18. Cloud Native Asturias @cloudnativeast @clunven References (2019) 18
  • 20. 20 #2 Running Cassandra: From Docker to Kubernetes
  • 21. Cloud Native Asturias @cloudnativeast @clunven 21 https://hub.docker.com/_/cassandra/#! $ docker run --name some-cassandra -d -e CASSANDRA_BROADCAST_ADDRESS=10.42.42.42 -p 7000:7000,9042:9042 -v /my/own/datadir:/var/lib/cassandra cassandra:tag Running Cassandra in Docker ● Define a proper network ● Env variables can be defined to override keys in cassandra.yaml . ● Export ports 7000, 9042, … ● Define volumes to stores data ○ /var/lib/cassandra
  • 22. Cloud Native Asturias @cloudnativeast @clunven Docker-compose Define and run multi-container Docker applications through the use of a YAML file to configure your applications version: '2' services: cassandra-seed: container_name: cassandra-seed-node image: cassandra: 3.11.6 ports: - "9042:9042" # Native transport - "7199:7199" # JMX - "9160:9160" # Thrift clients cassandra-node: image: cassandra: 3.11.6 command: /bin/bash -c "echo 'Waiting for seed node' && sleep 30 && /docker-entrypoint.sh cassandra -f" environment: - "CASSANDRA_SEEDS=cassandra-seed-node" depends_on: - "cassandra-seed" docker-compose -f docker-compose.yml up -d --scale cassandra-node=2 22
  • 23. Cloud Native Asturias @cloudnativeast @clunven 23
  • 24. Cloud Native Asturias @cloudnativeast @clunven Why Kubernetes ? Automatic bin packing Self-healing Horizontal scaling Service discovery Load balancing Automated rollouts and rollbacks Storage orchestration Secret and configuration management Batch execution 24
  • 25. Cloud Native Asturias @cloudnativeast @clunven K8s Infrastructure Cluster: Kubernetes cluster. Node: Worker machine in Kubernetes cluster. Master: Kubernetes Control Plane. Kubernetes Control Plane REST API 25
  • 26. Cloud Native Asturias @cloudnativeast @clunven K8s Infrastructure K8s API Server Kubernetes API. Controller Manager Kubernetes controller manager. Scheduler In charge of ensuring Pods placement. ETCD Kubernetes’ backing store. Kubernetes Control Plane Scheduler (bind pod to node) API Server (REST API) Controller Manager (controller loop) ETCD (k/v db - ssot) 26
  • 27. Cloud Native Asturias @cloudnativeast @clunven K8s Infrastructure Kubernetes Workers (minion) Kubelet: The kubelet is the primary “node agent” that runs on each node. Kube-proxy The Kubernetes network proxy runs on each node. This reflects services as defined in the Kubernetes API on each node. POD Collection of containers that can run on a host. This resource is created by clients and scheduled onto hosts. Operating System Containerd container 27
  • 28. Kubernetes Namespace 28 Namespace: Namespace provides a scope for Names. Use of multiple namespaces is optional. default kube-system kube-public cass-operator We create resources in namespaces span across node.
  • 29. K8s Primitives : Configuration cass-operator ConfigMap: ConfigMap holds configuration data for pods to consume.. Secret: Secret holds secret data of a certain type..
  • 30. PersistentVolume: is a storage resource provisioned by an administrator. PersistentVolumeClaim: PersistentVolumeClaim is a user's request for and claim to a persistent volume. StorageClass: StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. K8s Primitives : Storage cass-operator create
  • 31. K8s Primitives : StatefulSet cass-operator create StatefulSet: StatefulSet represents a set of pods with consistent identities. Identities are defined as: network, storage. create
  • 32. Cloud Native Asturias @cloudnativeast @clunven I give you 90 mins 32
  • 33. Cloud Native Asturias @cloudnativeast @clunven 33
  • 34. K8s Primitives : Custom Resources 34 Custom Resource Definition : Extensions of the Kubernetes API. Customization making K8s more modular • Spec declares the desired state of a resource ○ Configuration settings provided by the user ○ Default values expanded by the system ○ Other properties initialized by other internal components after resource creation. • Status : describes the object’s current, observed state. ○ Kubernetes API server provides a REST API to clients. A Kubernetes object or resource is a REST resource. ○ The status of a Kubernetes resource is typically implemented as a REST subresource that can only be modified by internal, system components apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: crontabs.stable.example.com spec: # group name to use for REST API: /apis/<group>/<version> group: stable.example.com # list of versions supported by this CustomResourceDefinition versions: - name: v1 # Each version can be enabled/disabled by Served flag. served: true # One and only one version must be marked as the storage version. storage: true schema: openAPIV3Schema: type: object properties: spec: type: object properties: cronSpec: type: string image: type: string replicas: type: integer # either Namespaced or Cluster scope: Namespaced names: [...}
  • 35. K8s Primitives : Operator 35 Building an application and driving an application on top of Kubernetes, behind Kubernetes APIs A Kubernetes Operator helps extend the types of applications that can run on Kubernetes by allowing developers to provide additional knowledge to applications that need to maintain state.” –Jonathan S. Katz ● Reconcile CRD instances which states defined within the “spec” attribute. ● Listen events and status evolution to react accordingly. cass-operator Operator reconcile e v e n t s events states
  • 36. Kubernetes Probes (readiness, liveness) 36 Cassandra Management API Service CASSANDRA side-car busybox https://github.com/datastax/management-api-for-apache-cassandra
  • 37. Sample Deployment with Cass-operator 37 cass-operator WebHook Security Operator dc1 cluster1-dc1-default-sts cluster1-dc1-default-sts-0 server-storage server-data-cluster1 -dc1-default-sts-0 cluster1-superuser cluster1-dc1 -all-pods-service cluster1-dc1- service cluster1-dc1- seed-service
  • 38. 38 #3 Stateful Applications : From Kubernetes to K8ssandra
  • 42. Apache Cassandra® Cass-Operator Metrics Collector (MCAC) Traefik UI Prometheus UI Grafana CQL Endpoint Backups Cassandra Medusa (backup/restore) 📁S3, GCP,...
  • 43. Apache Cassandra® Cass-Operator Metrics Collector (MCAC) Traefik UI Prometheus UI Grafana CQL Endpoint Repairs Cassandra Medusa (backup/restore) 📁S3, GCP,... Repear (repair) Repear UI
  • 44. 44
  • 45. Apache Cassandra® Cass-Operator Metrics Collector (MCAC) Traefik UI Prometheus UI Grafana CQL Endpoint ACCESSING THE DATA Cassandra Medusa (backup/restore) 📁S3, GCP,... Repear (repair) Repear UI
  • 46. “Start with Why” Simon Sinek • Developers • Do you like learning query languages (CQL, N1QL, GQL, cypher, gremlin….) • No. Save my JSON, give it to me back when I need it • ORM / Spring Data are so popular nowadays • Do you care about how your data is stored ? • Physical data model part of the interface…yike • Create structures based on queries • Do you like installing and running Databases locally • especially distributed databases • especially with datasets and integration tests © 2020 Datastax, Inc. All rights reserved. 46
  • 47. “Start with Why” Simon Sinek • SRE, Operators and Databases Administrators… • Do you allow developers to execute direct queries against your DB ? • Do you like opening port ranges like 0-65536 to allow communications with applications, especially in the cloud. • Do you like creating dedicated projects and hiring people just to create APIs to expose an existing treatment (digital transformation FTW)
  • 48. And when those 2 meet each other Developers SRE
  • 49. API Data Gateways rational Ubiquitous, API-based Consumption MICROSERVICES DEVELOPERS Developers want the option to use modern APIs and development gateways. Cassandra is a database designed for the new standard and the associated APIs that facilitate the first choice of developers.
  • 50. Apache Cassandra® Cass-Operator Cassandra Medusa (backup/restore) Metrics Collector 📁S3, GCP,... Repear (repair) Graphql endpoint + Playground rest/doc API + Swagger Authentication Endpoint Repear UI Traefik UI Prometheus UI Grafana CQL Endpoint ACCESSING THE DATA
  • 51. 51 Full working scalable database with administration tools and easy data access “Cloud native”
  • 53. Apache Cassandra® Cass-Operator Cassandra Medusa (backup/restore) Metrics Collector 📁S3, GCP,... Repear (repair) Graphql endpoint + Playground rest/doc API + Swagger Authentication Endpoint Repear UI Traefik UI Prometheus UI Grafana CQL Endpoint
  • 54. ● Apache Cassandra™ match Cloud Deployments principles by design ● Apache Cassandra™ evolved from Docker to fully “kubernetes ready” (operator) ● Stateful applications in containers are challenging: scaling, consistency, resilience ● K8ssandra provides ○ a scalable data store based on Cassandra ○ an api layer named Stargate and can be used to store data or states. KEY IDEAS
  • 57. Join our 9k Discord Community The Fellowship of the RINGS https://bit.ly/cassandra-workshop
  • 59. About me ➢ Training ➢ Teaching ➢ Reference Applications ➢ Support ➢ Public Speaking ➢ Creator of ff4j (ff4j.org) ➢ Maintainer for 7 years+ @clunven @clun