SlideShare a Scribd company logo
DevEx | N🚫 place like 🏠 k3s
k8s.local with cloud-native tooling
Haggai Philip Zagury
DevOps GL & TL
DevOps GL & TL
Haggai Philip Zagury
My Solution driven approach is
based on hands-on and deep
understanding of Operating
Systems, applications stacks
software languages and
frameworks, Networking, Cloud
and Cloud Native solutions.
Open thinking and open
techniques ideology - driven by
Open Source technologies
Tend to take our
roadmap / work
pretty seriously
(i hope 😉)
DevEx | N🚫 place like 🏠 k3s
k8s.local with cloud-native tooling
DevEx
A Cloud-Native
Another touchpoint
In our
Development Journey
What does that mean for developers ?
What is Cloud-Native thinking?
Developer Journey
● Define the workload “gestimation”
● Define the sw language
Developer Journey
● Define the workload
● Define the scale
● Define the architecture
● Define the sw language
● The cloud will take care of the rest …
● We will declaratively tell it how
Developer Self-Service
Cloud Native | like ordering on amazon …
Self-Service Cloud Resources
cpu, ram, [ disk, network ]
Self-Service Kubernetes Resources
cpu, ram, [ disk, network ]
Use the Best Arch to get the job done
What is it ?
🏠 ? 127.0.0.1 ?
A Cloud-native desktop :)
PUT IMAGE HERE
AND CROP AS CIRCLE
🏠 Local IaaS
A smart Developer ;)
● Develop Operations is by design
● Treat your laptop as the 1st cloud
○ Run your code inside a container
○ Run your container inside a pod
○ Portable & Scalable application
development
● Sounds 2 good 2B true …
PUT IMAGE HERE
AND CROP AS CIRCLE
127.0.0.1 | Local IaaS
The laptop it A Cloud, kubernetes is the
Generic API
- K3D is a cloud provider ! …
- ContainerD is the “image provider”
- Kubectl / Kubernetes API / SDK is
your cloud native interface ….
Kubernetes built for dev’s
K3d vs k3s vs Kind vs Microk8s vs Minikube
● They all have their advantages / disadvantages
● They all provide an “all-in-one” kubernetes distro
K3S
● Lightweight certified Kubernetes distro
● 40MB binary, 512MB memory consumption
● Single process integrated Kubernetes master,
Kubelet, and containerd
● SQLite in addition to etcd
● Simultaneously released for x86_64, ARM64,
and ARMv7
K3D
● hot-reloading of code
● Full cluster lifecycle
○ create nodes (servers|agents)
○ single / multi-server clusters
● You can test scaling up / down (HPA /
Other)
● Integrated LoadBlancer Container
Development booster
K3D
● hot-reloading of code
● full cluster lifecycle
○ create nodes (servers|agents)
○ single / multi-server clusters
● You can test scaling up / down (HPA /
Other)
Development booster
K3D
● hot-reloading of code
● full cluster lifecycle
○ create nodes (servers|agents)
○ single / multi-server clusters
● You can test scaling up / down (HPA /
Other)
A local Multi-cluster environment
K3D { LoadBalancer Container }
● hot-reloading of code
● full cluster lifecycle
○ create nodes (servers|agents)
○ single / multi-server clusters
● You can test scaling up / down (HPA /
Other)
● Integrated LoadBlancer Container
Like A managed service
A local Multi-cluster environment
K3D { Container Registry }
● hot-reloading of code
● full cluster lifecycle
○ create nodes (servers|agents)
○ single / multi-server clusters
● You can test scaling up / down (HPA / Other)
● Integrated LoadBlancer Container
● Run a local container registry
Like A managed service
A local Multi-cluster environment
Local registry (mirror)
K3D { Container Registry }
● hot-reloading of code
● full cluster lifecycle
○ create nodes (servers|agents)
○ single / multi-server clusters
● You can test scaling up / down (HPA / Other)
● Integrated LoadBlancer Container
● Run a local container registry
mirrors:
docker.io:
endpoint:
- "http://mycustomreg.com:5000"
configs:
"mycustomreg:5000":
auth:
username: xxxxxx # this is the registry username
password: xxxxxx # this is the registry password
Local registry(mirror)
Resources
docker
k3d >= v5.5.0
kubectx/ns
Helm
tilt
drone
See it in action !
https://grafana.infra.tikalk.dev/explore
Tilt
Loki & Grafana
ArgoCD
FLUX
Operators
Controllers
OpenFaas
Keda
Thanos + Prometheus
Resources
PUT IMAGE HERE
AND CROP AS CIRCLE
127.0.0.1 | Logging workloads
tail -f “cluster-logs”
- Log standard kubernetes workload definition
- Automatically categorize workload based on
our labels
P.S you can run both locally log like in prod
PUT IMAGE HERE
AND CROP AS CIRCLE
127.0.0.1 | Monitoring workloads
Modern monitoring
- Metrics, metrics, metrics - standard kubernetes
workload definition
- Automatically analyze workload based on our labels
P.S you can run both locally monitor like in prod
PUT IMAGE HERE
AND CROP AS CIRCLE
127.0.0.1 | Scaling workloads
Event Driven (Reactive) Architecture
- Utilize standard kubernetes workload
definition
P.S you can run both locally
- App
- Queue
BTW: & this is also OLD NEWS ;) …
PUT IMAGE HERE
AND CROP AS CIRCLE
127.0.0.1 | GitOps
git -repo - app-sync
- Changes are scm based
- Automatically categorize workload based on
our labels
P.S you can run both locally deploy like in prod
Reduce Frustration | Micro Feedback loops ++
● Helper-tools / Utilities
● Make (my personal favorite)
● Kubectx / kubens
● Common functions
○ Set cloud provider project / profile
○ Get a secret from credentials store
● IDE -plugins
● IDE - the obvious
○ Auto lint / build / deploy
Shorter ! Feedback Loops
DOD - Definition of Done
- How do I know it’s done ?
- How does the team know it’s done ?
- How does management know it’s done ?
- How does NOC know it’s functional ?
Adopt Capabilities & Best Practices
DRY principles
- Challenge the controller pattern
- Custom types - standard api
- Cloud Native workflows
- Opinionated workflows
Operator Pattern
- Frameworks
- Reusable Architecture
styles
- GitOps
- FaaS
- ArgoCD
- …
- Data pipelines
- Streaming
Crossplane
- A native way of provisioning cloud
resources
- Think of a helm chart which can create
an managed database (e.g. RDS) from
snapshot …
PUT IMAGE HERE
AND CROP AS CIRCLE
🏠 Local IaaS
A smart Developer ;)
● Develop Operations is by design
● Treat your laptop as the 1st cloud
○ Run your code inside a container
○ Run your container inside a pod
○ Portable & Scalable application
development
● Sounds 2 good 2B true …

