Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Alice in the world of pods and higher order fun...

Alice in the world of pods and higher order functions

"We have many reasons to love functional programming. But have you thought that functional programming can be really close to the containers world?
You might have heard about Kubernetes, everyone's buzzing about it. Kubernetes may sound complex especially if you’ve never worked with containers. A surprising thing is that you can actually apply your knowledge of functional programming to understand how Kubernetes works. If you want to know more about the bridge between these two worlds follow me on that path."
Presented at ScalaIO France 2019

Roksolana

April 03, 2020
Tweet

More Decks by Roksolana

Other Decks in Programming

Transcript

  1. 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
  2. Alice is an adventurous girl and her curiosity may lead

    her to epic discoveries of the new worlds…
  3. “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”.
  4. “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”
  5. spec: containers: - image: basic-db:9.3.4 name: magic-db env: - name:

    DB_USER value: wizard - name: DB_NAME value: fairytale
  6. NAME STATUS VOLUME CAPACITY AGE magic-db-claim Bound pv-24hjf3 10Gi 32s

    NAME CAPACITY STATUS CLAIM AGE pv-24hjf3 10Gi Bound magic-db-claim 32s
  7. NAME READY STATUS AGE pod/magic-db-hg3 1/1 Running 4m13s pod/magic-db-j3t 1/1

    Running 53s pod/magic-db-thw 1/1 Running 53s pod/magic-db-yth 1/1 Running 4s pod/magic-db-m1n 1/1 Running 4s pod/magic-db-ito3 1/1 Running 4s
  8. NAME READY STATUS AGE pod/magic-db-cluster-0 1/1 Running 3m pod/magic-db-cluster-1 1/1

    Running 6s pod/magic-db-cluster-2 1/1 Running 4s magic-db -cluster-2 magic-db -cluster-1 magic-db -cluster-0