SlideShare a Scribd company logo
6
Most read
7
Most read
17
Most read
What you have to know about
Certified Kubernetes Administrator
Jirayut Nimsaeng (Dear)
CEO/Founder Opsta
GDG Cloud Bangkok 2nd Meetup @ Tencent
November 21, 2017
GDG Cloud
Bangkok
2GDG Cloud Bangkok
● Jirayut Nimsaeng (Dear)
● Interested in Cloud and Open Source
● Agile Practitioner with DevOps Driven
● CEO and Founder Opsta
● First Certified Kubernetes Administrator
in Thailand
#whoami
3GDG Cloud Bangkok
Facts
• Created by Cloud Native Computing Foundation (CNCF)
• Cost $300 with one free retake
• Online performance-based exam with proctor
• Use Kubernetes version 1.6.2 on Ubuntu 16.04
• Exam expected to take 3-4 hours to complete
• Passing score is 74%
• Certification valid for 2 years
• Register here https://www.cncf.io/certification/expert/
4GDG Cloud Bangkok
Preparation
• PC or Laptop
• Clean surface
• Windows, MacOS or Linux
• Chrome or Chromium Browser
• Reliable Internet
• Webcam
• Microphone
• Private space
• Passport or ID card
• Need 1-3 days for exam reservation
5GDG Cloud Bangkok
Exam Panel
6GDG Cloud Bangkok
While Exam
• You can browse for anything
• No K8s dashboard. You can use only command-line
• You can not note down anything except included Notepad
• Proctor has an ultimate timer
• You can reboot exam server
• Use Ctrl+Alt+W instead of Ctrl+W
• Copy & Paste key
• Linux: select text to copy and paste with middle mouse
• Mac: ⌘+C to copy and ⌘+V to paste
• Windows: Ctrl+Insert to copy and Shift+Insert to paste
• You can use Screen or tmux
7GDG Cloud Bangkok
CKA Exam Environment
Cluster Members CNI Description
k8s 1 CA, 1 etcd, 1 master, 2 worker flannel non-HA k8s cluster
Hk8s 1 CA, 3 etcd, 3 master, 1 loadbalancer, 2 worker calico HA k8s cluster
bk8s 1 CA, 1 etcd, 1 master, 1 worker flannel non-HA k8s cluster
wk8s 1 CA, 1 etcd, 1 master, 2 worker flannel non-HA k8s cluster
ek8s 1 CA, 1 etcd, 1 master, 2 worker flannel non-HA k8s cluster
fk8s 1 CA, 1 etcd, 1 base node none k8s cluster none missing master node
ik8s 1 CA, 1 etcd, 1 master, 1 base node flannel k8s cluster - missing worker node
tk8s 1 CA, 1 etcd, 1 master, 1 worker flannel non-HA k8s cluster
8GDG Cloud Bangkok
Curriculum
• 5% Scheduling
• 5% Logging/Monitoring
• 8% Application Lifecycle Management
• 11% Cluster Maintenance
• 12% Security
• 7% Storage
• 10% Troubleshooting
• 19% Core Concepts
• 11% Networking
• 12% Installation, Configuration & Validation
9GDG Cloud Bangkok
Core Concepts
• Master Components
• kube-api-server
• kube-controller-manager
• kube-scheduler
• Non-master components
• kubelet
• kube-proxy
• Kubernetes Objects
• Pod
• Service
• Ingress
• Volume
• Namespace
• ReplicaSet
• Deployment
• Job
• [CronJob]
• [StatefulSet]
• [DaemonSet]
10GDG Cloud Bangkok
Core Concepts
• Namespace is use a lot
• Label and Selector
• Create multiple containers in Pod with Init Container
https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
• Control output
https://kubernetes.io/docs/user-guide/kubectl-overview/
• Job
https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
• Update and Scaling Deployment
• History and Rollback Deployment
11GDG Cloud Bangkok
Installation, Configuration and Validation
• Create K8s cluster from binaries
• Must use token and certificates
• Configure to start K8s components with systemd
• Use systemctl to enable/disable services
• Troubleshooting with K8s log files
• Backup and restore etcd
• https://github.com/kelseyhightower/kubernetes-the-hard-way
12GDG Cloud Bangkok
Networking
• Understand the service concept with NodePort type
• Find service IP address
https://kubernetes.io/docs/concepts/services-networking/service/
• Ingress
https://kubernetes.io/docs/concepts/services-networking/ingress/
13GDG Cloud Bangkok
Volume
• Volume
https://kubernetes.io/docs/concepts/storage/volumes/
• Persistent Volume and Persistent Volume Claim
https://kubernetes.io/docs/concepts/storage/persistent-volumes/
• Storage Class
https://kubernetes.io/docs/concepts/storage/storage-classes/
14GDG Cloud Bangkok
Security
• Network Policy
https://ahmet.im/blog/kubernetes-network-policy/
• Secret both file and env
https://kubernetes.io/docs/concepts/configuration/secret/
15GDG Cloud Bangkok
Troubleshooting, Monitoring/Logging
• Debug with kubectl describe
https://kubernetes.io/docs/tasks/debug-application-cluster/debug-application-introspection/
• Logging with kubectl logs
16GDG Cloud Bangkok
Tips
• Practice, practice and practice
• Question 60% is for developer and 40% is for administrator
• Kubernetes version is 1.6.2 so watch out for compatibility and apiVersion
• kubectl explain is your friend
• Questions is an independent task so you can go back and forward
• Create manifest file for each question
• Challege yourself with
https://github.com/kelseyhightower/kubernetes-the-hard-way
17GDG Cloud Bangkok

