SlideShare a Scribd company logo
/ 301
/ 30
Hello!
CloudAnts - Managed Hosting
info@netants.nl
Produktieweg 1 - Roermond
085-4868840
Aron Beurskens - Founder
aron@netants.nl
06-51791756
https://nl.linkedin.com/in/aronbeurskens
2
/ 30
CI / CD
Managed
hosting
DevOps consultancy
Managed
Kubernetes
3
/ 30
What is this talk about?
4
/ 305
Transforming this:
/ 306
Into this:
/ 30
What is this talk about?
- Basic understanding of kubernetes
- Docker images and docker-compose
- Gitlab pipelines
- Deployment to kubernetes cluster
- Application fine tuning in k8s cluster
7
/ 30
What is this talk not about?
- Setting up a k8s cluster
- Administrating a k8s cluster
- Monitoring k8s
8
/ 30
Agenda
- K8S Core Objects
- Creating a containerized application
- Running our application
- Creating gitlab pipeline to build our application
9
/ 30
K8S Objects
“Kubernetes Objects are persistent entities in the Kubernetes
system. Kubernetes uses these entities to represent the state of
your cluster”
“A Kubernetes object is a “record of intent””
“By creating an object, you’re effectively telling the kubernetes
system what you want your clusters workload to look like; this is
your clusters desired state.”
“Most often, you provide the information in a .yaml file”
1
/ 30
K8S Objects - Namespace
- Provides a scope for names
- Each k8s resource can only be in 1 namespace
$ kubectl get namespaces
1
/ 30
K8S Objects - Pod
- A colocated group of container
- Can contain a single container
- Share ip-address (also localhost) and port namespace
- Share volumes
- K8S scales the pods, not the containers
$ kubectl get pods --all-namespaces
1
/ 30
K8S Objects - Service
- An way to expose an application internally
- Pods are mortal and constantly get different ip addresses
- A service targets pods by selector
$ kubectl get service --all-namespaces
13
/ 30
K8S Objects - Ingress
- Exposes HTTP and HTTPS routes
- Routes the outside to services
- Controlled by rules
$ kubectl get ingresses --all-namespaces
14
/ 30
K8S Objects - Deployment
- Provides declarative updates for pods and replicasets
$ kubectl get deployments --all-namespaces
15
K8S Objects - ReplicaSet
- A ReplicaSet maintains a stable set of pods
$ kubectl get rs --all-namespaces
/ 30
K8S Objects - Job
- Runs a command until completed
- Removes pods when completed
- Can run in parallel
$ kubectl get jobs --all-namespaces
16
/ 30
K8S Objects - CronJob
- Creates Jobs on a time-based schedule
$ kubectl get cronjobs --all-namespaces
17
/ 30
Demo
- Setup demo application in docker
- Create namespace
- Create pod deployment
- Create services
- Create ingress
18
/ 30
Demo
- Build app and push to registry
- Speed up build process
- Helm charts
19
/ 30
Helm
- https://helm.sh
- Package manager for kubernetes
- Define, install and upgrade
- Public helm repositories
- Jobs and Cronjobs
20
/ 30
Extra
- NGINX snippets
- Multi containers under 1 domain and url structure
- Review app based on feature branches
- Using gitlab secrets
21
CloudAnts - Kubernetes
/ 30
Until next time?
23

More Related Content