More Related Content

PPTX
OpenTelemetry For Developers
PDF
Google Kubernetes Engine (GKE) deep dive
PPTX
OpenTelemetry For Architects
PDF
Ceph issue 해결 사례
PDF
Evolution of containers to kubernetes
PPTX
CI/CD Best Practices for Your DevOps Journey
PDF
Introduction to kubernetes
PDF
SRE 101
OpenTelemetry For Developers
Google Kubernetes Engine (GKE) deep dive
OpenTelemetry For Architects
Ceph issue 해결 사례
Evolution of containers to kubernetes
CI/CD Best Practices for Your DevOps Journey
Introduction to kubernetes
SRE 101

What's hot (20)

PPTX
OVN - Basics and deep dive
PPTX
Kubernetes 101
PDF
Observability For You and Me with OpenTelemetry
PDF
DevOps & SRE at Google Scale
PDF
Introduction to Red Hat OpenShift 4
PDF
DevSecOps What Why and How
PDF
Helm - Application deployment management for Kubernetes
PDF
Observability: Beyond the Three Pillars with Spring
PDF
Containers technologies
PDF
Understanding performance aspects of etcd and Raft
PDF
OpenTelemetry Introduction
PPTX
Confidential Computing overview
PDF
Introduction of Kubernetes - Trang Nguyen
PDF
Kubernetes Webinar - Using ConfigMaps & Secrets
PDF
Introduction to CICD
PPTX
Terraform
PDF
Kubernetes: A Short Introduction (2019)
PPTX
PDF
Ivan Jovanovic - Micro Frontends - Codemotion Rome_2019
PDF
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
OVN - Basics and deep dive
Kubernetes 101
Observability For You and Me with OpenTelemetry
DevOps & SRE at Google Scale
Introduction to Red Hat OpenShift 4
DevSecOps What Why and How
Helm - Application deployment management for Kubernetes
Observability: Beyond the Three Pillars with Spring
Containers technologies
Understanding performance aspects of etcd and Raft
OpenTelemetry Introduction
Confidential Computing overview
Introduction of Kubernetes - Trang Nguyen
Kubernetes Webinar - Using ConfigMaps & Secrets
Introduction to CICD
Terraform
Kubernetes: A Short Introduction (2019)
Ivan Jovanovic - Micro Frontends - Codemotion Rome_2019
Kubernetes 101 - an Introduction to Containers, Kubernetes, and OpenShift
Ad