More Related Content

PDF
Kubernetes Networking | Kubernetes Services, Pods & Ingress Networks | Kubern...
PDF
Kubernetes
PDF
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
PDF
Hands-On Introduction to Kubernetes at LISA17
PDF
(Draft) Kubernetes - A Comprehensive Overview
PPT
Docker introduction
PPTX
Kubernetes for Beginners: An Introductory Guide
PDF
Introduction to kubernetes
Kubernetes Networking | Kubernetes Services, Pods & Ingress Networks | Kubern...
Kubernetes
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Hands-On Introduction to Kubernetes at LISA17
(Draft) Kubernetes - A Comprehensive Overview
Docker introduction
Kubernetes for Beginners: An Introductory Guide
Introduction to kubernetes

What's hot (20)

PDF
Introduction to Kubernetes Workshop
PDF
Kubernetes - A Comprehensive Overview
PPTX
Kubernetes Introduction
PDF
An Introduction to Kubernetes
PPTX
A brief study on Kubernetes and its components
ODP
Kubernetes Architecture
PDF
Kubernetes - introduction
PPTX
Kubernetes Introduction
PDF
Kubernetes Docker Container Implementation Ppt PowerPoint Presentation Slide ...
PDF
Kubernetes 101
PDF
Kubernetes Networking
PDF
What Is Kubernetes | Kubernetes Introduction | Kubernetes Tutorial For Beginn...
PDF
Introduction to kubernetes
PPTX
Docker introduction
PPTX
Docker and kubernetes
PDF
[OpenInfra Days Korea 2018] (Track 4) - Grafana를 이용한 OpenStack 클라우드 성능 모니터링
PDF
Introduction of Kubernetes - Trang Nguyen
PDF
Kubernetes
PDF
Deploy Application on Kubernetes
Introduction to Kubernetes Workshop
Kubernetes - A Comprehensive Overview
Kubernetes Introduction
An Introduction to Kubernetes
A brief study on Kubernetes and its components
Kubernetes Architecture
Kubernetes - introduction
Kubernetes Introduction
Kubernetes Docker Container Implementation Ppt PowerPoint Presentation Slide ...
Kubernetes 101
Kubernetes Networking
What Is Kubernetes | Kubernetes Introduction | Kubernetes Tutorial For Beginn...
Introduction to kubernetes
Docker introduction
Docker and kubernetes
[OpenInfra Days Korea 2018] (Track 4) - Grafana를 이용한 OpenStack 클라우드 성능 모니터링
Introduction of Kubernetes - Trang Nguyen
Kubernetes
Deploy Application on Kubernetes
Ad

Similar to What you have to know about Certified Kubernetes Administrator (CKA) (20)

