一 、K8S
1. 什么k8s?
Kubernetes 是一個可移植的、可擴展的開源平臺,用于管理容器化的工作負載和服務,可促進聲明式配置和自動化。 Kubernetes 擁有一個龐大且快速增長的生態系統。Kubernetes 的服務、支持和工具廣泛可用。
Kubernetes 這個名字源于希臘語,意為“舵手”或“飛行員”。k8s 這個縮寫是因為 k 和 s 之間有八個字符的關系。 Google 在 2014 年開源了 Kubernetes 項目。Kubernetes 建立在 Google 在大規模運行生產工作負載方面擁有十幾年的經驗 的基礎上,結合了社區中最好的想法和實踐。
2. 為什么需要 Kubernetes,它能做什么?
容器是打包和運行應用程序的好方式。在生產環境中,你需要管理運行應用程序的容器,并確保不會停機。 例如,如果一個容器發生故障,則需要啟動另一個容器。如果系統處理此行為,會不會更容易?
這就是 Kubernetes 來解決這些問題的方法! Kubernetes 為你提供了一個可彈性運行分布式系統的框架。 Kubernetes 會滿足你的擴展要求、故障轉移、部署模式等。 例如,Kubernetes 可以輕松管理系統的 Canary 部署。
3. 基本組件

二、CKA
1. 什么是CKA?
- The Certified Kubernetes Administrator (CKA) program was created by the Cloud Native Computing Foundation (CNCF), in collaboration with The Linux Foundation, to help develop the Kubernetes ecosystem.
2. CKA費用相關
- 考試費$375,有一次免費重考的機會。
- 官方培訓視頻課程LFS258人民幣1988元,全英文授課的,用Google實時字幕功能翻譯的很準確,可以輔助聽課,共18章,有兩章是介紹和總結,一般每章都有4個模塊。
- 國內的培訓費大幾千上萬,學習能力可以的同學個人認為自學即可,培訓肯定都以通過為主,掌握的并不是很全面。
- 學習成本還好,集中學習一個月左右即可,每天2h以上,主要是概念比較多,看個人能力和時間分配。
3. 考試相關
- 目前是線上實時監考,會有一個監考老師,要求帶有攝像頭的設備參加考試,周邊環境安靜,桌子不允許有其他東西。
- 考試代碼有兩個CKA-CN CKA-EN 區別就是監考老師是中文還是英文。PS:中文說的也很別扭估計也是懂中文的老外。
- 考試過程中允許查閱官方文檔,建議提前做一些書簽。只可以開兩個tab,一個是考試界面,一個是官方文檔。
- 報名后會給你提供兩次每次48h的實驗環境進行練習,同時提供答案,練習題難度會比考試難。
- 網絡都說需要科學上網,實際測試考試過程中不需要,但是k8s官網不翻墻的話會很慢。
- 120 min,17道大題,全是動手實驗環境,時間還是很緊張的,建議合理分配。
- 百分制,66分通過。
4. 考試內容和占比
- 25% - Cluster Architecture, Installation & Configuration
Manage role based access control (RBAC)
Use Kubeadm to install a basic cluster
Manage a highly-available Kubernetes cluster
Provision underlying infrastructure to deploy a Kubernetes cluster
Perform a version upgrade on a Kubernetes cluster using Kubeadm
Implement etcd backup and restore - 15% - Workloads & Scheduling
Understand deployments and how to perform rolling update and rollbacks
Use ConfigMaps and Secrets to configure applications
Know how to scale applications
Understand the primitives used to create robust, self-healing, application deployments
Understand how resource limits can affect Pod scheduling
Awareness of manifest management and common templating tools - 20% - Services & Networking
Understand host networking configuration on the cluster nodes
Understand connectivity between Pods
Understand ClusterIP, NodePort, LoadBalancer service types and endpoints
Know how to use Ingress controllers and Ingress resources
Know how to configure and use CoreDNS
Choose an appropriate container network interface plugin - 10% - Storage
Understand storage classes, persistent volumes
Understand volume mode, access modes and reclaim policies for volumes
Understand persistent volume claims primitive
Know how to configure applications with persistent storage - 30% - Troubleshooting
Evaluate cluster and node logging
Understand how to monitor applications
Manage container stdout & stderr logs
Troubleshoot application failure
Troubleshoot cluster component failure
Troubleshoot networking
三、題庫
- 筆者自己整理了一些,感興趣的可以留言管我要,最后希望這篇文章能幫助有需要的同學。
四、相關截圖
1. LFS258


2. 書簽

3. 證書






