SlideShare a Scribd company logo
1 of 17
Download to read offline
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

What's hot

What's hot (20)

Terraform
TerraformTerraform
Terraform
Ā 
KFServing - Serverless Model Inferencing
KFServing - Serverless Model InferencingKFServing - Serverless Model Inferencing
KFServing - Serverless Model Inferencing
Ā 
Kubernetes design principles, patterns and ecosystem
Kubernetes design principles, patterns and ecosystemKubernetes design principles, patterns and ecosystem
Kubernetes design principles, patterns and ecosystem
Ā 
Kubernetes 101
Kubernetes 101Kubernetes 101
Kubernetes 101
Ā 
Kubernetes: A Short Introduction (2019)
Kubernetes: A Short Introduction (2019)Kubernetes: A Short Introduction (2019)
Kubernetes: A Short Introduction (2019)
Ā 
Grafana Loki: like Prometheus, but for Logs
Grafana Loki: like Prometheus, but for LogsGrafana Loki: like Prometheus, but for Logs
Grafana Loki: like Prometheus, but for Logs
Ā 
Kubernetes PPT.pptx
Kubernetes PPT.pptxKubernetes PPT.pptx
Kubernetes PPT.pptx
Ā 
Docker & Kubernetes intro
Docker & Kubernetes introDocker & Kubernetes intro
Docker & Kubernetes intro
Ā 
Kubernetes
KubernetesKubernetes
Kubernetes
Ā 
CKA Certified Kubernetes Administrator Notes
CKA Certified Kubernetes Administrator Notes CKA Certified Kubernetes Administrator Notes
CKA Certified Kubernetes Administrator Notes
Ā 
Introduction to Kubernetes Workshop
Introduction to Kubernetes WorkshopIntroduction to Kubernetes Workshop
Introduction to Kubernetes Workshop
Ā 
Azure kubernetes service (aks)
Azure kubernetes service (aks)Azure kubernetes service (aks)
Azure kubernetes service (aks)
Ā 
Deploy Application on Kubernetes
Deploy Application on KubernetesDeploy Application on Kubernetes
Deploy Application on Kubernetes
Ā 
Google Kubernetes Engine (GKE) deep dive
Google Kubernetes Engine (GKE) deep diveGoogle Kubernetes Engine (GKE) deep dive
Google Kubernetes Engine (GKE) deep dive
Ā 
Kubernetes Networking
Kubernetes NetworkingKubernetes Networking
Kubernetes Networking
Ā 
Kubernetes Basics
Kubernetes BasicsKubernetes Basics
Kubernetes Basics
Ā 
Kubernetes vs Docker Swarm | Container Orchestration War | Kubernetes Trainin...
Kubernetes vs Docker Swarm | Container Orchestration War | Kubernetes Trainin...Kubernetes vs Docker Swarm | Container Orchestration War | Kubernetes Trainin...
Kubernetes vs Docker Swarm | Container Orchestration War | Kubernetes Trainin...
Ā 
Room 2 - 3 - Nguyį»…n HoĆ i Nam & Nguyį»…n Viį»‡t HĆ¹ng - Terraform & Pulumi Comparin...
Room 2 - 3 - Nguyį»…n HoĆ i Nam & Nguyį»…n Viį»‡t HĆ¹ng - Terraform & Pulumi Comparin...Room 2 - 3 - Nguyį»…n HoĆ i Nam & Nguyį»…n Viį»‡t HĆ¹ng - Terraform & Pulumi Comparin...
Room 2 - 3 - Nguyį»…n HoĆ i Nam & Nguyį»…n Viį»‡t HĆ¹ng - Terraform & Pulumi Comparin...
Ā 
Kubeflow Pipelines (with Tekton)
Kubeflow Pipelines (with Tekton)Kubeflow Pipelines (with Tekton)
Kubeflow Pipelines (with Tekton)
Ā 
Kubernetes Architecture
 Kubernetes Architecture Kubernetes Architecture
Kubernetes Architecture
Ā 

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

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

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

More from Opsta

More from Opsta (20)

