SlideShare a Scribd company logo
1
February 9, 2022
Free Workshop
Intro to Kubernetes + GitOps
Kingdon Barrett, OSS Support Engineer, Weaveworks
David Stauffer, Sr. Product Manager, Weaveworks
Tamao Nakahara, VP of DX, Weaveworks
2
Weaveworks is founded on open source
● Flux & Flagger (CNCF): GitOps and Progressive Delivery for k8s
● Cortex (CNCF): Distributed, Long-term-storage TSDB compatible with
Prometheus
● Weave Ignite: VMs with container UX & built-in GitOps management
● EKSctl: Create an Amazon EKS cluster with one command
● (and many many more projects!)
And now … Weave GitOps!
weave.works
3
Speakers Help/Support
Kingdon Barrett
OSS Engineer
David Stauffer
Sr. PM, Weaveworks
Tamao Nakahara
VP of DX,
Weaveworks
Duration
90-120 Minutes
Browser
Safari copy/paste
shortcuts may not work
Using Zoom
Questions?
• Use chat (button: top
left corner of screen)
• Escape to exit full
screen
• “To Everyone” or “To
all panelists and
attendees”
Support:
https://support.zoom.us/hc/
en-us/articles/206175806-T
op-Questions
Troubleshooting
Use chat
If the issue is not easily resolved,
we ask that you follow along as
we demo the sample app.
Free GitOps Workshop
4
👋 Welcome!
Agenda:
Intro to Kubernetes & GitOps
Weave GitOps overview
Weave GitOps Getting started
Follow along at weave.works/product/gitops-core/
5
👋 Get started & Get connected 💬 🤝
1. Weave GitOps: weave.works/product/gitops-core/
2. Getting Started: Click on “Getting Started” link from
the above link
3. Need help? #weave-gitops slack at
https://bit.ly/WeaveGitOpsSlack
6
Coming Up
Weave Online User Group
(https://www.meetup.com/Weave-User-Group/)
● Feb 16: GitOps on Amazon EKS Anywhere + Flux
● Feb 17: Flux for Helm Users
● Mar 2: Managing Thousand of Clusters & Their Workloads with
Flux
Intro to Kubernetes
and GitOps
7
● Kingdon Barrett
● OSS Engineer @ Weaveworks
Flux Maintainer fluxcd.io
(AKA @yebyen on the Internet)
8
About me!
��
Outline/Background
9
● Intro to Kubernetes
○ Container Clusters - The Modern Ops Stack for the Cloud
○ Core API - Namespaces, Pods, Services, Events, Secrets, Config, …
○ apps, storage, coord., discovery, jobs, certificates, networking, RBAC, ...
○ Extending Kubernetes - CRDs, Controllers, Operators
● Intro to GitOps
○ (Need something to wrangle all of that complexity)
○ Cloud-Native Best-Practices for Kubernetes
○ Git: Version-Controlled, Immutable Storage
○ Ops: Continuous Delivery, Declarative Configuration, Automation
Intro to Kubernetes
10
● Open-Source Platform for Operations
● Control Plane, API, Data Plane, Workloads
● Different experiences are possible, depending on:
● Self-hosted vs. Managed Kubernetes
● For Dev/Test users / vs. for Production infrastructure
What is Kubernetes?
11
● Common framework w/ Conformance Testing
● Mostly same experience across all cloud providers
● Controllers Reconciling toward a “Desired State”
● Declarative configuration
● Describes eg. Deployments - of containerized apps
● Controllers drive the actual state toward desired state
What is Kubernetes?
12
● Pod
○ kubectl run --image
ghcr.io/palemtnrider/weave-gitops:v0.3.2 ->
pod running 1 container
● Pods have a lifecycle (Pending, Running, Succeeded,
Failed, Unknown, Waiting, Terminated, Evicted)
● A “pod” definition like this by itself is not declarative.
Calling a single instance (named) – imperative behavior
What does that mean? (Example - Bad)
13
● Deployment -> (replicas: [N], template @ specification)
○ Kubectl apply -f dep.yaml -> ReplicaSet
…
○ -> Pods[N]
● Declarative primitives rescue you from managing the
imperative lifecycle of pods (built-in to Kubernetes)
What does that mean? (Example)
14
● Deployment -> (replicas: [N], template @ specification)
○ Kubectl apply -f dep.yaml -> ReplicaSet
(replicas: [N], immutable specification)
(Deployment desires a matching ReplicaSet)
○ -> Pods[N] (each: [Ready], single @ immutable spec)
(ReplicaSet desires [N] pods at ready state)
● Declarative primitives rescue you from managing the
imperative lifecycle of pods (built-in to Kubernetes)
What does that mean? (Example)
15
● Job -> (...)
● CronJob -> Job (...)
(Triggered automatically on a schedule)
● StatefulSet -> Pods[N] (...)
(Each replica has identity, bound to a Persistent Volume)
● Control Loops - Kubernetes Controller Manager
Drives each resource toward declared state
What does that mean?
16
● Declare your desired state
● Apply to your Kubernetes environment
● Control Loops for primitives and custom resources drive
toward and maintain declared state
What does that mean?
17
Intro to GitOps
18
● What would it look like if the desired state of an entire
cluster/system was represented as a single artifact?
● Git Commit - with Kubernetes YAML manifests
● (GitOps is more than that)
What is GitOps?
19
20
Source: opengitops.dev
21
● Greater Visibility
○ Surfaces important metrics
● Improved Security
○ Less permissions
○ Access Log
● Easier Compliance
○ Standardization
○ Auditibility
Benefits for Business
● Easier, Streamlined Deploys
○ Same behavior - Locally & Remotely
● Reduced knowledge required to interact with a cluster
● No cluster write credentials needed to interact with a cluster
○ “Kubectl apply, edit, create, wait where was I again”
○ “I ran a command that has left things in an irreversible state”
Benefits for Developers
22
● Less code to maintain
○ scripts that go kubectl apply ➡ replaced by trusted OSS
● Less permissions
○ write cluster account ➡ replaced by git
● Easier Rollbacks
○ Previous commit + deploy job ➡ previous commit
● Easier to track changes
● Provides a layer of standardization for delivery
Benefits for Platform Teams
23
● Declarative Configuration
● Version Controlled, Immutable artifacts
● Single Source of Truth
● Automated Delivery
What is GitOps?
24
Confidential do not distribute
At a Glance
25
��💻
��
This is my system
��
25
● Declarative Configuration
● Version Controlled, Immutable artifacts
● Single Source of Truth
● Automated Delivery of Declarative Resources
● Agents running in the cluster, Reconciling Definitions
● “Closed Loop”
What is GitOps?
26
- Git centric way of implementing continuous delivery
- Benefits include
- Increased Productivity
- Enhanced Developer Experience
- Improved Stability
- Higher Reliability
- Consistency and Standardization
- Stronger Security Guarantees
- 4 Principles
- GitOps overcomes the problems of tightly-coupled CI and CD
In Summary
27
Q&A ?
28
The “turkey dinner” :)
End goal for GitOps Hands-On
29
Tamao Nakahara, VP of Developer Experience, Weaveworks
30
Weaveworks is a software and services company founded in 2014.
We are known for world class tools and delivery to a global customer base including the
world’s biggest companies. The biggest clouds use our software and partner with us.
1. We provide a modular solution for customers transitioning to a cloud native platform
2. We are a neutral vendor adding value to any flavor of managed Kubernetes
3. We deliver consistent management and operational control to IT
We are leaders in “GitOps” – best practices for consistent management of cloud native apps
Introduction to Weaveworks
IT delivery velocity leads to competitive business success
DORA1
research shows that technical organisations with the best velocity on four key software delivery
measures are twice as likely to meet their organisational goals.
31
1. https://services.google.com/fh/files/misc/state-of-devops-2019.pdf
Code
Test Commit
Build
Aims:
Maximal time coding
Fast cycle times
Local environment
● Simple development experience that scales
from local kind clusters to full scale
deployment
● GitOps improves every stage from
development to fleet deployment
● Developer-focused tools and UX enable
developers to be more productive across
teams and enterprises
32
Weave GitOps Core and Enterprise
The Kubernetes Native, Flux Native, GitOps Platform
https://cloud.google.com/blog/products/devops-sre/the-2019-accelerate-state-of-devops-elite-performance-productivity-and-scaling
34
35
Challenge: Developer Velocity
❏ Slow feature delivery cycles
❏ Manual, unreliable deployments
❏ Downtime during deployment
Accelerate software lifecycles through automation
Solution: GitOps Automation
❏ Resilient and Automated
deployment process
❏ Continuous application delivery
❏ Increase MTTD and decrease MTTR
Weave Gitops Core: Flux Native, Open Source
Application Delivery
● Represents the repositories that store a
collection of a declarative description of
runnable units
● Describes for the platform how to
deploy, start, operate, and retire the
corresponding service artifact.
● Presents which of those repos is being
polled by the Weave GitOps controllers
● Presents the services and the
workloads running in instances in a
specific environment, including status
36
Weave GitOps Enteprise
Scaling Gitops
37
https://cloud.google.com/blog/products/devops-sre/the-2019-accelerate-state-of-devops-elite-performance-productivity-and-scaling
Educate Enable Platform Applications
Weaveworks Consulting, Training and CRE Service 
• Guided technology choices 
• Cloud native reference
architecture designs
• Cloud native technology
options and selection
Weave GitOps Enterprise
• Infrastructure of your choice:
public cloud and on premise
• Configuration management
for the whole platform
• Integrated security
• 24/7 Support 
DevOps
• Automation, management 
and Continuous Delivery
• Prometheus monitoring
and alerting
• Training for cluster
operators, application
operators and developers
• Delivery of POCs and
experimental environments
Accelerating the path to Cloud Native
39
GET STARTED FAST DESIGN AND BUILD
DELIVER A PRODUCTION
READY K8S PLATFORM
ENABLE AN AGILE
DELIVERY MODEL
1 2 3 4
谢谢
Thank You
Danke
Obrigado
Спасибо!
Merci
‫ﺷﻛرا‬
Ad

