SlideShare a Scribd company logo
1#GitLabCommit
Enhance Your Kubernetes CI/CD Pipelines with
GitLab & Open Source
2#GitLabCommit
Nico Meisenzahl
Senior Cloud & DevOps Consultant at white duck
GitLab Hero & Docker Community Leader
Loves Kubernetes, DevOps and Cloud
@nmeisenzahl
https://meisenzahl.org
https://whiteduck.de
nico.meisenzahl@whiteduck.de
3#GitLabCommit
How Gitlab and Open Source Can Help You Streamline Your Kubernetes CI/CD Pipelines
● move your pipeline workload into your cluster
● run container builds within your cluster
● secure your application ingress
● enhance your application deployments
● only care about your code
Agenda
4#GitLabCommit
Gitlab Runner Kubernetes executor
Move your pipeline workload into your cluster
5#GitLabCommit
● allows you to
○ containerize your pipeline workload
○ share your compute and scale your pipelines
● runs inside your cluster
○ automatable Helm deployment
● runs a pod per job
○ prepare → creates pod with build and service containers
○ pre-build → clones repo, restore cache, download artifacts
○ build → user build steps
○ post-build → creates caches and upload artifacts
Kubernetes executor
6#GitLabCommit
● containerized pipeline configuration
● Kubernetes executor in action!
● https://gitlab.com/gitlab-commit-demo/containerized-appdeploy-sample
Demo: Pipeline configuration
7#GitLabCommit
Kaniko
Run container builds within your cluster
8#GitLabCommit
● image builds without the need of any privileges or dependencies
● disadvantages of Docker-in-Docker
○ exposing Docker socket
○ mounting /var/lib/docker
○ privileged mode
● based on http://gcr.io/kaniko-project/executor
● use caching to speed up your pipeline
Image builds with Kaniko
9#GitLabCommit
● image build pipeline configuration
● containerized job container image
● Kaniko in action!
● https://gitlab.com/gitlab-commit-demo/containerized-jobimage-sample
Demo: Image builds pipeline
10#GitLabCommit
GitLab Web Application Firewall
Secure your application ingress
11#GitLabCommit
● GitLab Web Application Firewall finds and tracks
○ SQL injection
○ cross-site scripting
● is based on Kubernetes Nginx Ingress with enabled modsecurity module
○ OWASP (Open Web Application Security Project) ModSecurity Core Ruleset
○ managed & customized by GitLab
○ defaults to detection-only mode
Secure your application
12#GitLabCommit
● GitLab Web Application Firewall in action!
● https://gitlab.com/gitlab-commit-demo/secure-ingress-sample
Demo: Secure your application ingress
13#GitLabCommit
Kustomize
Enhance your application deployments
14#GitLabCommit
● do we need the advantages of Helm in a CI/CD application deployment?
○ packaging and sharing?
○ rollbacks?
○ templates?
● “Kustomize lets you customize raw, template-free YAML files for multiple purposes,
leaving the original YAML untouched and usable as is”
○ no template overhead
○ no additional CLI needed
○ reduces complexity
○ just YAML
● kustomize vs kubectl apply -k
Kustomize
15#GitLabCommit
What Kustomize can do
16#GitLabCommit
Demo: How Kustomize works
● pipeline configuration with Kustomize
● Kustomize in action!
● https://gitlab.com/gitlab-commit-demo/enhanced-appdeploy-sample
17#GitLabCommit
GitLab Serverless
Only care about your code
18#GitLabCommit
● only care about your code
● Function-as-a-Service (FaaS) powered by GitLab and open source
○ based on Knative, Kaniko and Istio
○ alpha feature
● supports Go, NodeJS & Ruby
○ C#, PHP, Python via OpenFaaS integration
○ any other language via containerized serverless application
● multi-cloud support
● auto-scaling with scale to zero
Only care on your business logic
19#GitLabCommit
● configuration details
● GitLab Serverless in action!
● https://gitlab.com/gitlab-commit-demo/serverless-sample
Demo: Only care about your code
20#GitLabCommit
Questions?
@nmeisenzahl
https://meisenzahl.org
https://whiteduck.de
nico.meisenzahl@whiteduck.de
Slides → https://www.slideshare.net/nmeisenzahl
Demos → https://gitlab.com/gitlab-commit-demo
related articles/blogs:
● https://thenewstack.io/author/nico-meisenzahl/
● https://medium.com/@nicomeisenzahl

