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

From dev to prod with Kubernetes and Skaffold

From dev to prod with Kubernetes and Skaffold

This talk will look into Skaffold, a tool developed and Opensourced by Google, which aims to increase development productivity and bring closer the gap between developer's computers and other environments like staging, beta, and prod avoiding the "works on my computer" type of scenarios. This talk is brought by Angel Ramirez, who is a Certified Kubernetes Administrator (CKA) and CEO of Cuemby, a Kubernetes Certified Service Provider (KCSP). The content is from real experience implementing Skaffold in our daily workflows.

Angel Ramirez

February 08, 2020
Tweet

More Decks by Angel Ramirez

Other Decks in Technology

Transcript

  1. From dev to prod
    with Kubernetes and
    Skaffold

    View Slide

  2. Angel Ramirez is the driving force behind the vision of Cuemby as a
    hands-on tech CEO. Angel has in-depth knowledge of the software
    industry and its ever-changing landscape.
    He worked as a senior software engineer and architect in various
    industries including retail, e-commerce, communications, and
    finance.
    He is passionate about Cloud-Native Stack and Kubernetes.
    - Kubernetes Certified Administrator.
    - CNCF Speaker Bureau Member.
    Who am I?
    @ar4mirez
    https://www.cncf.io/speaker/ar4mirez

    View Slide

  3. Cuemby is a Kubernetes consultancy in Delray Beach, FL, and
    Medellin, Colombia.
    Our focus is help companies automate end-to-end their software
    lifecycle (building, deploying, and scaling), resulting in boost
    performance, increase productivity, and reduce costs.
    Cloud Native and Kubernetes consulting company.
    We help teams build reliable infrastructure so no more wake up in
    the middle of the night.
    Kubernetes Certified Service Provider (KCSP 1 of 100+ worldwide).
    Kubernetes Training Partner (KTP 1 of 34 worldwide).
    Who is Cuemby?
    @cuemby
    https://landscape.cncf.io/selected=cuemby-kcsp
    https://landscape.cncf.io/selected=cuemby-ktp

    View Slide

  4. View Slide

  5. How is your current software lifecycle?

    View Slide

  6. View Slide

  7. ● php -S localhost:8080 -t path/to/src path/to/src/index.php
    ● ssh in vm or ftp
    ● restart apache
    ● pray that works
    The WOMC
    (a.k.a works on my computer)

    View Slide

  8. ● Local apache, mysql, redis
    ● Hopefully a cPanel or similar
    ● Hope you checked version compatibility
    ● pray that works
    The LAMPSQLREDISANDMORE
    (a.k.a I need to maintain a lot)

    View Slide

  9. ● Docker containers
    ● Docker composer
    ● README or .env with all the ports.
    ● Don't forget to link containers.
    ● Also don't forget you need a network
    The DOCKER PORT HELL
    (a.k.a can't keep track of ports)

    View Slide

  10. We should be able to work on
    development as if we were in production.

    View Slide

  11. View Slide

  12. What's Kubernetes?
    Kubernetes (K8s) is an open-source system for automating deployment,
    scaling, and management of containerized applications.

    View Slide

  13. What's Skaffold?
    Skaffold handles the workflow for building, pushing and deploying your
    application, allowing you to focus on what matters most: writing code.

    View Slide

  14. Skaffold Pipelines

    View Slide

  15. I got you a Demo :D

    View Slide

  16. What's next?

    View Slide

  17. Questions?

    View Slide

  18. Feedback always
    welcome :D
    https://joind.in/talk/b804b
    https://joind.in/user/ar4mirez
    https://github.com/ar4mirez/sunshine-php-2020
    @ar4mirez

    View Slide