Recommended

Free GitOps Workshop
Free GitOps Workshop
Weaveworks
 
Intro to Kubernetes & GitOps Workshop
Intro to Kubernetes & GitOps Workshop
Weaveworks
 
Free GitOps Workshop + Intro to Kubernetes & GitOps
Free GitOps Workshop + Intro to Kubernetes & GitOps
Weaveworks
 
GitOps 101 Presentation.pdf
GitOps 101 Presentation.pdf
ssuser31375f
 
Cloud Native Apps with GitOps
Cloud Native Apps with GitOps
Weaveworks
 
Speeding up your team with GitOps
Speeding up your team with GitOps
Brice Fernandes
 
DX, Guardrails, Golden Paths & Policy in Kubernetes
DX, Guardrails, Golden Paths & Policy in Kubernetes
Weaveworks
 
Observe and command your fleets across any kubernetes with weave git ops
Observe and command your fleets across any kubernetes with weave git ops
Weaveworks
 
Continuous Lifecycle London 2018 Event Keynote
Continuous Lifecycle London 2018 Event Keynote
Weaveworks
 
Delivering Quality at Speed with GitOps
Delivering Quality at Speed with GitOps
Weaveworks
 
Gitops Hands On
Gitops Hands On
Brice Fernandes
 
Simplifying Hybrid EKS
Simplifying Hybrid EKS
Weaveworks
 
