Alice in the world of
pods and higher order
functions
Slide 2
Slide 2 text
Who am I
Big data developer at
Captify
Women Who Code Kyiv
Data Engineering Lead
Kubernetes and functional
programming fan which
loves a good story
Slide 3
Slide 3 text
Alice is an
adventurous girl and
her curiosity may lead
her to epic discoveries
of the new worlds…
Slide 4
Slide 4 text
No content
Slide 5
Slide 5 text
Welcome to the world
of pods and higher
order functions
Slide 6
Slide 6 text
Functional
forest
Slide 7
Slide 7 text
Pods
kafka-2
kafka-1
kafka-0
psql-0 psql-1
Slide 8
Slide 8 text
No content
Slide 9
Slide 9 text
“And these ones?” - asked
Alice.
“Oh, better don’t look too
long at them they are too
complex for an unprepared
eye. These are called
monads”.
Slide 10
Slide 10 text
No content
Slide 11
Slide 11 text
No content
Slide 12
Slide 12 text
No content
Slide 13
Slide 13 text
No content
Slide 14
Slide 14 text
“Why these houses look like
constructor details?” - asks
Alice.
“This is one of our interesting
features. All of our objects
constitute type system and
they are immutable”
Slide 15
Slide 15 text
No content
Slide 16
Slide 16 text
CONTROLLERS
Slide 17
Slide 17 text
CONTROLLERS
Controller-
manager
Custom
controller
Slide 18
Slide 18 text
No content
Slide 19
Slide 19 text
kubectl API server
Scheduler
Controller-
manager
etcd
Slide 20
Slide 20 text
kubectl API server
Scheduler
Controller-
manager
etcd
kubelet kube-proxy
container
Pod Pod
container
Slide 21
Slide 21 text
No content
Slide 22
Slide 22 text
Kubernetes objects map
Slide 23
Slide 23 text
Pod
Deployment
Replica Set
Slide 24
Slide 24 text
Pod
Deployment
Replica Set Pod
Stateful Set
Pod
Daemon Set
Slide 25
Slide 25 text
Volume
Job
Service
Pod
Deployment
Replica Set Pod
Stateful Set
Pod
Daemon Set
Slide 26
Slide 26 text
Volume
Job
Service
Pod
Deployment
Replica Set Pod
Stateful Set
Pod
Daemon Set
CRD
Slide 27
Slide 27 text
No content
Slide 28
Slide 28 text
IMMUTABLE ???
TYPE SYSTEM
Slide 29
Slide 29 text
TYPE SYSTEM
IMMUTABLE
DECLARATIVE
Slide 30
Slide 30 text
DECLARATIVE
NATURE
Slide 31
Slide 31 text
magic DB
Slide 32
Slide 32 text
pods
pure functions
monads
deployments
stateful sets volumes