SlideShare a Scribd company logo
A/B Testing with Istio and Helm
The GitOps Way
Stefan Prodan - stefan@weave.works
London August 2018
1
● Building cloud-native OSS since 2014
(Weave Net, Moby, Kubernetes, Prometheus)
● Founding member of CNCF
● Alexis Richardson (Weaveworks CEO) is chair of
the CNCF Technical Oversight Committee
● Weave Cloud runs on Kubernetes since 2015
2
About Weaveworks
Introducing GitOps
GitOps builds on DevOps with Git as a single source of truth for the
desired state of the system
● The entire system state is under version control and described in a single Git
repository
● Operational changes on production clusters are made by pull request
● Rollback and audit logs are provided via Git
● When disaster strikes, the whole infrastructure can be quickly restored from Git
CI Image RegistryCode Repo
Typical CICD pipeline
ClusterDev RW
RW RWRW
RO RW RO
CICode Repo
Kubernetes API
GitOps CICD pipeline
Dev RO
RO
CD OperatorRO
RW
RW
RW
RW Image
Registry
Config Repo
Weave Flux - The GitOps Kubernetes Operator
Weave Flux implements a control loop that continuously applies the
desired state to your cluster, offering protection against harmful
actions like deployments deletion or network policies altering.
Weave Flux Helm Operator provides an extension to Weave Flux
that automates Helm Chart releases for it. A Chart release is
described through a Kubernetes custom resource named
FluxHelmRelease.
Weave Flux OSS
7
Setup
helm repo add weaveworks https://weaveworks.github.io/flux
helm install --name flux weaveworks/flux
--namespace flux
--set helmOperator.create=true
--set helmOperator.git.chartsPath=charts
--set git.url=ssh://git@github.com/stefanprodan/gitops-istio
--set git.branch=ab-testing
GitOps for Helm
Flux Helm Release custom resource
9
apiVersion: helm.integrations.flux.weave.works/v1alpha2
kind: FluxHelmRelease
metadata:
name: frontend
namespace: demo
annotations:
flux.weave.works/automated: "true"
flux.weave.works/tag.chart-image: semver:~1.0
spec:
chartGitPath: podinfo
releaseName: frontend
values:
image: quay.io/stefanprodan/podinfo:1.0.0
Secrets management
GitOps Demo
A/B Testing with Istio
11
A/B Testing Initial State
12
A/B Testing Desired State
13
GitOps Examples
14
● Helm
○ https://github.com/stefanprodan/gitops-helm
● Istio
○ https://github.com/stefanprodan/gitops-istio

More Related Content

PDF
Exploring the power of OpenTelemetry on Kubernetes
PPTX
Kubernetes 101 for Beginners
PDF
Designing microservices platforms with nats
PDF
Webinar "Introduction to OpenStack"
PPTX
Kubernetes for Beginners: An Introductory Guide
PDF
쿠버네티스를 이용한 기능 브랜치별 테스트 서버 만들기 (GitOps CI/CD)
PDF
Microservices, Kubernetes and Istio - A Great Fit!
PDF
An Architectural Deep Dive With Kubernetes And Containers Powerpoint Presenta...
Exploring the power of OpenTelemetry on Kubernetes
Kubernetes 101 for Beginners
Designing microservices platforms with nats
Webinar "Introduction to OpenStack"
Kubernetes for Beginners: An Introductory Guide
쿠버네티스를 이용한 기능 브랜치별 테스트 서버 만들기 (GitOps CI/CD)
Microservices, Kubernetes and Istio - A Great Fit!
An Architectural Deep Dive With Kubernetes And Containers Powerpoint Presenta...

What's hot (20)

PDF
(Draft) Kubernetes - A Comprehensive Overview
PPTX
Docker introduction
PPTX
Introduction to Docker - 2017
PDF
Scaling your Data Pipelines with Apache Spark on Kubernetes
PDF
The Observability Pipeline
ODP
Introduction to Ansible
PDF
Kubernetes architecture
PDF
Free GitOps Workshop + Intro to Kubernetes & GitOps
PPTX
Docker 101 : Introduction to Docker and Containers
PDF
Kubernetes - introduction
PDF
DevJam 2019 - Introduction to Kubernetes
PDF
Introduction of Kubernetes - Trang Nguyen
PPTX
Adopting OpenTelemetry
PDF
Event driven autoscaling with KEDA
PDF
Hands-On Introduction to Kubernetes at LISA17
PPTX
Comprehensive Terraform Training
PDF
Kubernetes Security with Calico and Open Policy Agent
PPTX
Kubernetes
PDF
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
PDF
A GitOps Kubernetes Native CICD Solution with Argo Events, Workflows, and CD
(Draft) Kubernetes - A Comprehensive Overview
Docker introduction
Introduction to Docker - 2017
Scaling your Data Pipelines with Apache Spark on Kubernetes
The Observability Pipeline
Introduction to Ansible
Kubernetes architecture
Free GitOps Workshop + Intro to Kubernetes & GitOps
Docker 101 : Introduction to Docker and Containers
Kubernetes - introduction
DevJam 2019 - Introduction to Kubernetes
Introduction of Kubernetes - Trang Nguyen
Adopting OpenTelemetry
Event driven autoscaling with KEDA
Hands-On Introduction to Kubernetes at LISA17
Comprehensive Terraform Training
Kubernetes Security with Calico and Open Policy Agent
Kubernetes
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
A GitOps Kubernetes Native CICD Solution with Argo Events, Workflows, and CD
Ad