More Related Content

What's hot (20)

PDF
Die Evolution von Container Image Builds
Nico Meisenzahl
 
PDF
DevOpsCon Berlin: Helm vs Operators – Do I Need to Decide?
Nico Meisenzahl
 
PDF
Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
PDF
Azure Zürich User Group: Azure Kubernetes Service – more than just a managed ...
Nico Meisenzahl
 
PDF
Cloud Native Day: Cloud-native Anwendungsentwicklung im Jahr 2021
Nico Meisenzahl
 
PDF
azdevcom - Hijack a Kubernetes Cluster
Nico Meisenzahl
 
PDF
Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
PPTX
FestiveTechCalendar2021 - Have Yourself An​ Azure Container Registry
Philip Welz
 
PDF
The Future of Workflow Automation Is Now - Hassle-Free ARM Template Deploymen...
Nico Meisenzahl
 
PDF
Azure Rosenheim Meetup: Azure Service Operator
Nico Meisenzahl
 
PDF
Azure Saturday Hamburg: Containerize Your .NET Microservice - the Right Way!
Nico Meisenzahl
 
PDF
Docker Rosenheim Meetup: Policy & Governance for Kubernetes
Nico Meisenzahl
 
PPTX
Event sourcing your React-Redux applications
Maurice De Beijer [MVP]
 
PPTX
Meetup 23 - 03 - Application Delivery on K8S with GitOps
Vietnam Open Infrastructure User Group
 
PDF
DevOps Gathering - How Containerized Pipelines Can Boost Your CI/CD
Nico Meisenzahl
 
PDF
GitLab London Meetup: How Containerized Pipelines and Kubernetes Can Boost Yo...
Nico Meisenzahl
 
PDF
Virtual Azure Community Day: Azure Kubernetes Service Basics
Nico Meisenzahl
 
PDF
DevOpsCon London: How containerized Pipelines can boost your CI/CD
Nico Meisenzahl
 
PPTX
Quick workflow of a nodejs api
Paolo Carrasco Mori
 
PPTX
Monitoring mayhem - Using Prometheus
Brian Christner
 
Die Evolution von Container Image Builds
Nico Meisenzahl
 
DevOpsCon Berlin: Helm vs Operators – Do I Need to Decide?
Nico Meisenzahl
 
Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
Azure Zürich User Group: Azure Kubernetes Service – more than just a managed ...
Nico Meisenzahl
 
Cloud Native Day: Cloud-native Anwendungsentwicklung im Jahr 2021
Nico Meisenzahl
 
azdevcom - Hijack a Kubernetes Cluster
Nico Meisenzahl
 
Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
FestiveTechCalendar2021 - Have Yourself An​ Azure Container Registry
Philip Welz
 
The Future of Workflow Automation Is Now - Hassle-Free ARM Template Deploymen...
Nico Meisenzahl
 
Azure Rosenheim Meetup: Azure Service Operator
Nico Meisenzahl
 
Azure Saturday Hamburg: Containerize Your .NET Microservice - the Right Way!
Nico Meisenzahl
 
Docker Rosenheim Meetup: Policy & Governance for Kubernetes
Nico Meisenzahl
 
Event sourcing your React-Redux applications
Maurice De Beijer [MVP]
 
Meetup 23 - 03 - Application Delivery on K8S with GitOps
Vietnam Open Infrastructure User Group
 
DevOps Gathering - How Containerized Pipelines Can Boost Your CI/CD
Nico Meisenzahl
 
GitLab London Meetup: How Containerized Pipelines and Kubernetes Can Boost Yo...
Nico Meisenzahl
 
Virtual Azure Community Day: Azure Kubernetes Service Basics
Nico Meisenzahl
 