Achieve Data & Operational Sovereignty: Managing Hybrid & Edge EKS Deployment...
Achieve Data & Operational Sovereignty: Managing Hybrid & Edge EKS Deployment...
Weaveworks
 
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
sparkfabrik
 
Deploying Stateful Applications Securely & Confidently with Ondat & Weave GitOps
Deploying Stateful Applications Securely & Confidently with Ondat & Weave GitOps
Weaveworks
 
GitOps - Modern best practices for high velocity app dev using cloud native t...
GitOps - Modern best practices for high velocity app dev using cloud native t...
Weaveworks
 
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
Weaveworks
 
Cloud Native Engineering with SRE and GitOps
Cloud Native Engineering with SRE and GitOps
Weaveworks
 
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Sonja Schweigert
 
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Weaveworks
 
Weave GitOps - continuous delivery for any Kubernetes
Weave GitOps - continuous delivery for any Kubernetes
Weaveworks
 
Shift Deployment Security Left with Weave GitOps & Upbound’s Universal Crossp...
Shift Deployment Security Left with Weave GitOps & Upbound’s Universal Crossp...
Weaveworks
 
Weave GitOps Core Overview (Free GitOps Workshop)
Weave GitOps Core Overview (Free GitOps Workshop)
Weaveworks
 
Overcoming Regulatory & Compliance Hurdles with Hybrid Cloud EKS and Weave Gi...
Overcoming Regulatory & Compliance Hurdles with Hybrid Cloud EKS and Weave Gi...
Weaveworks
 
PDF GitOps Cookbook (Third Early Release) Natale Vinto download
PDF GitOps Cookbook (Third Early Release) Natale Vinto download
xamysakuchuk
 
Whitepaper automating kuberneteswithgitops 1
Whitepaper automating kuberneteswithgitops 1
Kenneth Nnadikwe
 
GitOps is the best modern practice for CD with Kubernetes
GitOps is the best modern practice for CD with Kubernetes
Volodymyr Shynkar
 
Intro to GitOps with Weave GitOps, Flagger and Linkerd
Intro to GitOps with Weave GitOps, Flagger and Linkerd
Weaveworks
 
Weave AI Controllers (Weave GitOps Office Hours)
Weave AI Controllers (Weave GitOps Office Hours)
Weaveworks
 
Flamingo: Expand ArgoCD with Flux (Office Hours)
Flamingo: Expand ArgoCD with Flux (Office Hours)
Weaveworks
 

More Related Content

Similar to Free GitOps Workshop (with Intro to Kubernetes & GitOps) (20)

Continuous Lifecycle London 2018 Event Keynote
Continuous Lifecycle London 2018 Event Keynote
Weaveworks
 
Delivering Quality at Speed with GitOps
Delivering Quality at Speed with GitOps
Weaveworks
 
Gitops Hands On
Gitops Hands On
Brice Fernandes
 
Simplifying Hybrid EKS
Simplifying Hybrid EKS
Weaveworks
 
Achieve Data & Operational Sovereignty: Managing Hybrid & Edge EKS Deployment...
Achieve Data & Operational Sovereignty: Managing Hybrid & Edge EKS Deployment...
Weaveworks
 
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
sparkfabrik
 