PDF
Running kubernetes
PPTX
Device status anomaly detection
PDF
CI/CD with Kubernetes, Helm & Wercker (#madScalability)
PPTX
Spark with kubernates
PPTX
nodester Architecture overview & roadmap
PPTX
Nodester Architecture overview & roadmap
PDF
reInvent 2021 Recap and k9s review
PDF
Monitoring Kubernetes with Prometheus
Running kubernetes
Device status anomaly detection
CI/CD with Kubernetes, Helm & Wercker (#madScalability)
Spark with kubernates
nodester Architecture overview & roadmap
Nodester Architecture overview & roadmap
reInvent 2021 Recap and k9s review
Monitoring Kubernetes with Prometheus

What's hot (19)

PDF
Kubernetes on aws
PDF
Elasticsearch on Kubernetes
PPTX
CNCF Rajkot group- Know the magic of kubernetes with AWS EKS
PDF
Using ansible to core os & kubernetes clusters
PDF
Kubernetes Helm (Boulder Kubernetes Meetup, June 2016)
PDF
Cluster api devopscon berlin
PDF
Kubernetes meetup 102
PPT
CloudStack / Saltstack lightning talk at DevOps Amsterdam
PDF
How to integrate Kubernetes in OpenStack: You need to know these project
PDF
Handling Kubernetes Resources
PDF
Training and serving Tensorflow with Kubernetes on Azure
PDF
Google Cloud Computing compares GCE, GAE and GKE
PPTX
The journey to the kubernetes metrics
PPTX
Kubernetes HA @ AppDirect - Montreal Kubernetes Meetup
PPTX
Thoughts on heptio's ark - Contributors Meet 21st Sept 2018
PDF
An Introduction to Kube-Lego
PDF
Deis, a PaaS built with Docker, Docker Meetup Sao Paulo #3 @Wayra
PDF
Slack の過去ログ倉庫を建てよう (2017 合宿 LT)
PPTX
Creating basic workflows as Jupyter Notebooks to use Cytoscape programmatically.
Kubernetes on aws
Elasticsearch on Kubernetes
CNCF Rajkot group- Know the magic of kubernetes with AWS EKS
Using ansible to core os & kubernetes clusters
Kubernetes Helm (Boulder Kubernetes Meetup, June 2016)
Cluster api devopscon berlin
Kubernetes meetup 102
CloudStack / Saltstack lightning talk at DevOps Amsterdam
How to integrate Kubernetes in OpenStack: You need to know these project
Handling Kubernetes Resources
Training and serving Tensorflow with Kubernetes on Azure
Google Cloud Computing compares GCE, GAE and GKE
The journey to the kubernetes metrics
Kubernetes HA @ AppDirect - Montreal Kubernetes Meetup
Thoughts on heptio's ark - Contributors Meet 21st Sept 2018
An Introduction to Kube-Lego
Deis, a PaaS built with Docker, Docker Meetup Sao Paulo #3 @Wayra
Slack の過去ログ倉庫を建てよう (2017 合宿 LT)
Creating basic workflows as Jupyter Notebooks to use Cytoscape programmatically.
Ad

Similar to CloudAnts - Kubernetes (20)

PPTX
Kubernetes Introduction
PDF
Kubernetes - Sailing a Sea of Containers
PDF
1. CNCF kubernetes meetup - Ondrej Sika
PDF
Kubernetes Architecture and Introduction
PPTX
Kubernetes-introduction to kubernetes for beginers.pptx
PDF
Azure kubernetes service (aks) part 3
PDF
Build Your Own CaaS (Container as a Service)
PDF
MetalK8s 2.x 'Moonshot' - LOADays 2019, Antwerp
PDF
Hands-On Introduction to Kubernetes at LISA17
PDF
Kubernetes Operability Tooling (GOTO Chicago 2019)
PDF
Kubernetes - A Short Ride Throught the project and its ecosystem
PPTX
Learn kubernetes in 90 minutes
PDF
Container orchestration k8s azure kubernetes services
PDF
Kash Kubernetified
PDF
Day 2 Kubernetes - Tools for Operability (KubeCon)
PDF
The App Developer's Kubernetes Toolbox
PDF
Multi cloud Serverless platform using Kubernetes
PDF
Kubernetes 101
PDF
Day 2 Kubernetes - Tools for Operability (Velocity London Meetup)
PPT
Introduction to KubeDirector - SF Kubernetes Meetup
Kubernetes Introduction
Kubernetes - Sailing a Sea of Containers
1. CNCF kubernetes meetup - Ondrej Sika
Kubernetes Architecture and Introduction
Kubernetes-introduction to kubernetes for beginers.pptx
Azure kubernetes service (aks) part 3
Build Your Own CaaS (Container as a Service)
MetalK8s 2.x 'Moonshot' - LOADays 2019, Antwerp
Hands-On Introduction to Kubernetes at LISA17
Kubernetes Operability Tooling (GOTO Chicago 2019)
Kubernetes - A Short Ride Throught the project and its ecosystem
Learn kubernetes in 90 minutes
Container orchestration k8s azure kubernetes services
Kash Kubernetified
Day 2 Kubernetes - Tools for Operability (KubeCon)
The App Developer's Kubernetes Toolbox
Multi cloud Serverless platform using Kubernetes
Kubernetes 101
Day 2 Kubernetes - Tools for Operability (Velocity London Meetup)
Introduction to KubeDirector - SF Kubernetes Meetup
Ad

Recently uploaded (20)

DOCX
Unit-3 cyber security network security of internet system
PDF
Sims 4 Historia para lo sims 4 para jugar
PPTX
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
PDF
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
PPTX
Introduction to Information and Communication Technology
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PPTX
SAP Ariba Sourcing PPT for learning material
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PPTX
presentation_pfe-universite-molay-seltan.pptx
PPTX
artificial intelligence overview of it and more
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PPTX
E -tech empowerment technologies PowerPoint
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PDF
Unit-1 introduction to cyber security discuss about how to secure a system
PPT
tcp ip networks nd ip layering assotred slides
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
Unit-3 cyber security network security of internet system
Sims 4 Historia para lo sims 4 para jugar
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
Design_with_Watersergyerge45hrbgre4top (1).ppt
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
💰 𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓 💰
Introduction to Information and Communication Technology
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
SAP Ariba Sourcing PPT for learning material
Introuction about WHO-FIC in ICD-10.pptx
presentation_pfe-universite-molay-seltan.pptx
artificial intelligence overview of it and more
Power Point - Lesson 3_2.pptx grad school presentation
Slides PDF The World Game (s) Eco Economic Epochs.pdf
E -tech empowerment technologies PowerPoint
introduction about ICD -10 & ICD-11 ppt.pptx
Unit-1 introduction to cyber security discuss about how to secure a system
tcp ip networks nd ip layering assotred slides
INTERNET------BASICS-------UPDATED PPT PRESENTATION
RPKI Status Update, presented by Makito Lay at IDNOG 10

CloudAnts - Kubernetes

  • 2. / 30 Hello! CloudAnts - Managed Hosting info@netants.nl Produktieweg 1 - Roermond 085-4868840 Aron Beurskens - Founder aron@netants.nl 06-51791756 https://nl.linkedin.com/in/aronbeurskens 2
  • 3. / 30 CI / CD Managed hosting DevOps consultancy Managed Kubernetes 3
  • 4. / 30 What is this talk about? 4
  • 7. / 30 What is this talk about? - Basic understanding of kubernetes - Docker images and docker-compose - Gitlab pipelines - Deployment to kubernetes cluster - Application fine tuning in k8s cluster 7
  • 8. / 30 What is this talk not about? - Setting up a k8s cluster - Administrating a k8s cluster - Monitoring k8s 8
  • 9. / 30 Agenda - K8S Core Objects - Creating a containerized application - Running our application - Creating gitlab pipeline to build our application 9
  • 10. / 30 K8S Objects “Kubernetes Objects are persistent entities in the Kubernetes system. Kubernetes uses these entities to represent the state of your cluster” “A Kubernetes object is a “record of intent”” “By creating an object, you’re effectively telling the kubernetes system what you want your clusters workload to look like; this is your clusters desired state.” “Most often, you provide the information in a .yaml file” 1
  • 11. / 30 K8S Objects - Namespace - Provides a scope for names - Each k8s resource can only be in 1 namespace $ kubectl get namespaces 1
  • 12. / 30 K8S Objects - Pod - A colocated group of container - Can contain a single container - Share ip-address (also localhost) and port namespace - Share volumes - K8S scales the pods, not the containers $ kubectl get pods --all-namespaces 1
  • 13. / 30 K8S Objects - Service - An way to expose an application internally - Pods are mortal and constantly get different ip addresses - A service targets pods by selector $ kubectl get service --all-namespaces 13
  • 14. / 30 K8S Objects - Ingress - Exposes HTTP and HTTPS routes - Routes the outside to services - Controlled by rules $ kubectl get ingresses --all-namespaces 14
  • 15. / 30 K8S Objects - Deployment - Provides declarative updates for pods and replicasets $ kubectl get deployments --all-namespaces 15 K8S Objects - ReplicaSet - A ReplicaSet maintains a stable set of pods $ kubectl get rs --all-namespaces
  • 16. / 30 K8S Objects - Job - Runs a command until completed - Removes pods when completed - Can run in parallel $ kubectl get jobs --all-namespaces 16
  • 17. / 30 K8S Objects - CronJob - Creates Jobs on a time-based schedule $ kubectl get cronjobs --all-namespaces 17
  • 18. / 30 Demo - Setup demo application in docker - Create namespace - Create pod deployment - Create services - Create ingress 18
  • 19. / 30 Demo - Build app and push to registry - Speed up build process - Helm charts 19
  • 20. / 30 Helm - https://helm.sh - Package manager for kubernetes - Define, install and upgrade - Public helm repositories - Jobs and Cronjobs 20
  • 21. / 30 Extra - NGINX snippets - Multi containers under 1 domain and url structure - Review app based on feature branches - Using gitlab secrets 21
  • 23. / 30 Until next time? 23