DevOpsCon London: How containerized Pipelines can boost your CI/CD
Nico Meisenzahl
 
Quick workflow of a nodejs api
Paolo Carrasco Mori
 
Monitoring mayhem - Using Prometheus
Brian Christner
 

Similar to Enhance Your Kubernetes CI/CD Pipelines With GitLab & Open Source (20)

PDF
Gitlab Commit: How Containerized GitLab CI Pipelines Can Help You Streamline ...
Nico Meisenzahl
 
PDF
GitLab Remote Meetup: Enhance Your Kubernetes CI/CD Pipelines with GitLab & O...
Cloud Native Rosenheim Meetup
 
PDF
Webinar - Unbox GitLab CI/CD
Annie Huang
 
PDF
Delivering Quality at Speed with GitOps
Weaveworks
 
PDF
GitOps 101 Presentation.pdf
ssuser31375f
 
PDF
Deploy on AWS from GIT Lab PDF2.pdf
Srinivas Kannan
 
PDF
Continuous Lifecycle London 2018 Event Keynote
Weaveworks
 
PDF
Gitlab ci e kubernetes, build test and deploy your projects like a pro
sparkfabrik
 
PDF
Speeding up your team with GitOps
Brice Fernandes
 
PDF
Gitlab ci, cncf.sk
Juraj Hantak
 
PPTX
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
Weaveworks
 
PDF
Whitepaper automating kuberneteswithgitops 1
Kenneth Nnadikwe
 
PDF
Free GitOps Workshop + Intro to Kubernetes & GitOps
Weaveworks
 
PDF
Jenkins vs GitLab CI
CEE-SEC(R)
 
PDF
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Sunnyvale
 
PDF
Robust Network Security and Observability with GitOps and Cilium
Weaveworks
 
PDF
gitopsthekubernetesway-201026090439.pdf
saraichiba2
 
PDF
Gitops: the kubernetes way
sparkfabrik
 
PDF
GitOps and Kubernetes 1st Edition Billy Yuen Alexander Matyushentsev Jesse Su...
alanebrodixm
 
PDF
GitOps and Kubernetes 1st Edition Billy Yuen Alexander Matyushentsev Jesse Su...
ptrkbxhxe670
 
Gitlab Commit: How Containerized GitLab CI Pipelines Can Help You Streamline ...
Nico Meisenzahl
 
GitLab Remote Meetup: Enhance Your Kubernetes CI/CD Pipelines with GitLab & O...
Cloud Native Rosenheim Meetup
 
Webinar - Unbox GitLab CI/CD
Annie Huang
 
Delivering Quality at Speed with GitOps
Weaveworks
 
GitOps 101 Presentation.pdf
ssuser31375f
 
Deploy on AWS from GIT Lab PDF2.pdf
Srinivas Kannan
 
Continuous Lifecycle London 2018 Event Keynote
Weaveworks
 
Gitlab ci e kubernetes, build test and deploy your projects like a pro
sparkfabrik
 
Speeding up your team with GitOps
Brice Fernandes
 
Gitlab ci, cncf.sk
Juraj Hantak
 
Cloud Native Transformation (Alexis Richardson) - Continuous Lifecycle 2018 ...
Weaveworks
 
Whitepaper automating kuberneteswithgitops 1
Kenneth Nnadikwe
 
Free GitOps Workshop + Intro to Kubernetes & GitOps
Weaveworks
 
Jenkins vs GitLab CI
CEE-SEC(R)
 
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Sunnyvale
 
Robust Network Security and Observability with GitOps and Cilium
Weaveworks
 
gitopsthekubernetesway-201026090439.pdf
saraichiba2
 
Gitops: the kubernetes way
sparkfabrik
 
GitOps and Kubernetes 1st Edition Billy Yuen Alexander Matyushentsev Jesse Su...
alanebrodixm
 
GitOps and Kubernetes 1st Edition Billy Yuen Alexander Matyushentsev Jesse Su...
ptrkbxhxe670
 
Ad

More from Nico Meisenzahl (15)

PDF
Cloud-Native & Sustainability: How and Why to Build Sustainable Workloads
Nico Meisenzahl
 