PPTX
Container orchestration and microservices world
PPTX
Kubernetes at (Organizational) Scale
PDF
Kubernetes Problem-Solving
PPTX
Bootstrapping Clusters with EKS Blueprints.pptx
PDF
Scalable Clusters On Demand
PDF
Kubecon seattle 2018 workshop slides
PDF
Deploy 22 microservices from scratch in 30 mins with GitOps
PDF
6 Months Sailing with Docker in Production
PDF
Kubernetes Forum Seoul 2019: Re-architecting Data Platform with Kubernetes
PDF
Kubernetes - how to orchestrate containers
PPTX
Docker Enterprise Workshop - Technical
PPTX
Kubernetes20151017a
PDF
[WSO2Con EU 2018] Deploying Applications in K8S and Docker
PDF
reBuy on Kubernetes
PDF
What's coming in Airflow 2.0? - NYC Apache Airflow Meetup
PPTX
DevNexus 2015: Kubernetes & Container Engine
PDF
How to Puppetize Google Cloud Platform - PuppetConf 2014
PPTX
Kubernetes the deltatre way the basics - introduction to containers and orc...
PDF
Scheduling a fuller house - Talk at QCon NY 2016
PDF
Netflix Container Scheduling and Execution - QCon New York 2016
Container orchestration and microservices world
Kubernetes at (Organizational) Scale
Kubernetes Problem-Solving
Bootstrapping Clusters with EKS Blueprints.pptx
Scalable Clusters On Demand
Kubecon seattle 2018 workshop slides
Deploy 22 microservices from scratch in 30 mins with GitOps
6 Months Sailing with Docker in Production
Kubernetes Forum Seoul 2019: Re-architecting Data Platform with Kubernetes
Kubernetes - how to orchestrate containers
Docker Enterprise Workshop - Technical
Kubernetes20151017a
[WSO2Con EU 2018] Deploying Applications in K8S and Docker
reBuy on Kubernetes
What's coming in Airflow 2.0? - NYC Apache Airflow Meetup
DevNexus 2015: Kubernetes & Container Engine
How to Puppetize Google Cloud Platform - PuppetConf 2014
Kubernetes the deltatre way the basics - introduction to containers and orc...
Scheduling a fuller house - Talk at QCon NY 2016
Netflix Container Scheduling and Execution - QCon New York 2016
Ad

More from Opsta (20)

PDF
Let's build Developer Portal with Backstage
PDF
Kubernetes Secrets Management on Production with Demo
PDF
Introduction of CCE and DevCloud
PDF
How to build DevSecOps Platform on Huawei Cloud
PDF
Make a better DevOps with GitOps
PDF
Platform Engineering
PDF
Manage Kubernetes Clusters with Cluster API and ArgoCD
PDF
Security Process in DevSecOps
PDF
How we can do Multi-Tenancy on Kubernetes
PDF
Scaling DevSecOps Culture for Enterprise
PDF
Introduction to Kubernetes with demo
PDF
Introduction to Kubernetes and GKE
PDF
Introduction to Google Cloud Platform
PDF
Managing traffic routing with istio and envoy workshop
PDF
How to pass the Google Certification Exams
PDF
How to Become DevOps
PDF
DevOps: The Future of Software Development
PDF
Real World CI/CD with Kubernetes
PDF
Journey of Kubernetes Scaling
PDF
DevOps Transformation in Technical
Let's build Developer Portal with Backstage
Kubernetes Secrets Management on Production with Demo
Introduction of CCE and DevCloud
How to build DevSecOps Platform on Huawei Cloud
Make a better DevOps with GitOps
Platform Engineering
Manage Kubernetes Clusters with Cluster API and ArgoCD
Security Process in DevSecOps
How we can do Multi-Tenancy on Kubernetes
Scaling DevSecOps Culture for Enterprise
Introduction to Kubernetes with demo
Introduction to Kubernetes and GKE
Introduction to Google Cloud Platform
Managing traffic routing with istio and envoy workshop
How to pass the Google Certification Exams
How to Become DevOps
DevOps: The Future of Software Development
Real World CI/CD with Kubernetes
Journey of Kubernetes Scaling
DevOps Transformation in Technical

Recently uploaded (20)

PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.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
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Modernizing your data center with Dell and AMD
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
A Presentation on Artificial Intelligence
PPTX
Cloud computing and distributed systems.
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Approach and Philosophy of On baking technology
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Electronic commerce courselecture one. Pdf
Unlocking AI with Model Context Protocol (MCP)
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Dropbox Q2 2025 Financial Results & Investor Presentation
Modernizing your data center with Dell and AMD
Review of recent advances in non-invasive hemoglobin estimation
A Presentation on Artificial Intelligence
Cloud computing and distributed systems.
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
CIFDAQ's Market Insight: SEC Turns Pro Crypto
MYSQL Presentation for SQL database connectivity
Approach and Philosophy of On baking technology
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Chapter 3 Spatial Domain Image Processing.pdf
Electronic commerce courselecture one. Pdf

