Giter Site home page Giter Site logo

helm-intro's Introduction

Wrangling Your Deployments With CI/CD & Helm


First Thank you

  1. Connecting is hard this meetup is awesome
  2. Hosting and organizing

Who am I?

  • I'm Austin Vance. I have done a few things mostly coding or managing operations teams.

  • I have a history at Pivotal, EMC, Dell, and Paypal.

  • Now I have Focused Labs and we are a growing amazing team!

    • Focused's goal is to bring agility to operations and software development

Why Kubernetes

  1. Config driven deployments
  2. Containers are first class
  3. Multi cloud by design
  4. No Magic
  5. Really fun to operate
  6. Really fun to deploy to

BUT - Kubernetes is hard - it's a lot to learn

  • A single app nees Pod, deployment, replicaset, service, ingress, networkpolicy, and a lot more
  • Updates, rollbacks, and roll outs require some forethought
  • Unique deployments for different environemnts are impossible with native objects (if we ignore kustomize... that's for a different talk)

In comes Helm

What is helm?

Helm is a templeting engine and deployment manager for kubernetes.

But it's become so much more...

Helm is an:

  • ecosystem of software you can run on kubernetes with standard reasonable config
  • a dependncy managment system
  • a rollback rollforward manager
  • a configuration a code manager

Why Helm

  • Helm is easy!
  • Written in GoLang
  • The templates look intimidating at first but there's not much to it
  • Helps organize all your k8s configuration
  • Easily parameterize dynamic k8s config between environments
  • Install, upgrade, rollback for a package of k8s config files
  • Version tracking

Lets deploy something with helm

helm deploy

How about an upgrade

helm upgrade

Creating your own

helm create <name>

Let's take a look at what gets created.

Golang Templating Language

Pro Tips:

  1. SHA sum config/secrets to force pod restarts in deployment.yaml

Now lets talk some CI

https://ci.withfocus.com

Application version: <build_number>_<git_short_sha>

Audit Artifacts:

  1. Application Artifact: Docker image containing your built application. Published to an ECR repository under <aws_account_number>.dkr.ecr.<aws_region>.amazonaws.com/<ecr_repo_name>:<application_version>
  2. Automated Test Artifact: Publish test result <nexus/S3/etc>
  3. Manual Test Artifact: Acceptance of JIRA tickets indicate that a representative of the business has manually interacted with the feature and verified it works as expected.
  4. Automated vulnerability scanning before promotion:
    • passing builds are candidates for promotion to staging/production.

Further Reading

helm-intro's People

Contributors

austinbv avatar lukemueller avatar

Watchers

James Cloos avatar

Forkers

isapp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.