0% found this document useful (0 votes)
149 views44 pages

Real World CI/CD With Kubernetes: Jirayut Nimsaeng (Dear)

This document discusses DevOps, Kubernetes, and CI/CD. It begins with an agenda that includes concepts about DevOps, Kubernetes and CI/CD, a real world problem scenario, a demo, and how to start with DevOps. It then provides overviews of DevOps, containers, Kubernetes, CI/CD flows, and solutions to real world problems with technologies like Docker, Helm, Kubernetes, automated testing, code analysis, and security checks. It emphasizes that DevOps is about continuous improvement.

Uploaded by

Dodo winy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
149 views44 pages

Real World CI/CD With Kubernetes: Jirayut Nimsaeng (Dear)

This document discusses DevOps, Kubernetes, and CI/CD. It begins with an agenda that includes concepts about DevOps, Kubernetes and CI/CD, a real world problem scenario, a demo, and how to start with DevOps. It then provides overviews of DevOps, containers, Kubernetes, CI/CD flows, and solutions to real world problems with technologies like Docker, Helm, Kubernetes, automated testing, code analysis, and security checks. It emphasizes that DevOps is about continuous improvement.

Uploaded by

Dodo winy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 44

Real World CI/CD with

Kubernetes
Jirayut Nimsaeng (Dear)
CEO/Founder Opsta
DevOps BKK 2018 @ Bitec Bangna
September 8, 2018
Agenda
- Concept about DevOps, Kubernetes and CI/CD
- Real World Problem Scenario
- Demo
- How to start with DevOps?
- Q&A

DevOps BKK 2018


#whoweare

We are Technology Expert


Consultant Team

DevOps BKK 2018


What is DevOps

DevOps BKK 2018


Business

Dev Ops

DevOps BKK 2018


Ideal Development Cycle

Code

Dev Ops

Feedback

DevOps BKK 2018


Reality

Code

Dev Ops

Feedback

DevOps BKK 2018


THE WALL

Dev Ops

DevOps BKK 2018


What is DevOps

Shorten

Dev Remove
Ops

Faster

DevOps BKK 2018


DevOps Technology
Version CI/CD Infrastructure Infra Support
Control as a Service

DevOps BKK 2018


DevOps Flow

Artifacts
Dev

UAT
VCS CI CD

Developer
Prod

Infrastructure

Load
Monitoring
Testing

DevOps BKK 2018


Kubernetes

Artifacts

VCS CI CD

Developer

Infrastructure

Load
Monitoring
Testing

DevOps BKK 2018


What is Container

DevOps BKK 2018


What is Container

Faster

lightweight

DevOps BKK 2018


One server

Container
Server

DevOps BKK 2018


Multiple Servers

Container

???

Server 1 Server 2 Server 3

DevOps BKK 2018


What is Kubernetes

= Standalone

= Clusters

DevOps BKK 2018


Kubernetes Clustering Features
● Automatic bin packing / Scheduling
● Self-healing
● Horizontal manual/auto-scaling
● Service discovery & load balancing
● Automated rollouts and rollbacks
● Secret and configuration management
● Storage orchestration
● Batch execution

DevOps BKK 2018


CI/CD

Artifacts
Dev

UAT
VCS CI CD

Developer
Prod

Infrastructure

Load
Monitoring
Testing

DevOps BKK 2018


CI/CD Flow

CI CD
DevOps BKK 2018
Demo Time

Artifacts
Dev

UAT
VCS CI CD

Developer
Prod

Infrastructure

Load
Monitoring
Testing

DevOps BKK 2018


Real World
Problem
DevOps BKK 2018
Solution
Docker, build once run anywhere

Docker Image Docker


Registry

Docker Container

Docker Container

Docker Container
Dockerfile

Build Server Dev UAT Prod

DevOps BKK 2018


Microservices

UI
Microservice

Microservice Microservice Microservice

DB DB DB

DevOps BKK 2018


I need ...
Feature I Feature II Development
UI UI UI

Microservice

Microservice Microservice Microservice Microservice Microservice Microservice Microservice

DB DB DB DB DB DB DB

UAT Production
UI UI
Microservice Microservice

Microservice Microservice Microservice Microservice Microservice Microservice

DB DB DB DB DB DB

DevOps BKK 2018


Solution
Helm + Kubernetes
Feature I UAT
Charts UI UI

+ Env
Microservice Microservice Microservice Microservice

DB DB DB DB

Helm
Client Feature II Production
UI UI

Microservice Microservice Microservice Microservice

DB DB DB DB

Kubernetes Cluster
DevOps BKK 2018
This is a BUG
Unit Test Integration Test

Performance Test Acceptance Test


Solution
Review Code

DevOps BKK 2018


Solution
Automated Test with CI/CD

DevOps BKK 2018


DevSecOps
Solution
Code Analysis

DevOps BKK 2018


Solution
Automated Security Check

DevOps BKK 2018


Demo
How to start with
It’s about the

IMPROVEMENT
IT’S A LOT!!!
Version CI/CD Infrastructure Infra Support
Control as a Service

DevOps BKK 2018


It’s about the
CONTINUOUS
IMPROVEMENT
Are you
Improve
today?
#whoami
● Jirayut Nimsaeng (Dear)
● First Certified Kubernetes
Administrator in Thailand
● Interested in Cloud and
Open Source with
DevOps Driven Development
● CEO and Founder Opsta
[email protected]
● 0611234089

DevOps BKK 2018

You might also like