PDF
Container Day Security: How to Prevent Your Kubernetes Cluster From Being Hacked
Nico Meisenzahl
 
PDF
Festive Tech Calendar: Festive time with AKS networking
Nico Meisenzahl
 
PDF
ContainerConf 2022: Hijack Kubernetes
Nico Meisenzahl
 
PDF
ContainerConf 2022: Kubernetes is awesome - but...
Nico Meisenzahl
 
PDF
KCD Munich 2022: How to Prevent Your Kubernetes Cluster From Being Hacked
Nico Meisenzahl
 
PDF
KCD Munich 2022: Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
PDF
Cloud Love Conference: Kubernetes is awesome, but...
Nico Meisenzahl
 
PDF
How to Prevent Your Kubernetes Cluster From Being Hacked
Nico Meisenzahl
 
PDF
Container Days: Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
PPTX
Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
PDF
Continuous Lifecycle: Enhance Your Compliance and Governance With Policy-Base...
Nico Meisenzahl
 
PDF
Microsoft DevOps Forum 2021 – DevOps & Security
Nico Meisenzahl
 
PDF
Azure Service Operator - Provision Your Resources in a Cloud-Native Way
Nico Meisenzahl
 
PDF
Effiziente CI/CD-Pipelines – mit den richtigen Tools klappt das
Nico Meisenzahl
 
Cloud-Native & Sustainability: How and Why to Build Sustainable Workloads
Nico Meisenzahl
 
Container Day Security: How to Prevent Your Kubernetes Cluster From Being Hacked
Nico Meisenzahl
 
Festive Tech Calendar: Festive time with AKS networking
Nico Meisenzahl
 
ContainerConf 2022: Hijack Kubernetes
Nico Meisenzahl
 
ContainerConf 2022: Kubernetes is awesome - but...
Nico Meisenzahl
 
KCD Munich 2022: How to Prevent Your Kubernetes Cluster From Being Hacked
Nico Meisenzahl
 
KCD Munich 2022: Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
Cloud Love Conference: Kubernetes is awesome, but...
Nico Meisenzahl
 
How to Prevent Your Kubernetes Cluster From Being Hacked
Nico Meisenzahl
 
Container Days: Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
Hijack a Kubernetes Cluster - a Walkthrough
Nico Meisenzahl
 
Continuous Lifecycle: Enhance Your Compliance and Governance With Policy-Base...
Nico Meisenzahl
 
Microsoft DevOps Forum 2021 – DevOps & Security
Nico Meisenzahl
 
Azure Service Operator - Provision Your Resources in a Cloud-Native Way
Nico Meisenzahl
 
Effiziente CI/CD-Pipelines – mit den richtigen Tools klappt das
Nico Meisenzahl
 
Ad

Recently uploaded (20)

PDF
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PDF
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
PDF
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
PPTX
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
PDF
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
PDF
Français Patch Tuesday - Juillet
Ivanti
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
NewMind AI Journal - Weekly Chronicles - July'25 Week II
NewMind AI
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
Smart Air Quality Monitoring with Serrax AQM190 LITE
SERRAX TECHNOLOGIES LLP
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
Rethinking Security Operations - SOC Evolution Journey.pdf
Haris Chughtai
 
Impact of IEEE Computer Society in Advancing Emerging Technologies including ...
Hironori Washizaki
 
Darren Mills The Migration Modernization Balancing Act: Navigating Risks and...
AWS Chicago
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
Women in Automation Presents: Reinventing Yourself — Bold Career Pivots That ...
DianaGray10
 
CloudStack GPU Integration - Rohit Yadav
ShapeBlue
 
Français Patch Tuesday - Juillet
Ivanti
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Building Resilience with Digital Twins : Lessons from Korea
SANGHEE SHIN
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Predicting the unpredictable: re-engineering recommendation algorithms for fr...
Speck&Tech
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
Apache CloudStack 201: Let's Design & Build an IaaS Cloud
ShapeBlue
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 

Enhance Your Kubernetes CI/CD Pipelines With GitLab & Open Source