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

Local (micro)services development on Kubernetes

omissis
February 03, 2023

Local (micro)services development on Kubernetes

Slides for a talk I gave at the Go meetups in Milan and Rome (Italy) about my path to productive local development environments on Kubernetes using tilt.dev.

omissis

February 03, 2023
Tweet

More Decks by omissis

Other Decks in Technology

Transcript

  1. Milan - Nov 24th, 2022
    Local (micro)services
    development on Kubernetes
    Claudio Beatrice
    Software Engineer @ SIGHUP

    View Slide

  2. Hello Cloud Natives! 👋

    View Slide

  3. context.Background() ☝
    • Several (teams of) developers working together

    • Number of projects increased over time

    • Applications started to be packed as containers

    • Kubernetes became the de-facto standard for orchestrating them

    • Local deployment di
    ff
    ers signi
    fi
    cantly from staging and production

    • Running complex deployments locally became next to impossible, especially
    on Windows and MacOS

    View Slide

  4. Looking for an ideal solution 💡
    have your cybercake and eat it, too
    • Kubernetes-based, to be closer to prod

    • Modular, to be able to run only a subset of the services

    • Hybrid, to be able to mix and match local and remote resources

    • Fast, to reduce friction and improve productivity

    • Flexible, to allow for customization

    • Simple, for faster onboardings

    • Transparent, to stay close to dev-ops the toolchain

    View Slide

  5. It takes all sorts to make a Cloud Dev Env ☁
    Developers developers developers

    View Slide

  6. View Slide

  7. Tilt in a 🥜🐚
    • A Command-line tool coupled with a Web UI

    • Controlled by one or more Tilt
    fi
    les written in Starlark
    • Sporting loops, conditionals, variables

    • Featuring an extensive library of functions and extensions
    • Powered by the Tilt Engine, updating the Cluster's Resources automatically

    • Aided by ctlptl, to easily create clusters as code

    View Slide

  8. Tilt in a 🥜🐚

    View Slide

  9. Tilt in a 🥜🐚

    View Slide

  10. Enough said 🤐

    View Slide

  11. Find Tilt.dev on the interwebz
    #tilt on Kubernetes Slack
    tilt-dev/tilt on Github
    tilt.dev

    View Slide

  12. Don't forget to find other Gophers, too! 🇮🇹

    View Slide

  13. Thanks! 🚀
    • 🧑💻 omissis
    • 🐘 @[email protected]
    • 🐘 @[email protected]
    • 🦜 @omissis
    • 👔 claudiobeatrice
    • 🌎 tenwarp.com

    View Slide