Similar to DevEx | there’s no place like k3s (20)

PPTX
Accelerate your development with Docker
PDF
Accelerate your software development with Docker
PDF
Containers and Orchestration approaches
PDF
Making Service Deployments to AWS a breeze with Nova
PPTX
Containers&Orchestration Approaches
PDF
I Just Want to Run My Code: Waypoint, Nomad, and Other Things
PDF
Kubernetes: training micro-dragons for a serious battle
PPTX
Best Practices for Running Kafka on Docker Containers
PDF
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
PPTX
Настройка окружения для кросскомпиляции проектов на основе docker'a
PDF
State of Containers and the Convergence of HPC and BigData
PDF
Kubernetes - how to orchestrate containers
PDF
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
PDF
Kubernetes - training micro-dragons without getting burnt
PDF
Introduction to Docker at Glidewell Laboratories in Orange County
PPTX
Kubernetes #1 intro
PPTX
Truemotion Adventures in Containerization
PDF
Introduction to Docker at the Azure Meet-up in New York
PDF
LXC, Docker, and the future of software delivery | LinuxCon 2013
PDF
LXC Docker and the Future of Software Delivery
Accelerate your development with Docker
Accelerate your software development with Docker
Containers and Orchestration approaches
Making Service Deployments to AWS a breeze with Nova
Containers&Orchestration Approaches
I Just Want to Run My Code: Waypoint, Nomad, and Other Things
Kubernetes: training micro-dragons for a serious battle
Best Practices for Running Kafka on Docker Containers
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
Настройка окружения для кросскомпиляции проектов на основе docker'a
State of Containers and the Convergence of HPC and BigData
Kubernetes - how to orchestrate containers
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
Kubernetes - training micro-dragons without getting burnt
Introduction to Docker at Glidewell Laboratories in Orange County
Kubernetes #1 intro
Truemotion Adventures in Containerization
Introduction to Docker at the Azure Meet-up in New York
LXC, Docker, and the future of software delivery | LinuxCon 2013
LXC Docker and the Future of Software Delivery
Ad

More from Haggai Philip Zagury (20)