What you have to know about Certified Kubernetes Administrator (CKA)

  • 1. What you have to know about Certified Kubernetes Administrator Jirayut Nimsaeng (Dear) CEO/Founder Opsta GDG Cloud Bangkok 2nd Meetup @ Tencent November 21, 2017 GDG Cloud Bangkok
  • 2. 2GDG Cloud Bangkok ● Jirayut Nimsaeng (Dear) ● Interested in Cloud and Open Source ● Agile Practitioner with DevOps Driven ● CEO and Founder Opsta ● First Certified Kubernetes Administrator in Thailand #whoami
  • 3. 3GDG Cloud Bangkok Facts • Created by Cloud Native Computing Foundation (CNCF) • Cost $300 with one free retake • Online performance-based exam with proctor • Use Kubernetes version 1.6.2 on Ubuntu 16.04 • Exam expected to take 3-4 hours to complete • Passing score is 74% • Certification valid for 2 years • Register here https://www.cncf.io/certification/expert/
  • 4. 4GDG Cloud Bangkok Preparation • PC or Laptop • Clean surface • Windows, MacOS or Linux • Chrome or Chromium Browser • Reliable Internet • Webcam • Microphone • Private space • Passport or ID card • Need 1-3 days for exam reservation
  • 6. 6GDG Cloud Bangkok While Exam • You can browse for anything • No K8s dashboard. You can use only command-line • You can not note down anything except included Notepad • Proctor has an ultimate timer • You can reboot exam server • Use Ctrl+Alt+W instead of Ctrl+W • Copy & Paste key • Linux: select text to copy and paste with middle mouse • Mac: ⌘+C to copy and ⌘+V to paste • Windows: Ctrl+Insert to copy and Shift+Insert to paste • You can use Screen or tmux
  • 7. 7GDG Cloud Bangkok CKA Exam Environment Cluster Members CNI Description k8s 1 CA, 1 etcd, 1 master, 2 worker flannel non-HA k8s cluster Hk8s 1 CA, 3 etcd, 3 master, 1 loadbalancer, 2 worker calico HA k8s cluster bk8s 1 CA, 1 etcd, 1 master, 1 worker flannel non-HA k8s cluster wk8s 1 CA, 1 etcd, 1 master, 2 worker flannel non-HA k8s cluster ek8s 1 CA, 1 etcd, 1 master, 2 worker flannel non-HA k8s cluster fk8s 1 CA, 1 etcd, 1 base node none k8s cluster none missing master node ik8s 1 CA, 1 etcd, 1 master, 1 base node flannel k8s cluster - missing worker node tk8s 1 CA, 1 etcd, 1 master, 1 worker flannel non-HA k8s cluster
  • 8. 8GDG Cloud Bangkok Curriculum • 5% Scheduling • 5% Logging/Monitoring • 8% Application Lifecycle Management • 11% Cluster Maintenance • 12% Security • 7% Storage • 10% Troubleshooting • 19% Core Concepts • 11% Networking • 12% Installation, Configuration & Validation
  • 9. 9GDG Cloud Bangkok Core Concepts • Master Components • kube-api-server • kube-controller-manager • kube-scheduler • Non-master components • kubelet • kube-proxy • Kubernetes Objects • Pod • Service • Ingress • Volume • Namespace • ReplicaSet • Deployment • Job • [CronJob] • [StatefulSet] • [DaemonSet]
  • 10. 10GDG Cloud Bangkok Core Concepts • Namespace is use a lot • Label and Selector • Create multiple containers in Pod with Init Container https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ • Control output https://kubernetes.io/docs/user-guide/kubectl-overview/ • Job https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ • Update and Scaling Deployment • History and Rollback Deployment
  • 11. 11GDG Cloud Bangkok Installation, Configuration and Validation • Create K8s cluster from binaries • Must use token and certificates • Configure to start K8s components with systemd • Use systemctl to enable/disable services • Troubleshooting with K8s log files • Backup and restore etcd • https://github.com/kelseyhightower/kubernetes-the-hard-way
  • 12. 12GDG Cloud Bangkok Networking • Understand the service concept with NodePort type • Find service IP address https://kubernetes.io/docs/concepts/services-networking/service/ • Ingress https://kubernetes.io/docs/concepts/services-networking/ingress/
  • 13. 13GDG Cloud Bangkok Volume • Volume https://kubernetes.io/docs/concepts/storage/volumes/ • Persistent Volume and Persistent Volume Claim https://kubernetes.io/docs/concepts/storage/persistent-volumes/ • Storage Class https://kubernetes.io/docs/concepts/storage/storage-classes/
  • 14. 14GDG Cloud Bangkok Security • Network Policy https://ahmet.im/blog/kubernetes-network-policy/ • Secret both file and env https://kubernetes.io/docs/concepts/configuration/secret/
  • 15. 15GDG Cloud Bangkok Troubleshooting, Monitoring/Logging • Debug with kubectl describe https://kubernetes.io/docs/tasks/debug-application-cluster/debug-application-introspection/ • Logging with kubectl logs
  • 16. 16GDG Cloud Bangkok Tips • Practice, practice and practice • Question 60% is for developer and 40% is for administrator • Kubernetes version is 1.6.2 so watch out for compatibility and apiVersion • kubectl explain is your friend • Questions is an independent task so you can go back and forward • Create manifest file for each question • Challege yourself with https://github.com/kelseyhightower/kubernetes-the-hard-way