Similar to GitOps A/B testing with Istio and Helm (20)

PDF
GitOps Testing in Kubernetes with Flux and Testkube.pdf
PDF
GitOps with GitHub Actions & Flux by Kingdon Barrett
PDF
Continuous Lifecycle London 2018 Event Keynote
PDF
GitOps for Helm Users by Scott Rigby
PDF
WTF is GitOps and Why You Should Care?
PDF
WTF is GitOps & Why Should You Care?
PDF
Gitops Hands On
PDF
GitOps (& Flux) for Helm Users with Scott Rigby
PDF
How to manage Kubernetes at scale with just git
PDF
KubeCon EU 2022 Istio, Flux & Flagger.pdf
PDF
Intro to GitOps & Flux.pdf
PDF
Intro to GitOps with Weave GitOps, Flagger and Linkerd
PPTX
Cloud Native Apps with GitOps
PDF
Robust Network Security and Observability with GitOps and Cilium
PDF
Free GitOps Workshop
PDF
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
PDF
Reconcile Terraform Resources the GitOps Way with Priyanka Ravi
PDF
GitOps & Flux - A Refresher with Priyanka Ravi
PDF
Free GitOps Workshop (with Intro to Kubernetes & GitOps)
PDF
Speeding up your team with GitOps
GitOps Testing in Kubernetes with Flux and Testkube.pdf
GitOps with GitHub Actions & Flux by Kingdon Barrett
Continuous Lifecycle London 2018 Event Keynote
GitOps for Helm Users by Scott Rigby
WTF is GitOps and Why You Should Care?
WTF is GitOps & Why Should You Care?
Gitops Hands On
GitOps (& Flux) for Helm Users with Scott Rigby
How to manage Kubernetes at scale with just git
KubeCon EU 2022 Istio, Flux & Flagger.pdf
Intro to GitOps & Flux.pdf
Intro to GitOps with Weave GitOps, Flagger and Linkerd
Cloud Native Apps with GitOps
Robust Network Security and Observability with GitOps and Cilium
Free GitOps Workshop
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
Reconcile Terraform Resources the GitOps Way with Priyanka Ravi
GitOps & Flux - A Refresher with Priyanka Ravi
Free GitOps Workshop (with Intro to Kubernetes & GitOps)
Speeding up your team with GitOps
Ad

More from Weaveworks (20)

PDF
Weave AI Controllers (Weave GitOps Office Hours)
PDF
Flamingo: Expand ArgoCD with Flux (Office Hours)
PDF
Six Signs You Need Platform Engineering
PDF
SRE and GitOps for Building Robust Kubernetes Platforms.pdf
PDF
Webinar: End to End Security & Operations with Chainguard and Weave GitOps
PDF
Flux Beyond Git Harnessing the Power of OCI
PDF
Automated Provisioning, Management & Cost Control for Kubernetes Clusters
PDF
How to Avoid Kubernetes Multi-tenancy Catastrophes
PDF
Building internal developer platform with EKS and GitOps
PDF
Implementing Flux for Scale with Soft Multi-tenancy
PDF
Accelerating Hybrid Multistage Delivery with Weave GitOps on EKS
PDF
The Story of Flux Reaching Graduation in the CNCF
PDF
Shift Deployment Security Left with Weave GitOps & Upbound’s Universal Crossp...
PDF
Securing Your App Deployments with Tunnels, OIDC, RBAC, and Progressive Deliv...
PDF
Flux’s Security & Scalability with OCI & Helm Slides.pdf
PDF
Flux Security & Scalability using VS Code GitOps Extension
PDF
Deploying Stateful Applications Securely & Confidently with Ondat & Weave GitOps
PDF
Simplifying Hybrid Kubernetes with Weaveworks and EKS.pdf
PDF
Weave GitOps 2022.09 Release: A Fast & Reliable Path to Production with Progr...
PDF
Building a Security First Approach Across Hybrid Cloud with GitOps and Policy...
Weave AI Controllers (Weave GitOps Office Hours)
Flamingo: Expand ArgoCD with Flux (Office Hours)
Six Signs You Need Platform Engineering
SRE and GitOps for Building Robust Kubernetes Platforms.pdf
Webinar: End to End Security & Operations with Chainguard and Weave GitOps
Flux Beyond Git Harnessing the Power of OCI
Automated Provisioning, Management & Cost Control for Kubernetes Clusters
How to Avoid Kubernetes Multi-tenancy Catastrophes
Building internal developer platform with EKS and GitOps
Implementing Flux for Scale with Soft Multi-tenancy
Accelerating Hybrid Multistage Delivery with Weave GitOps on EKS
The Story of Flux Reaching Graduation in the CNCF
Shift Deployment Security Left with Weave GitOps & Upbound’s Universal Crossp...
Securing Your App Deployments with Tunnels, OIDC, RBAC, and Progressive Deliv...
Flux’s Security & Scalability with OCI & Helm Slides.pdf
Flux Security & Scalability using VS Code GitOps Extension
Deploying Stateful Applications Securely & Confidently with Ondat & Weave GitOps
Simplifying Hybrid Kubernetes with Weaveworks and EKS.pdf
Weave GitOps 2022.09 Release: A Fast & Reliable Path to Production with Progr...
Building a Security First Approach Across Hybrid Cloud with GitOps and Policy...