Let's build Developer Portal with Backstage
Let's build Developer Portal with BackstageLet's build Developer Portal with Backstage
Let's build Developer Portal with Backstage
Ā 
Kubernetes Secrets Management on Production with Demo
Kubernetes Secrets Management on Production with DemoKubernetes Secrets Management on Production with Demo
Kubernetes Secrets Management on Production with Demo
Ā 
Introduction of CCE and DevCloud
Introduction of CCE and DevCloudIntroduction of CCE and DevCloud
Introduction of CCE and DevCloud
Ā 
How to build DevSecOps Platform on Huawei Cloud
How to build DevSecOps Platform on Huawei CloudHow to build DevSecOps Platform on Huawei Cloud
How to build DevSecOps Platform on Huawei Cloud
Ā 
Make a better DevOps with GitOps
Make a better DevOps with GitOpsMake a better DevOps with GitOps
Make a better DevOps with GitOps
Ā 
Platform Engineering
Platform EngineeringPlatform Engineering
Platform Engineering
Ā 
Manage Kubernetes Clusters with Cluster API and ArgoCD
Manage Kubernetes Clusters with Cluster API and ArgoCDManage Kubernetes Clusters with Cluster API and ArgoCD
Manage Kubernetes Clusters with Cluster API and ArgoCD
Ā 
Security Process in DevSecOps
Security Process in DevSecOpsSecurity Process in DevSecOps
Security Process in DevSecOps
Ā 
How we can do Multi-Tenancy on Kubernetes
How we can do Multi-Tenancy on KubernetesHow we can do Multi-Tenancy on Kubernetes
How we can do Multi-Tenancy on Kubernetes
Ā 
Scaling DevSecOps Culture for Enterprise
Scaling DevSecOps Culture for EnterpriseScaling DevSecOps Culture for Enterprise
Scaling DevSecOps Culture for Enterprise
Ā 
Introduction to Kubernetes with demo
Introduction to Kubernetes with demoIntroduction to Kubernetes with demo
Introduction to Kubernetes with demo
Ā 
Introduction to Kubernetes and GKE
Introduction to Kubernetes and GKEIntroduction to Kubernetes and GKE
Introduction to Kubernetes and GKE
Ā 
Introduction to Google Cloud Platform
Introduction to Google Cloud PlatformIntroduction to Google Cloud Platform
Introduction to Google Cloud Platform
Ā 
Managing traffic routing with istio and envoy workshop
Managing traffic routing with istio and envoy workshopManaging traffic routing with istio and envoy workshop
Managing traffic routing with istio and envoy workshop
Ā 
How to pass the Google Certification Exams
How to pass the Google Certification ExamsHow to pass the Google Certification Exams
How to pass the Google Certification Exams
Ā 
How to Become DevOps
How to Become DevOpsHow to Become DevOps
How to Become DevOps
Ā 
DevOps: The Future of Software Development
DevOps: The Future of Software DevelopmentDevOps: The Future of Software Development
DevOps: The Future of Software Development
Ā 
Real World CI/CD with Kubernetes
Real World CI/CD with KubernetesReal World CI/CD with Kubernetes
Real World CI/CD with Kubernetes
Ā 
Journey of Kubernetes Scaling
Journey of Kubernetes ScalingJourney of Kubernetes Scaling
Journey of Kubernetes Scaling
Ā 
DevOps Transformation in Technical
DevOps Transformation in TechnicalDevOps Transformation in Technical
DevOps Transformation in Technical
Ā 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
Ā 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
Ā 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(ā˜Žļø+971_581248768%)**%*]'#abortion pills for sale in dubai@
Ā 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
Ā 

Recently uploaded (20)

šŸ¬ The future of MySQL is Postgres šŸ˜
šŸ¬  The future of MySQL is Postgres   šŸ˜šŸ¬  The future of MySQL is Postgres   šŸ˜
šŸ¬ The future of MySQL is Postgres šŸ˜
Ā 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Ā 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Ā 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
Ā 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
Ā 
Scaling API-first ā€“ The story of a global engineering organization
Scaling API-first ā€“ The story of a global engineering organizationScaling API-first ā€“ The story of a global engineering organization
Scaling API-first ā€“ The story of a global engineering organization
Ā 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Ā 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Ā 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
Ā 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Ā 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Ā 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
Ā 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Ā 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
Ā 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Ā 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
Ā 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Ā 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
Ā 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Ā 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
Ā 

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