Deploying Stateful Applications Securely & Confidently with Ondat & Weave GitOps
Deploying Stateful Applications Securely & Confidently with Ondat & Weave GitOps
Weaveworks
 
GitOps - Modern best practices for high velocity app dev using cloud native t...
GitOps - Modern best practices for high velocity app dev using cloud native t...
Weaveworks
 
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
Weaveworks
 
Cloud Native Engineering with SRE and GitOps
Cloud Native Engineering with SRE and GitOps
Weaveworks
 
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Sonja Schweigert
 
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Weaveworks
 
Weave GitOps - continuous delivery for any Kubernetes
Weave GitOps - continuous delivery for any Kubernetes
Weaveworks
 
Shift Deployment Security Left with Weave GitOps & Upbound’s Universal Crossp...
Shift Deployment Security Left with Weave GitOps & Upbound’s Universal Crossp...
Weaveworks
 
Weave GitOps Core Overview (Free GitOps Workshop)
Weave GitOps Core Overview (Free GitOps Workshop)
Weaveworks
 
Overcoming Regulatory & Compliance Hurdles with Hybrid Cloud EKS and Weave Gi...
Overcoming Regulatory & Compliance Hurdles with Hybrid Cloud EKS and Weave Gi...
Weaveworks
 
PDF GitOps Cookbook (Third Early Release) Natale Vinto download
PDF GitOps Cookbook (Third Early Release) Natale Vinto download
xamysakuchuk
 
Whitepaper automating kuberneteswithgitops 1
Whitepaper automating kuberneteswithgitops 1
Kenneth Nnadikwe
 
GitOps is the best modern practice for CD with Kubernetes
GitOps is the best modern practice for CD with Kubernetes
Volodymyr Shynkar
 
Intro to GitOps with Weave GitOps, Flagger and Linkerd
Intro to GitOps with Weave GitOps, Flagger and Linkerd
Weaveworks
 
Continuous Lifecycle London 2018 Event Keynote
Continuous Lifecycle London 2018 Event Keynote
Weaveworks
 
Delivering Quality at Speed with GitOps
Delivering Quality at Speed with GitOps
Weaveworks
 
Simplifying Hybrid EKS
Simplifying Hybrid EKS
Weaveworks
 
Achieve Data & Operational Sovereignty: Managing Hybrid & Edge EKS Deployment...
Achieve Data & Operational Sovereignty: Managing Hybrid & Edge EKS Deployment...
Weaveworks
 
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
GitOps: Git come unica fonte di verità per applicazioni e infrastruttura
sparkfabrik
 
Deploying Stateful Applications Securely & Confidently with Ondat & Weave GitOps
Deploying Stateful Applications Securely & Confidently with Ondat & Weave GitOps
Weaveworks
 
GitOps - Modern best practices for high velocity app dev using cloud native t...
GitOps - Modern best practices for high velocity app dev using cloud native t...
Weaveworks
 
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
Weaveworks
 
Cloud Native Engineering with SRE and GitOps
Cloud Native Engineering with SRE and GitOps
Weaveworks
 
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Sonja Schweigert
 
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Hybrid and Multi-Cloud Strategies for Kubernetes with GitOps
Weaveworks
 
Weave GitOps - continuous delivery for any Kubernetes
Weave GitOps - continuous delivery for any Kubernetes
Weaveworks
 
Shift Deployment Security Left with Weave GitOps & Upbound’s Universal Crossp...
Shift Deployment Security Left with Weave GitOps & Upbound’s Universal Crossp...
Weaveworks
 
Weave GitOps Core Overview (Free GitOps Workshop)
Weave GitOps Core Overview (Free GitOps Workshop)
Weaveworks
 
Overcoming Regulatory & Compliance Hurdles with Hybrid Cloud EKS and Weave Gi...
Overcoming Regulatory & Compliance Hurdles with Hybrid Cloud EKS and Weave Gi...
Weaveworks
 
PDF GitOps Cookbook (Third Early Release) Natale Vinto download
PDF GitOps Cookbook (Third Early Release) Natale Vinto download
xamysakuchuk
 
Whitepaper automating kuberneteswithgitops 1
Whitepaper automating kuberneteswithgitops 1
Kenneth Nnadikwe
 
GitOps is the best modern practice for CD with Kubernetes
GitOps is the best modern practice for CD with Kubernetes
Volodymyr Shynkar
 
Intro to GitOps with Weave GitOps, Flagger and Linkerd
Intro to GitOps with Weave GitOps, Flagger and Linkerd
Weaveworks
 

More from Weaveworks (20)

Weave AI Controllers (Weave GitOps Office Hours)
Weave AI Controllers (Weave GitOps Office Hours)
Weaveworks
 
Flamingo: Expand ArgoCD with Flux (Office Hours)
Flamingo: Expand ArgoCD with Flux (Office Hours)
Weaveworks
 
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
Weaveworks
 