PDF
DevOpsDays Tel Aviv DEC 2022 | Building A Cloud-Native Platform Brick by Bric...
PDF
Kube Security Shifting left | Scanners & OPA
PDF
TechRadarCon 2022 | Have you built your platform yet ?
PDF
Gitlab, GitOps & ArgoCD
PDF
Git ops & Continuous Infrastructure with terra*
PDF
Auth experience - vol 1.0
PDF
PDF
Auth experience
PDF
Kubexperience intro session
PDF
Scaling i/o bound Microservices
PDF
The 2nd half. Scaling to the next^2
PDF
Terraform 101
PDF
Chaos is a ladder !
PDF
Natively clouded Journey
PDF
Deep Learning - Continuous Operations
PDF
Terraform 101
PDF
PDF
Machine Learning - Continuous operations
PDF
Whats all the FaaS About
PDF
Modern Monitoring [ with Prometheus ]
DevOpsDays Tel Aviv DEC 2022 | Building A Cloud-Native Platform Brick by Bric...
Kube Security Shifting left | Scanners & OPA
TechRadarCon 2022 | Have you built your platform yet ?
Gitlab, GitOps & ArgoCD
Git ops & Continuous Infrastructure with terra*
Auth experience - vol 1.0
Auth experience
Kubexperience intro session
Scaling i/o bound Microservices
The 2nd half. Scaling to the next^2
Terraform 101
Chaos is a ladder !
Natively clouded Journey
Deep Learning - Continuous Operations
Terraform 101
Machine Learning - Continuous operations
Whats all the FaaS About
Modern Monitoring [ with Prometheus ]

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Approach and Philosophy of On baking technology
PDF
Encapsulation theory and applications.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
KodekX | Application Modernization Development
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Big Data Technologies - Introduction.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPT
Teaching material agriculture food technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Chapter 3 Spatial Domain Image Processing.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
Approach and Philosophy of On baking technology
Encapsulation theory and applications.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
KodekX | Application Modernization Development
Per capita expenditure prediction using model stacking based on satellite ima...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Network Security Unit 5.pdf for BCA BBA.
Empathic Computing: Creating Shared Understanding
Big Data Technologies - Introduction.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Teaching material agriculture food technology
The AUB Centre for AI in Media Proposal.docx
NewMind AI Weekly Chronicles - August'25 Week I
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Building Integrated photovoltaic BIPV_UPV.pdf