Recently uploaded (20)

PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
A Presentation on Artificial Intelligence
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Cloud computing and distributed systems.
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Modernizing your data center with Dell and AMD
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Approach and Philosophy of On baking technology
PDF
Chapter 3 Spatial Domain Image Processing.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Diabetes mellitus diagnosis method based random forest with bat algorithm
A Presentation on Artificial Intelligence
NewMind AI Monthly Chronicles - July 2025
NewMind AI Weekly Chronicles - August'25 Week I
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Per capita expenditure prediction using model stacking based on satellite ima...
Cloud computing and distributed systems.
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Modernizing your data center with Dell and AMD
Review of recent advances in non-invasive hemoglobin estimation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Encapsulation_ Review paper, used for researhc scholars
Advanced methodologies resolving dimensionality complications for autism neur...
20250228 LYD VKU AI Blended-Learning.pptx
Network Security Unit 5.pdf for BCA BBA.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Dropbox Q2 2025 Financial Results & Investor Presentation
Approach and Philosophy of On baking technology
Chapter 3 Spatial Domain Image Processing.pdf

GitOps A/B testing with Istio and Helm

  • 1. A/B Testing with Istio and Helm The GitOps Way Stefan Prodan - stefan@weave.works London August 2018 1
  • 2. ● Building cloud-native OSS since 2014 (Weave Net, Moby, Kubernetes, Prometheus) ● Founding member of CNCF ● Alexis Richardson (Weaveworks CEO) is chair of the CNCF Technical Oversight Committee ● Weave Cloud runs on Kubernetes since 2015 2 About Weaveworks
  • 3. Introducing GitOps GitOps builds on DevOps with Git as a single source of truth for the desired state of the system ● The entire system state is under version control and described in a single Git repository ● Operational changes on production clusters are made by pull request ● Rollback and audit logs are provided via Git ● When disaster strikes, the whole infrastructure can be quickly restored from Git
  • 4. CI Image RegistryCode Repo Typical CICD pipeline ClusterDev RW RW RWRW RO RW RO
  • 5. CICode Repo Kubernetes API GitOps CICD pipeline Dev RO RO CD OperatorRO RW RW RW RW Image Registry Config Repo
  • 6. Weave Flux - The GitOps Kubernetes Operator Weave Flux implements a control loop that continuously applies the desired state to your cluster, offering protection against harmful actions like deployments deletion or network policies altering. Weave Flux Helm Operator provides an extension to Weave Flux that automates Helm Chart releases for it. A Chart release is described through a Kubernetes custom resource named FluxHelmRelease.
  • 7. Weave Flux OSS 7 Setup helm repo add weaveworks https://weaveworks.github.io/flux helm install --name flux weaveworks/flux --namespace flux --set helmOperator.create=true --set helmOperator.git.chartsPath=charts --set git.url=ssh://git@github.com/stefanprodan/gitops-istio --set git.branch=ab-testing
  • 9. Flux Helm Release custom resource 9 apiVersion: helm.integrations.flux.weave.works/v1alpha2 kind: FluxHelmRelease metadata: name: frontend namespace: demo annotations: flux.weave.works/automated: "true" flux.weave.works/tag.chart-image: semver:~1.0 spec: chartGitPath: podinfo releaseName: frontend values: image: quay.io/stefanprodan/podinfo:1.0.0
  • 11. GitOps Demo A/B Testing with Istio 11
  • 14. GitOps Examples 14 ● Helm ○ https://github.com/stefanprodan/gitops-helm ● Istio ○ https://github.com/stefanprodan/gitops-istio