Six Signs You Need Platform Engineering
Six Signs You Need Platform Engineering
Weaveworks
 
SRE and GitOps for Building Robust Kubernetes Platforms.pdf
SRE and GitOps for Building Robust Kubernetes Platforms.pdf
Weaveworks
 
Webinar: End to End Security & Operations with Chainguard and Weave GitOps
Webinar: End to End Security & Operations with Chainguard and Weave GitOps
Weaveworks
 
Flux Beyond Git Harnessing the Power of OCI
Flux Beyond Git Harnessing the Power of OCI
Weaveworks
 
Automated Provisioning, Management & Cost Control for Kubernetes Clusters
Automated Provisioning, Management & Cost Control for Kubernetes Clusters
Weaveworks
 
How to Avoid Kubernetes Multi-tenancy Catastrophes
How to Avoid Kubernetes Multi-tenancy Catastrophes
Weaveworks
 
Building internal developer platform with EKS and GitOps
Building internal developer platform with EKS and GitOps
Weaveworks
 
GitOps Testing in Kubernetes with Flux and Testkube.pdf
GitOps Testing in Kubernetes with Flux and Testkube.pdf
Weaveworks
 
Implementing Flux for Scale with Soft Multi-tenancy
Implementing Flux for Scale with Soft Multi-tenancy
Weaveworks
 
Accelerating Hybrid Multistage Delivery with Weave GitOps on EKS
Accelerating Hybrid Multistage Delivery with Weave GitOps on EKS
Weaveworks
 
The Story of Flux Reaching Graduation in the CNCF
The Story of Flux Reaching Graduation in the CNCF
Weaveworks
 
Securing Your App Deployments with Tunnels, OIDC, RBAC, and Progressive Deliv...
Securing Your App Deployments with Tunnels, OIDC, RBAC, and Progressive Deliv...
Weaveworks
 
Flux’s Security & Scalability with OCI & Helm Slides.pdf
Flux’s Security & Scalability with OCI & Helm Slides.pdf
Weaveworks
 
Flux Security & Scalability using VS Code GitOps Extension
Flux Security & Scalability using VS Code GitOps Extension
Weaveworks
 
Robust Network Security and Observability with GitOps and Cilium
Robust Network Security and Observability with GitOps and Cilium
Weaveworks
 
Intro to GitOps & Flux.pdf
Intro to GitOps & Flux.pdf
Weaveworks
 
Simplifying Hybrid Kubernetes with Weaveworks and EKS.pdf
Simplifying Hybrid Kubernetes with Weaveworks and EKS.pdf
Weaveworks
 
Weave AI Controllers (Weave GitOps Office Hours)
Weave AI Controllers (Weave GitOps Office Hours)
Weaveworks
 
Flamingo: Expand ArgoCD with Flux (Office Hours)
Flamingo: Expand ArgoCD with Flux (Office Hours)
Weaveworks
 
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
Weaveworks
 
Six Signs You Need Platform Engineering
Six Signs You Need Platform Engineering
Weaveworks
 
SRE and GitOps for Building Robust Kubernetes Platforms.pdf
SRE and GitOps for Building Robust Kubernetes Platforms.pdf
Weaveworks
 
Webinar: End to End Security & Operations with Chainguard and Weave GitOps
Webinar: End to End Security & Operations with Chainguard and Weave GitOps
Weaveworks
 
Flux Beyond Git Harnessing the Power of OCI
Flux Beyond Git Harnessing the Power of OCI
Weaveworks
 
Automated Provisioning, Management & Cost Control for Kubernetes Clusters
Automated Provisioning, Management & Cost Control for Kubernetes Clusters
Weaveworks
 
How to Avoid Kubernetes Multi-tenancy Catastrophes
How to Avoid Kubernetes Multi-tenancy Catastrophes
Weaveworks
 
Building internal developer platform with EKS and GitOps
Building internal developer platform with EKS and GitOps
Weaveworks
 
GitOps Testing in Kubernetes with Flux and Testkube.pdf
GitOps Testing in Kubernetes with Flux and Testkube.pdf
Weaveworks
 
Implementing Flux for Scale with Soft Multi-tenancy
Implementing Flux for Scale with Soft Multi-tenancy
Weaveworks
 
Accelerating Hybrid Multistage Delivery with Weave GitOps on EKS
Accelerating Hybrid Multistage Delivery with Weave GitOps on EKS
Weaveworks
 
The Story of Flux Reaching Graduation in the CNCF
The Story of Flux Reaching Graduation in the CNCF
Weaveworks
 
Securing Your App Deployments with Tunnels, OIDC, RBAC, and Progressive Deliv...
Securing Your App Deployments with Tunnels, OIDC, RBAC, and Progressive Deliv...
Weaveworks
 
Flux’s Security & Scalability with OCI & Helm Slides.pdf
Flux’s Security & Scalability with OCI & Helm Slides.pdf
Weaveworks
 