DevEx | there’s no place like k3s

  • 1. DevEx | N🚫 place like 🏠 k3s k8s.local with cloud-native tooling Haggai Philip Zagury DevOps GL & TL
  • 2. DevOps GL & TL Haggai Philip Zagury My Solution driven approach is based on hands-on and deep understanding of Operating Systems, applications stacks software languages and frameworks, Networking, Cloud and Cloud Native solutions. Open thinking and open techniques ideology - driven by Open Source technologies
  • 3. Tend to take our roadmap / work pretty seriously (i hope 😉)
  • 4. DevEx | N🚫 place like 🏠 k3s k8s.local with cloud-native tooling
  • 6. What does that mean for developers ? What is Cloud-Native thinking?
  • 7. Developer Journey ● Define the workload “gestimation” ● Define the sw language
  • 8. Developer Journey ● Define the workload ● Define the scale ● Define the architecture ● Define the sw language ● The cloud will take care of the rest … ● We will declaratively tell it how
  • 9. Developer Self-Service Cloud Native | like ordering on amazon …
  • 10. Self-Service Cloud Resources cpu, ram, [ disk, network ]
  • 11. Self-Service Kubernetes Resources cpu, ram, [ disk, network ]
  • 12. Use the Best Arch to get the job done What is it ?
  • 13. 🏠 ? 127.0.0.1 ? A Cloud-native desktop :)
  • 14. PUT IMAGE HERE AND CROP AS CIRCLE 🏠 Local IaaS A smart Developer ;) ● Develop Operations is by design ● Treat your laptop as the 1st cloud ○ Run your code inside a container ○ Run your container inside a pod ○ Portable & Scalable application development ● Sounds 2 good 2B true …
  • 15. PUT IMAGE HERE AND CROP AS CIRCLE 127.0.0.1 | Local IaaS The laptop it A Cloud, kubernetes is the Generic API - K3D is a cloud provider ! … - ContainerD is the “image provider” - Kubectl / Kubernetes API / SDK is your cloud native interface ….
  • 16. Kubernetes built for dev’s K3d vs k3s vs Kind vs Microk8s vs Minikube ● They all have their advantages / disadvantages ● They all provide an “all-in-one” kubernetes distro
  • 17. K3S ● Lightweight certified Kubernetes distro ● 40MB binary, 512MB memory consumption ● Single process integrated Kubernetes master, Kubelet, and containerd ● SQLite in addition to etcd ● Simultaneously released for x86_64, ARM64, and ARMv7
  • 18. K3D ● hot-reloading of code ● Full cluster lifecycle ○ create nodes (servers|agents) ○ single / multi-server clusters ● You can test scaling up / down (HPA / Other) ● Integrated LoadBlancer Container Development booster
  • 19. K3D ● hot-reloading of code ● full cluster lifecycle ○ create nodes (servers|agents) ○ single / multi-server clusters ● You can test scaling up / down (HPA / Other) Development booster
  • 20. K3D ● hot-reloading of code ● full cluster lifecycle ○ create nodes (servers|agents) ○ single / multi-server clusters ● You can test scaling up / down (HPA / Other) A local Multi-cluster environment
  • 21. K3D { LoadBalancer Container } ● hot-reloading of code ● full cluster lifecycle ○ create nodes (servers|agents) ○ single / multi-server clusters ● You can test scaling up / down (HPA / Other) ● Integrated LoadBlancer Container Like A managed service A local Multi-cluster environment
  • 22. K3D { Container Registry } ● hot-reloading of code ● full cluster lifecycle ○ create nodes (servers|agents) ○ single / multi-server clusters ● You can test scaling up / down (HPA / Other) ● Integrated LoadBlancer Container ● Run a local container registry Like A managed service A local Multi-cluster environment Local registry (mirror)
  • 23. K3D { Container Registry } ● hot-reloading of code ● full cluster lifecycle ○ create nodes (servers|agents) ○ single / multi-server clusters ● You can test scaling up / down (HPA / Other) ● Integrated LoadBlancer Container ● Run a local container registry mirrors: docker.io: endpoint: - "http://mycustomreg.com:5000" configs: "mycustomreg:5000": auth: username: xxxxxx # this is the registry username password: xxxxxx # this is the registry password Local registry(mirror)
  • 25. See it in action ! https://grafana.infra.tikalk.dev/explore Tilt Loki & Grafana ArgoCD FLUX Operators Controllers OpenFaas Keda Thanos + Prometheus
  • 27. PUT IMAGE HERE AND CROP AS CIRCLE 127.0.0.1 | Logging workloads tail -f “cluster-logs” - Log standard kubernetes workload definition - Automatically categorize workload based on our labels P.S you can run both locally log like in prod
  • 28. PUT IMAGE HERE AND CROP AS CIRCLE 127.0.0.1 | Monitoring workloads Modern monitoring - Metrics, metrics, metrics - standard kubernetes workload definition - Automatically analyze workload based on our labels P.S you can run both locally monitor like in prod
  • 29. PUT IMAGE HERE AND CROP AS CIRCLE 127.0.0.1 | Scaling workloads Event Driven (Reactive) Architecture - Utilize standard kubernetes workload definition P.S you can run both locally - App - Queue BTW: & this is also OLD NEWS ;) …
  • 30. PUT IMAGE HERE AND CROP AS CIRCLE 127.0.0.1 | GitOps git -repo - app-sync - Changes are scm based - Automatically categorize workload based on our labels P.S you can run both locally deploy like in prod
  • 31. Reduce Frustration | Micro Feedback loops ++ ● Helper-tools / Utilities ● Make (my personal favorite) ● Kubectx / kubens ● Common functions ○ Set cloud provider project / profile ○ Get a secret from credentials store ● IDE -plugins ● IDE - the obvious ○ Auto lint / build / deploy
  • 32. Shorter ! Feedback Loops DOD - Definition of Done - How do I know it’s done ? - How does the team know it’s done ? - How does management know it’s done ? - How does NOC know it’s functional ?
  • 33. Adopt Capabilities & Best Practices DRY principles - Challenge the controller pattern - Custom types - standard api - Cloud Native workflows - Opinionated workflows
  • 34. Operator Pattern - Frameworks - Reusable Architecture styles - GitOps - FaaS - ArgoCD - … - Data pipelines - Streaming
  • 35. Crossplane - A native way of provisioning cloud resources - Think of a helm chart which can create an managed database (e.g. RDS) from snapshot …
  • 36. PUT IMAGE HERE AND CROP AS CIRCLE 🏠 Local IaaS A smart Developer ;) ● Develop Operations is by design ● Treat your laptop as the 1st cloud ○ Run your code inside a container ○ Run your container inside a pod ○ Portable & Scalable application development ● Sounds 2 good 2B true …