Flux Security & Scalability using VS Code GitOps Extension
Flux Security & Scalability using VS Code GitOps Extension
Weaveworks
 
Robust Network Security and Observability with GitOps and Cilium
Robust Network Security and Observability with GitOps and Cilium
Weaveworks
 
Intro to GitOps & Flux.pdf
Intro to GitOps & Flux.pdf
Weaveworks
 
Simplifying Hybrid Kubernetes with Weaveworks and EKS.pdf
Simplifying Hybrid Kubernetes with Weaveworks and EKS.pdf
Weaveworks
 
Ad

Recently uploaded (20)

High Availability On-Premises FME Flow.pdf
High Availability On-Premises FME Flow.pdf
Safe Software
 
Murdledescargadarkweb.pdfvolumen1 100 elementary
Murdledescargadarkweb.pdfvolumen1 100 elementary
JorgeSemperteguiMont
 
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...
Safe Software
 
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
 
June Patch Tuesday
June Patch Tuesday
Ivanti
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance
 
vertical-cnc-processing-centers-drillteq-v-200-en.pdf
vertical-cnc-processing-centers-drillteq-v-200-en.pdf
AmirStern2
 
Down the Rabbit Hole – Solving 5 Training Roadblocks
Down the Rabbit Hole – Solving 5 Training Roadblocks
Rustici Software
 
FME for Good: Integrating Multiple Data Sources with APIs to Support Local Ch...
FME for Good: Integrating Multiple Data Sources with APIs to Support Local Ch...
Safe Software
 
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
NTT DATA Technology & Innovation
 
Providing an OGC API Processes REST Interface for FME Flow
Providing an OGC API Processes REST Interface for FME Flow
Safe Software
 
“From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
“From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
Edge AI and Vision Alliance
 
Edge-banding-machines-edgeteq-s-200-en-.pdf
Edge-banding-machines-edgeteq-s-200-en-.pdf
AmirStern2
 
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
 
SAP Modernization Strategies for a Successful S/4HANA Journey.pdf
SAP Modernization Strategies for a Successful S/4HANA Journey.pdf
Precisely
 
MuleSoft for AgentForce : Topic Center and API Catalog
MuleSoft for AgentForce : Topic Center and API Catalog
shyamraj55
 
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
 
The State of Web3 Industry- Industry Report
The State of Web3 Industry- Industry Report
Liveplex
 
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
Safe Software
 
High Availability On-Premises FME Flow.pdf
High Availability On-Premises FME Flow.pdf
Safe Software
 
Murdledescargadarkweb.pdfvolumen1 100 elementary
Murdledescargadarkweb.pdfvolumen1 100 elementary
JorgeSemperteguiMont
 
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...
National Fuels Treatments Initiative: Building a Seamless Map of Hazardous Fu...
Safe Software
 
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Seminar: New Data: Passkey Adoption in the Workforce.pptx
FIDO Alliance
 
June Patch Tuesday
June Patch Tuesday
Ivanti
 
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
Tech-ASan: Two-stage check for Address Sanitizer - Yixuan Cao.pdf
caoyixuan2019
 
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance Seminar State of Passkeys.pptx
FIDO Alliance
 
vertical-cnc-processing-centers-drillteq-v-200-en.pdf
vertical-cnc-processing-centers-drillteq-v-200-en.pdf
AmirStern2
 
Down the Rabbit Hole – Solving 5 Training Roadblocks
Down the Rabbit Hole – Solving 5 Training Roadblocks
Rustici Software
 
FME for Good: Integrating Multiple Data Sources with APIs to Support Local Ch...
FME for Good: Integrating Multiple Data Sources with APIs to Support Local Ch...
Safe Software
 
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
Can We Use Rust to Develop Extensions for PostgreSQL? (POSETTE: An Event for ...
NTT DATA Technology & Innovation
 
Providing an OGC API Processes REST Interface for FME Flow
Providing an OGC API Processes REST Interface for FME Flow
Safe Software
 
“From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
“From Enterprise to Makers: Driving Vision AI Innovation at the Extreme Edge,...
Edge AI and Vision Alliance
 
Edge-banding-machines-edgeteq-s-200-en-.pdf
Edge-banding-machines-edgeteq-s-200-en-.pdf
AmirStern2
 
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
ENERGY CONSUMPTION CALCULATION IN ENERGY-EFFICIENT AIR CONDITIONER.pdf
Muhammad Rizwan Akram
 
SAP Modernization Strategies for a Successful S/4HANA Journey.pdf
SAP Modernization Strategies for a Successful S/4HANA Journey.pdf
Precisely
 
MuleSoft for AgentForce : Topic Center and API Catalog
MuleSoft for AgentForce : Topic Center and API Catalog
shyamraj55
 
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
War_And_Cyber_3_Years_Of_Struggle_And_Lessons_For_Global_Security.pdf
biswajitbanerjee38
 
The State of Web3 Industry- Industry Report
The State of Web3 Industry- Industry Report
Liveplex
 
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
No-Code Workflows for CAD & 3D Data: Scaling AI-Driven Infrastructure
Safe Software
 
Ad

Free GitOps Workshop (with Intro to Kubernetes & GitOps)

  • 1. 1 February 9, 2022 Free Workshop Intro to Kubernetes + GitOps Kingdon Barrett, OSS Support Engineer, Weaveworks David Stauffer, Sr. Product Manager, Weaveworks Tamao Nakahara, VP of DX, Weaveworks
  • 2. 2 Weaveworks is founded on open source ● Flux & Flagger (CNCF): GitOps and Progressive Delivery for k8s ● Cortex (CNCF): Distributed, Long-term-storage TSDB compatible with Prometheus ● Weave Ignite: VMs with container UX & built-in GitOps management ● EKSctl: Create an Amazon EKS cluster with one command ● (and many many more projects!) And now … Weave GitOps! weave.works
  • 3. 3 Speakers Help/Support Kingdon Barrett OSS Engineer David Stauffer Sr. PM, Weaveworks Tamao Nakahara VP of DX, Weaveworks Duration 90-120 Minutes Browser Safari copy/paste shortcuts may not work Using Zoom Questions? • Use chat (button: top left corner of screen) • Escape to exit full screen • “To Everyone” or “To all panelists and attendees” Support: https://support.zoom.us/hc/ en-us/articles/206175806-T op-Questions Troubleshooting Use chat If the issue is not easily resolved, we ask that you follow along as we demo the sample app. Free GitOps Workshop
  • 4. 4 👋 Welcome! Agenda: Intro to Kubernetes & GitOps Weave GitOps overview Weave GitOps Getting started Follow along at weave.works/product/gitops-core/
  • 5. 5 👋 Get started & Get connected 💬 🤝 1. Weave GitOps: weave.works/product/gitops-core/ 2. Getting Started: Click on “Getting Started” link from the above link 3. Need help? #weave-gitops slack at https://bit.ly/WeaveGitOpsSlack
  • 6. 6 Coming Up Weave Online User Group (https://www.meetup.com/Weave-User-Group/) ● Feb 16: GitOps on Amazon EKS Anywhere + Flux ● Feb 17: Flux for Helm Users ● Mar 2: Managing Thousand of Clusters & Their Workloads with Flux
  • 8. ● Kingdon Barrett ● OSS Engineer @ Weaveworks Flux Maintainer fluxcd.io (AKA @yebyen on the Internet) 8 About me! ��
  • 9. Outline/Background 9 ● Intro to Kubernetes ○ Container Clusters - The Modern Ops Stack for the Cloud ○ Core API - Namespaces, Pods, Services, Events, Secrets, Config, … ○ apps, storage, coord., discovery, jobs, certificates, networking, RBAC, ... ○ Extending Kubernetes - CRDs, Controllers, Operators ● Intro to GitOps ○ (Need something to wrangle all of that complexity) ○ Cloud-Native Best-Practices for Kubernetes ○ Git: Version-Controlled, Immutable Storage ○ Ops: Continuous Delivery, Declarative Configuration, Automation
  • 11. ● Open-Source Platform for Operations ● Control Plane, API, Data Plane, Workloads ● Different experiences are possible, depending on: ● Self-hosted vs. Managed Kubernetes ● For Dev/Test users / vs. for Production infrastructure What is Kubernetes? 11
  • 12. ● Common framework w/ Conformance Testing ● Mostly same experience across all cloud providers ● Controllers Reconciling toward a “Desired State” ● Declarative configuration ● Describes eg. Deployments - of containerized apps ● Controllers drive the actual state toward desired state What is Kubernetes? 12
  • 13. ● Pod ○ kubectl run --image ghcr.io/palemtnrider/weave-gitops:v0.3.2 -> pod running 1 container ● Pods have a lifecycle (Pending, Running, Succeeded, Failed, Unknown, Waiting, Terminated, Evicted) ● A “pod” definition like this by itself is not declarative. Calling a single instance (named) – imperative behavior What does that mean? (Example - Bad) 13
  • 14. ● Deployment -> (replicas: [N], template @ specification) ○ Kubectl apply -f dep.yaml -> ReplicaSet … ○ -> Pods[N] ● Declarative primitives rescue you from managing the imperative lifecycle of pods (built-in to Kubernetes) What does that mean? (Example) 14
  • 15. ● Deployment -> (replicas: [N], template @ specification) ○ Kubectl apply -f dep.yaml -> ReplicaSet (replicas: [N], immutable specification) (Deployment desires a matching ReplicaSet) ○ -> Pods[N] (each: [Ready], single @ immutable spec) (ReplicaSet desires [N] pods at ready state) ● Declarative primitives rescue you from managing the imperative lifecycle of pods (built-in to Kubernetes) What does that mean? (Example) 15
  • 16. ● Job -> (...) ● CronJob -> Job (...) (Triggered automatically on a schedule) ● StatefulSet -> Pods[N] (...) (Each replica has identity, bound to a Persistent Volume) ● Control Loops - Kubernetes Controller Manager Drives each resource toward declared state What does that mean? 16
  • 17. ● Declare your desired state ● Apply to your Kubernetes environment ● Control Loops for primitives and custom resources drive toward and maintain declared state What does that mean? 17
  • 19. ● What would it look like if the desired state of an entire cluster/system was represented as a single artifact? ● Git Commit - with Kubernetes YAML manifests ● (GitOps is more than that) What is GitOps? 19
  • 21. 21 ● Greater Visibility ○ Surfaces important metrics ● Improved Security ○ Less permissions ○ Access Log ● Easier Compliance ○ Standardization ○ Auditibility Benefits for Business
  • 22. ● Easier, Streamlined Deploys ○ Same behavior - Locally & Remotely ● Reduced knowledge required to interact with a cluster ● No cluster write credentials needed to interact with a cluster ○ “Kubectl apply, edit, create, wait where was I again” ○ “I ran a command that has left things in an irreversible state” Benefits for Developers 22
  • 23. ● Less code to maintain ○ scripts that go kubectl apply ➡ replaced by trusted OSS ● Less permissions ○ write cluster account ➡ replaced by git ● Easier Rollbacks ○ Previous commit + deploy job ➡ previous commit ● Easier to track changes ● Provides a layer of standardization for delivery Benefits for Platform Teams 23
  • 24. ● Declarative Configuration ● Version Controlled, Immutable artifacts ● Single Source of Truth ● Automated Delivery What is GitOps? 24
  • 25. Confidential do not distribute At a Glance 25 ��💻 �� This is my system �� 25
  • 26. ● Declarative Configuration ● Version Controlled, Immutable artifacts ● Single Source of Truth ● Automated Delivery of Declarative Resources ● Agents running in the cluster, Reconciling Definitions ● “Closed Loop” What is GitOps? 26
  • 27. - Git centric way of implementing continuous delivery - Benefits include - Increased Productivity - Enhanced Developer Experience - Improved Stability - Higher Reliability - Consistency and Standardization - Stronger Security Guarantees - 4 Principles - GitOps overcomes the problems of tightly-coupled CI and CD In Summary 27
  • 29. The “turkey dinner” :) End goal for GitOps Hands-On 29 Tamao Nakahara, VP of Developer Experience, Weaveworks
  • 30. 30 Weaveworks is a software and services company founded in 2014. We are known for world class tools and delivery to a global customer base including the world’s biggest companies. The biggest clouds use our software and partner with us. 1. We provide a modular solution for customers transitioning to a cloud native platform 2. We are a neutral vendor adding value to any flavor of managed Kubernetes 3. We deliver consistent management and operational control to IT We are leaders in “GitOps” – best practices for consistent management of cloud native apps Introduction to Weaveworks
  • 31. IT delivery velocity leads to competitive business success DORA1 research shows that technical organisations with the best velocity on four key software delivery measures are twice as likely to meet their organisational goals. 31 1. https://services.google.com/fh/files/misc/state-of-devops-2019.pdf
  • 32. Code Test Commit Build Aims: Maximal time coding Fast cycle times Local environment ● Simple development experience that scales from local kind clusters to full scale deployment ● GitOps improves every stage from development to fleet deployment ● Developer-focused tools and UX enable developers to be more productive across teams and enterprises 32 Weave GitOps Core and Enterprise The Kubernetes Native, Flux Native, GitOps Platform
  • 34. 34
  • 35. 35 Challenge: Developer Velocity ❏ Slow feature delivery cycles ❏ Manual, unreliable deployments ❏ Downtime during deployment Accelerate software lifecycles through automation Solution: GitOps Automation ❏ Resilient and Automated deployment process ❏ Continuous application delivery ❏ Increase MTTD and decrease MTTR
  • 36. Weave Gitops Core: Flux Native, Open Source Application Delivery ● Represents the repositories that store a collection of a declarative description of runnable units ● Describes for the platform how to deploy, start, operate, and retire the corresponding service artifact. ● Presents which of those repos is being polled by the Weave GitOps controllers ● Presents the services and the workloads running in instances in a specific environment, including status 36
  • 39. Educate Enable Platform Applications Weaveworks Consulting, Training and CRE Service  • Guided technology choices  • Cloud native reference architecture designs • Cloud native technology options and selection Weave GitOps Enterprise • Infrastructure of your choice: public cloud and on premise • Configuration management for the whole platform • Integrated security • 24/7 Support  DevOps • Automation, management  and Continuous Delivery • Prometheus monitoring and alerting • Training for cluster operators, application operators and developers • Delivery of POCs and experimental environments Accelerating the path to Cloud Native 39 GET STARTED FAST DESIGN AND BUILD DELIVER A PRODUCTION READY K8S PLATFORM ENABLE AN AGILE DELIVERY MODEL 1 2 3 4