02 CKA
The Certified Kubernetes Administrator (CKA) certification moves you from understanding Kubernetes concepts into operating Kubernetes environments.
KCNA asks:
Do you understandhow Kubernetes works?CKA asks:
Can you administer,operate,and troubleshootKubernetes?This is a major transition.
You are moving from:
Cloud-Native Knowledge ↓Kubernetes Conceptsto:
Kubernetes Operations ↓Administration ↓TroubleshootingWhere CKA Fits
Section titled “Where CKA Fits”The certification sequence in this learning path is:
KCNA ↓CKA ↓CKAD ↓CKSFor security-focused learners, CKA-level administration knowledge is especially valuable because you cannot effectively secure a platform you do not understand operationally.
The security progression becomes:
Understand Kubernetes ↓Operate Kubernetes ↓Understand Trust Boundaries ↓Secure KubernetesWho Should Study CKA?
Section titled “Who Should Study CKA?”CKA aligns strongly with roles such as:
Kubernetes Administrator
Platform Engineer
DevOps Engineer
Site Reliability Engineer
Cloud Engineer
Infrastructure Engineer
Cloud Security EngineerIt is also an excellent technical foundation for:
Kubernetes Security Engineer
Platform Security Engineer
DevSecOps EngineerCKA Mindset
Section titled “CKA Mindset”The key CKA mindset is:
Observe ↓Understand ↓Change ↓ValidateWhenever something fails, avoid random changes.
Use:
What should be happening?
What is actually happening?
Which Kubernetes component controls it?
What evidence is available?
What change is required?
Did the change work?CKA Learning Roadmap
Section titled “CKA Learning Roadmap”Build capability in this order:
01 Cluster Architecture
02 Kubernetes API and Configuration
03 Workload Management
04 Scheduling
05 Services and Networking
06 Storage
07 Access Control
08 Node Administration
09 Cluster Maintenance
10 TroubleshootingPart 01 — Kubernetes Cluster Architecture
Section titled “Part 01 — Kubernetes Cluster Architecture”A Kubernetes cluster consists broadly of:
Control Plane +Worker NodesHigh-Level Architecture
Section titled “High-Level Architecture”Kubernetes Cluster│├── Control Plane│ ││ ├── API Server│ ├── Scheduler│ ├── Controller Manager│ └── Cluster State Store│└── Worker Nodes │ ├── Node Agent ├── Container Runtime ├── Network Components └── PodsThe control plane manages the desired state of the cluster.
Worker nodes execute workloads.
Control Plane Responsibility
Section titled “Control Plane Responsibility”Think:
User Defines Desired State ↓API Server ↓Cluster State ↓Controllers + Scheduler ↓Worker Nodes ↓Actual StateAPI Server
Section titled “API Server”The API server acts as the main interface into Kubernetes.
Requests may come from:
Administrators
kubectl
Applications
Controllers
Automation
CI/CDConceptually:
Client ↓Authentication ↓Authorization ↓API Server ↓Kubernetes ResourceSecurity Importance
Section titled “Security Importance”The API server is one of the most sensitive components in a Kubernetes environment.
If an attacker gains powerful API access, they may potentially:
Create Workloads
Modify Workloads
Access Secrets
Modify RBAC
Change ConfigurationScheduler
Section titled “Scheduler”The scheduler decides where Pods should run.
Simplified flow:
New Pod ↓No Node Assigned ↓Scheduler Evaluates Nodes ↓Suitable Node SelectedFactors may include:
CPU
Memory
Labels
Taints
Affinity
Scheduling ConstraintsController Manager
Section titled “Controller Manager”Controllers continuously reconcile:
Desired State vsActual StateExample:
Desired:3 Replicas
Actual:2 Replicas
Controller:Create Another PodCluster State Store
Section titled “Cluster State Store”Kubernetes maintains cluster state in a distributed data store.
It can contain highly sensitive information about:
Cluster Resources
Configuration
RBAC
Secrets
Service AccountsProtecting cluster state is therefore critical.
Part 02 — Worker Nodes
Section titled “Part 02 — Worker Nodes”Worker nodes run Kubernetes workloads.
Conceptually:
Worker Node│├── Node Agent├── Container Runtime├── Network Proxy / Networking└── PodsNode Agent
Section titled “Node Agent”The node agent communicates with the control plane and helps ensure assigned workloads are running.
Think:
Control Plane ↓Node Instructions ↓Node Agent ↓Container Runtime ↓PodContainer Runtime
Section titled “Container Runtime”The runtime actually runs containers.
Kubernetes orchestrates workloads, while the runtime performs container execution.
Node Health
Section titled “Node Health”Administrators should understand node conditions and availability.
Typical operational questions include:
Is the node ready?
Does it have sufficient CPU?
Does it have sufficient memory?
Can it reach the control plane?
Can workloads start?Part 03 — Kubernetes Resources
Section titled “Part 03 — Kubernetes Resources”Kubernetes resources are normally managed through the API.
Common resources include:
Pods
Deployments
ReplicaSets
Services
ConfigMaps
Secrets
Namespaces
Jobs
CronJobs
PersistentVolumeClaimsResource Structure
Section titled “Resource Structure”Kubernetes definitions commonly contain:
apiVersion
kind
metadata
specConceptually:
Resource Type +Identity +Desired ConfigurationDeclarative Administration
Section titled “Declarative Administration”The preferred mindset is:
Define Desired State ↓Apply ↓Kubernetes Reconcilesinstead of manually managing every container.
Part 04 — kubectl Administration
Section titled “Part 04 — kubectl Administration”kubectl is a primary Kubernetes administration interface.
You should become comfortable with operational patterns such as:
Create
Get
Describe
Edit
Delete
Apply
Logs
ExecAdministration Cycle
Section titled “Administration Cycle”Inspect ↓Understand ↓Modify ↓ValidateResource Inspection
Section titled “Resource Inspection”When investigating problems, use the conceptual order:
Get Resource ↓Describe Resource ↓Review Events ↓Review Logs ↓Inspect ConfigurationPart 05 — Namespaces
Section titled “Part 05 — Namespaces”Namespaces provide logical resource organization.
Example:
Cluster│├── development├── testing├── production└── securityNamespaces help organize:
Applications
Teams
Access
Policies
Resource ControlsNamespace Administration Questions
Section titled “Namespace Administration Questions”Ask:
Which namespace is the workload in?
Who owns it?
Which policies apply?
Which service accounts are present?
Which resources are consuming capacity?Security Perspective
Section titled “Security Perspective”Namespaces are useful organizational boundaries but should not automatically be treated as complete security isolation.
Combine them with:
RBAC
NetworkPolicies
Admission Policies
Workload SecurityPart 06 — Pod Administration
Section titled “Part 06 — Pod Administration”Pods are the fundamental Kubernetes workload unit.
A Pod may contain:
One Container
or
Multiple Cooperating ContainersPod Lifecycle
Section titled “Pod Lifecycle”Pods are disposable.
Think:
Pod Fails ↓Controller Detects Failure ↓Replacement Pod CreatedPod Troubleshooting
Section titled “Pod Troubleshooting”When a Pod is unhealthy, inspect:
Pod Status
Events
Container State
Logs
Configuration
DependenciesCommon Pod States
Section titled “Common Pod States”You may encounter states related to:
Pending
Running
Succeeded
Failed
UnknownThe important skill is not memorizing labels alone.
Ask:
Why is the Pod in this state?Pending Pod
Section titled “Pending Pod”Potential causes include:
No Suitable Node
Insufficient Resources
Storage Problem
Scheduling ConstraintContainer Failing to Start
Section titled “Container Failing to Start”Possible causes include:
Invalid Image
Missing Secret
Bad Command
Missing Configuration
Permissions ProblemRestarting Container
Section titled “Restarting Container”Potential causes include:
Application Crash
Failed Health Check
Invalid Configuration
Resource ExhaustionTroubleshooting Mental Model
Section titled “Troubleshooting Mental Model”Symptom ↓Resource Status ↓Events ↓Logs ↓Configuration ↓Dependency ↓Root CausePart 07 — Deployments
Section titled “Part 07 — Deployments”Deployments manage application replicas and controlled updates.
Relationship:
Deployment ↓ReplicaSet ↓PodsDeployment Responsibilities
Section titled “Deployment Responsibilities”A Deployment can help manage:
Desired Replicas
Scaling
Rolling Updates
RollbackScaling
Section titled “Scaling”Example:
Current:3 Pods
Required:6 PodsThe Deployment manages the desired replica count.
Rolling Update
Section titled “Rolling Update”Conceptually:
Version 1 ↓Gradual Replacement ↓Version 2This helps maintain availability during application changes.
Rollback
Section titled “Rollback”If a new release fails:
New Version ↓Failure ↓Rollback ↓Previous VersionAdministrators should validate that rollback actually restores application health.
Part 08 — ReplicaSets
Section titled “Part 08 — ReplicaSets”ReplicaSets maintain the desired number of Pods.
Usually:
Deployment ↓ReplicaSet ↓PodsThe Deployment manages the ReplicaSet lifecycle.
Understanding this relationship helps during troubleshooting.
Part 09 — DaemonSets
Section titled “Part 09 — DaemonSets”A DaemonSet ensures a workload runs on applicable nodes.
Common use cases include:
Logging Agents
Monitoring Agents
Security Agents
Node Networking ComponentsConceptually:
Node 1 → Agent Pod
Node 2 → Agent Pod
Node 3 → Agent PodSecurity Connection
Section titled “Security Connection”DaemonSets are important because security and observability tools may rely on them.
But powerful DaemonSets also require careful protection because they may run with significant node-level access.
Part 10 — Jobs
Section titled “Part 10 — Jobs”A Job manages a workload that should complete successfully.
Examples:
Database Migration
Batch Processing
One-Time MaintenanceConceptually:
Start ↓Run Task ↓CompletePart 11 — CronJobs
Section titled “Part 11 — CronJobs”CronJobs schedule recurring Kubernetes Jobs.
Examples:
Nightly Processing
Scheduled Cleanup
Periodic ReportingSecurity Question
Section titled “Security Question”For scheduled tasks ask:
Which identity do they use?
Which secrets can they access?
What permissions are required?Part 12 — Scheduling Fundamentals
Section titled “Part 12 — Scheduling Fundamentals”Kubernetes scheduling determines where Pods run.
Conceptually:
Pod Requirements ↓Scheduler ↓Available Nodes ↓Best CandidateResource Requests
Section titled “Resource Requests”Requests tell the scheduler how much resource a workload expects.
Examples:
CPU
MemoryResource Limits
Section titled “Resource Limits”Limits restrict how much resource a workload can consume.
Why Requests Matter
Section titled “Why Requests Matter”Without accurate requests:
Scheduler ↓Makes Poor Placement Decisions ↓Resource PressureResource Model
Section titled “Resource Model”Request ↓Scheduling
Limit ↓Runtime BoundaryPart 13 — Labels and Selectors
Section titled “Part 13 — Labels and Selectors”Labels help identify resources.
Example:
app=payments
environment=productionSelectors identify resources matching specified labels.
They are heavily used by:
Services
Deployments
Scheduling
PoliciesTroubleshooting Tip
Section titled “Troubleshooting Tip”When a Service cannot reach a Pod, check:
Service Selector ↓Pod LabelsA mismatch may result in no backend endpoints.
Part 14 — Node Selectors
Section titled “Part 14 — Node Selectors”Node selectors allow workloads to target nodes with specific labels.
Example concept:
Node Label:workload=gpuWorkload:
Requires:workload=gpuThis provides simple placement control.
Part 15 — Node Affinity
Section titled “Part 15 — Node Affinity”Affinity provides more expressive scheduling logic.
Use it when workloads need placement preferences or requirements based on node labels.
Think:
Schedule This WorkloadNear / OnSpecific Types of NodesPart 16 — Pod Affinity
Section titled “Part 16 — Pod Affinity”Pod affinity can influence workloads to run near other workloads.
Example:
Application Pod ↓Prefer Same Zone as ↓Related ServicePart 17 — Pod Anti-Affinity
Section titled “Part 17 — Pod Anti-Affinity”Anti-affinity can spread workloads apart.
For high availability:
Replica 1 → Node A
Replica 2 → Node B
Replica 3 → Node Cinstead of placing every replica on one node.
Availability Benefit
Section titled “Availability Benefit”If one node fails:
Some Replicas Remain AvailablePart 18 — Taints and Tolerations
Section titled “Part 18 — Taints and Tolerations”A taint tells Kubernetes:
Do Not Schedule Ordinary Workloads Hereunless the workload has a matching toleration.
Conceptually:
Special Node ↓Taint ↓Only Tolerating WorkloadsUse Cases
Section titled “Use Cases”Examples include:
Dedicated Infrastructure Nodes
GPU Nodes
Security-Sensitive Nodes
Specialized WorkloadsImportant
Section titled “Important”Taints and tolerations are scheduling controls.
They should not automatically be treated as complete security isolation.
Part 19 — Static Pods
Section titled “Part 19 — Static Pods”Static Pods are managed directly by the node rather than normal higher-level workload controllers.
They are important because some cluster components may use static Pod patterns.
Understanding them helps with:
Control Plane Troubleshooting
Cluster AdministrationPart 20 — Services
Section titled “Part 20 — Services”Services provide stable networking for dynamic workloads.
Flow:
Client ↓Service ↓Matching PodsWhy Services Matter
Section titled “Why Services Matter”Pods can be replaced.
Their network identities may change.
Services provide a stable access mechanism.
Service Types
Section titled “Service Types”Understand the purpose of common service exposure models.
Conceptually:
Internal Cluster Access
Node-Level Exposure
External Load-Balanced AccessThe important administrative skill is knowing which level of exposure is appropriate.
Security Question
Section titled “Security Question”Ask:
Does this application needto be reachable externally?Do not expose services unnecessarily.
Part 21 — Service Troubleshooting
Section titled “Part 21 — Service Troubleshooting”If a Service is unavailable:
Check Service ↓Check Selector ↓Check Endpoints ↓Check Pods ↓Check Application Port ↓Check NetworkCommon Failure
Section titled “Common Failure”Service Selector:app=frontendbut Pods:
app=webResult:
No Matching BackendsPart 22 — Kubernetes DNS
Section titled “Part 22 — Kubernetes DNS”DNS supports internal service discovery.
Conceptually:
Application ↓Service Name ↓Cluster DNS ↓ServiceDNS Troubleshooting
Section titled “DNS Troubleshooting”If a workload cannot resolve a service:
Check Service Name
Check Namespace
Check DNS Service
Check Pod DNS Configuration
Check Network ConnectivityPart 23 — Ingress
Section titled “Part 23 — Ingress”Ingress can route HTTP/HTTPS traffic into cluster services.
Conceptually:
Internet ↓Ingress ↓Service ↓PodsPossible routing:
example.com/app1 ↓Service A
example.com/app2 ↓Service BSecurity Connection
Section titled “Security Connection”Ingress may become a major external trust boundary.
Assess:
TLS
Public Exposure
Authentication
Application Security
LoggingPart 24 — Network Policies
Section titled “Part 24 — Network Policies”NetworkPolicies can restrict Pod communication.
Without restrictions:
Pod A ↔ Pod B ↔ Pod CA desired segmented model might be:
Frontend ↓Backend ↓Databasewhile blocking unnecessary paths.
Security Benefit
Section titled “Security Benefit”NetworkPolicies can reduce:
Lateral Movement
Unnecessary Exposure
Unauthorized East-West TrafficImportant
Section titled “Important”NetworkPolicy behavior depends on compatible networking implementation.
Administrators must understand both Kubernetes objects and the network environment supporting them.
Part 25 — Cluster Networking Model
Section titled “Part 25 — Cluster Networking Model”A Kubernetes administrator should understand communication between:
Pod ↔ Pod
Pod ↔ Service
Node ↔ Pod
External Client ↔ ServiceTroubleshooting Networking
Section titled “Troubleshooting Networking”Use:
Can Source Resolve Destination?
Can Source Reach Destination IP?
Is Service Correct?
Are Endpoints Present?
Is Port Correct?
Does Policy Permit Traffic?Part 26 — Persistent Storage
Section titled “Part 26 — Persistent Storage”Applications may require data that survives Pod replacement.
Key concepts include:
PersistentVolume
PersistentVolumeClaim
StorageClassStorage Relationship
Section titled “Storage Relationship”Pod ↓PVC ↓PV ↓Storage SystemPersistentVolume
Section titled “PersistentVolume”A PersistentVolume represents storage available to Kubernetes.
PersistentVolumeClaim
Section titled “PersistentVolumeClaim”A PersistentVolumeClaim represents a workload request for storage.
StorageClass
Section titled “StorageClass”A StorageClass can define how storage should be dynamically provisioned.
Conceptually:
PVC ↓StorageClass ↓Provision StoragePart 27 — Storage Troubleshooting
Section titled “Part 27 — Storage Troubleshooting”If a Pod cannot start because of storage:
Check PVC ↓Check Binding ↓Check StorageClass ↓Check Volume ↓Check Node Compatibility ↓Check EventsSecurity Perspective
Section titled “Security Perspective”Storage may contain:
Sensitive Data
Credentials
Customer Information
Application StateReview:
Access
Encryption
Backup
Retention
DeletionPart 28 — ConfigMaps
Section titled “Part 28 — ConfigMaps”ConfigMaps store non-sensitive configuration.
Conceptual flow:
ConfigMap ↓PodExamples:
Application Mode
Feature Flag
Service EndpointTroubleshooting Configuration
Section titled “Troubleshooting Configuration”If an application fails after configuration changes:
Inspect ConfigMap
Inspect Pod Mount / Environment
Check Application Logs
Validate Expected ValuesPart 29 — Secrets
Section titled “Part 29 — Secrets”Secrets hold sensitive configuration within Kubernetes.
Examples:
Passwords
API Tokens
CertificatesAdministrator Responsibilities
Section titled “Administrator Responsibilities”Understand:
How Secrets Are Referenced
Which Workloads Use Them
Who Can Read Them
How They Are ProtectedSecurity Warning
Section titled “Security Warning”Treat Secret access as privileged.
If an identity can read important Secrets:
Secret Access ↓Credential Access ↓Potential Broader CompromisePart 30 — Authentication
Section titled “Part 30 — Authentication”Authentication answers:
Who are you?Kubernetes environments may integrate with:
Certificates
Tokens
External Identity Providers
Cloud IAMAuthentication Flow
Section titled “Authentication Flow”Administrator ↓Authentication ↓API ServerPart 31 — Authorization
Section titled “Part 31 — Authorization”Authorization answers:
What are you allowed to do?Kubernetes commonly uses:
RBACRBAC Components
Section titled “RBAC Components”Understand:
Role
ClusterRole
RoleBinding
ClusterRoleBindingRBAC Model
Section titled “RBAC Model”Subject ↓Binding ↓Role / ClusterRole ↓PermissionsA Role defines permissions within a namespace context.
ClusterRole
Section titled “ClusterRole”A ClusterRole can define cluster-scoped or reusable permissions.
RoleBinding
Section titled “RoleBinding”A RoleBinding connects subjects to permissions in a namespace.
ClusterRoleBinding
Section titled “ClusterRoleBinding”A ClusterRoleBinding grants permissions at cluster scope.
Security Principle
Section titled “Security Principle”Avoid unnecessary:
cluster-adminand broad wildcard permissions.
Use:
Least PrivilegePart 32 — Service Accounts
Section titled “Part 32 — Service Accounts”Pods may use service accounts when communicating with Kubernetes APIs.
Flow:
Pod ↓Service Account ↓RBAC ↓APIAdministrator Question
Section titled “Administrator Question”For each workload:
Does this Pod need Kubernetes API access?If yes:
Which exact permissions?Security Risk
Section titled “Security Risk”Compromised Pod ↓Powerful Service Account ↓API AbuseThis becomes a major topic later in CKS.
Part 33 — Resource Quotas
Section titled “Part 33 — Resource Quotas”Resource quotas help control resource consumption within namespaces.
Potential controls include:
CPU
Memory
Object CountsWhy Quotas Matter
Section titled “Why Quotas Matter”Without governance:
One Team ↓Consumes Excessive Capacity ↓Impacts Other TeamsPart 34 — Limit Ranges
Section titled “Part 34 — Limit Ranges”Limit ranges can help define resource expectations and boundaries for workloads in a namespace.
They support more predictable resource usage.
Part 35 — Node Administration
Section titled “Part 35 — Node Administration”Administrators need to understand how to safely manage nodes.
Typical operations include:
Inspect Node
Cordon Node
Drain Node
Perform Maintenance
Return Node to ServiceCordon
Section titled “Cordon”Conceptually:
Node ↓Stop Scheduling New WorkloadsExisting workloads may continue running.
Drain prepares a node for maintenance by safely moving eligible workloads away.
Conceptual workflow:
Node ↓Prevent New Scheduling ↓Evict Workloads ↓MaintenanceReturn to Service
Section titled “Return to Service”After maintenance:
Validate Node ↓Allow SchedulingOperational Principle
Section titled “Operational Principle”Never perform maintenance blindly.
Consider:
Application Availability
Replica Count
Disruption Requirements
Critical WorkloadsPart 36 — Pod Disruption and Availability
Section titled “Part 36 — Pod Disruption and Availability”Planned maintenance can still create outages if workloads are poorly distributed.
Think:
3 Replicas ↓All on One Node ↓Node Maintenance ↓Application ImpactGood design considers:
Replica Distribution
Availability
Disruption ControlsPart 37 — Cluster Upgrades
Section titled “Part 37 — Cluster Upgrades”Cluster components and nodes require lifecycle management.
An administrator should understand the principle:
Plan ↓Validate Compatibility ↓Upgrade Safely ↓Test ↓ContinueUpgrade Considerations
Section titled “Upgrade Considerations”Review:
Version Compatibility
Application Compatibility
Node Availability
Control Plane Health
Backup
Rollback StrategySecurity Perspective
Section titled “Security Perspective”Unsupported Kubernetes versions may introduce:
Security Risk
Operational Risk
Compatibility RiskPart 38 — Cluster Backup
Section titled “Part 38 — Cluster Backup”Cluster state and application data require appropriate backup strategies.
Separate:
Kubernetes Configuration / State
Application Persistent DataBoth may require recovery planning.
Backup Questions
Section titled “Backup Questions”Ask:
What is backed up?
How often?
Where is it stored?
Who can delete it?
Has restore been tested?Security Principle
Section titled “Security Principle”A backup that cannot be restored is not sufficient evidence of recovery capability.
Use:
Backup +Protection +Restore TestPart 39 — High Availability
Section titled “Part 39 — High Availability”Production Kubernetes environments may need resilience across failures.
Consider:
Control Plane Availability
Worker Node Availability
Workload Replicas
Storage Availability
Network AvailabilityApplication Availability
Section titled “Application Availability”Example:
Replica 1 → Node A
Replica 2 → Node B
Replica 3 → Node CThis may reduce the impact of a single-node failure.
Part 40 — Health Checks
Section titled “Part 40 — Health Checks”Workload health is often evaluated using probes.
Understand:
Startup
Readiness
LivenessReadiness Probe
Section titled “Readiness Probe”Answers:
Should this Pod receive traffic?Liveness Probe
Section titled “Liveness Probe”Answers:
Is this container still healthy?Startup Probe
Section titled “Startup Probe”Supports applications that require additional startup time.
Troubleshooting Probes
Section titled “Troubleshooting Probes”A misconfigured health check can cause:
Healthy Application ↓Probe Fails ↓Repeated RestartsAlways compare the probe configuration with actual application behavior.
Part 41 — Logging
Section titled “Part 41 — Logging”Logs are essential for administration.
Potential sources include:
Application Logs
Pod Logs
Node Logs
Control Plane Logs
Kubernetes Audit LogsTroubleshooting Approach
Section titled “Troubleshooting Approach”Symptom ↓Resource ↓Events ↓Logs ↓Root CausePart 42 — Kubernetes Events
Section titled “Part 42 — Kubernetes Events”Events often provide useful clues about:
Scheduling Problems
Image Pull Failures
Volume Problems
Health Check Failures
Node ConditionsEvents should be one of your first troubleshooting sources.
Part 43 — Application Troubleshooting
Section titled “Part 43 — Application Troubleshooting”If an application is not working:
Application Failure ↓Check Deployment ↓Check Pod ↓Check Events ↓Check Logs ↓Check Service ↓Check Endpoints ↓Check Network ↓Check DependenciesPart 44 — Control Plane Troubleshooting
Section titled “Part 44 — Control Plane Troubleshooting”If the cluster itself is unhealthy:
Check API Availability
Check Control Plane Components
Check Cluster State
Check Node Communication
Check Certificates
Check LogsThe goal is to identify which layer has failed.
Part 45 — Node Troubleshooting
Section titled “Part 45 — Node Troubleshooting”If workloads cannot run on a node:
Check Node Status ↓Check Conditions ↓Check Resources ↓Check Node Services ↓Check Runtime ↓Check NetworkingPart 46 — Networking Troubleshooting
Section titled “Part 46 — Networking Troubleshooting”Use a layered approach.
Application ↓Pod ↓Service ↓Endpoint ↓DNS ↓NetworkAsk:
Does the Pod exist?
Is it ready?
Does the Service select it?
Are endpoints created?
Can DNS resolve?
Is traffic permitted?Part 47 — Storage Troubleshooting
Section titled “Part 47 — Storage Troubleshooting”For storage problems:
Pod ↓PVC ↓Binding ↓StorageClass ↓PV ↓Underlying StorageCheck each layer.
Part 48 — Resource Pressure Troubleshooting
Section titled “Part 48 — Resource Pressure Troubleshooting”Nodes can experience:
CPU Pressure
Memory Pressure
Storage PressureSymptoms may include:
Pod Eviction
Scheduling Failure
Application InstabilityResource Troubleshooting
Section titled “Resource Troubleshooting”Ask:
Are requests accurate?
Are limits appropriate?
Is the node overloaded?
Is one workload consuming excessive resources?Part 49 — Troubleshooting Philosophy
Section titled “Part 49 — Troubleshooting Philosophy”Do not troubleshoot randomly.
Use:
Layer 1:What is the symptom?
Layer 2:Which Kubernetes object is responsible?
Layer 3:What evidence exists?
Layer 4:What changed?
Layer 5:What is the smallest safe correction?
Layer 6:How do we validate recovery?Part 50 — Security Perspective for CKA
Section titled “Part 50 — Security Perspective for CKA”CKA is primarily an administration path, but administration and security overlap heavily.
Every administrator should consider:
Who Can Access the Cluster?
Who Can Create Workloads?
Who Can Read Secrets?
Which Workloads Are Privileged?
Which Services Are Public?
Which Actions Are Logged?Administrative Power Is Security Power
Section titled “Administrative Power Is Security Power”An administrator may be able to:
Create Pods
Read Configuration
Modify Services
Change RBAC
Access SecretsTherefore Kubernetes administrative access must be strongly protected.
Part 51 — Common Kubernetes Administrative Risks
Section titled “Part 51 — Common Kubernetes Administrative Risks”Watch for:
Excessive cluster-admin
Shared Administrator Accounts
Powerful Service Accounts
Public API Exposure
Unnecessary Public Services
Weak Secret Controls
Privileged Pods
Unsupported Cluster Versions
Missing Audit VisibilityPart 52 — CKA Practical Lab Approach
Section titled “Part 52 — CKA Practical Lab Approach”CKA preparation should be heavily hands-on.
Use a practice cycle:
Build ↓Inspect ↓Break Safely ↓Troubleshoot ↓Repair ↓ValidatePractice Exercise 01 — Workload Deployment
Section titled “Practice Exercise 01 — Workload Deployment”Build:
Deployment ↓Pods ↓ServiceThen verify:
Pods Ready
Service Connected
Application ReachablePractice Exercise 02 — Scaling
Section titled “Practice Exercise 02 — Scaling”Start with:
2 ReplicasChange to:
5 ReplicasValidate that the desired state is achieved.
Practice Exercise 03 — Rolling Update
Section titled “Practice Exercise 03 — Rolling Update”Simulate:
Version 1 ↓Version 2Observe how replicas change.
Then understand rollback behavior.
Practice Exercise 04 — Scheduling
Section titled “Practice Exercise 04 — Scheduling”Create different node labels.
Then design workloads that target specific nodes.
Review:
NodeSelector
Affinity
Taints
TolerationsPractice Exercise 05 — Service Failure
Section titled “Practice Exercise 05 — Service Failure”Introduce a safe selector mismatch.
Observe:
Service Exists ↓No Endpoints ↓Application UnavailableThen repair it.
Practice Exercise 06 — Storage
Section titled “Practice Exercise 06 — Storage”Create:
PVC ↓Storage ↓PodThen inspect the binding relationship.
Practice Exercise 07 — RBAC
Section titled “Practice Exercise 07 — RBAC”Create:
Namespace
Role
RoleBinding
User / Service AccountVerify permitted and denied actions.
Practice Exercise 08 — Node Maintenance
Section titled “Practice Exercise 08 — Node Maintenance”Practice the lifecycle:
Node Running ↓Cordon ↓Drain ↓Maintenance ↓Validate ↓Return to ServicePractice Exercise 09 — Pod Troubleshooting
Section titled “Practice Exercise 09 — Pod Troubleshooting”Create a safe configuration failure.
Then troubleshoot:
Status
Events
Logs
ConfigurationPractice Exercise 10 — Network Troubleshooting
Section titled “Practice Exercise 10 — Network Troubleshooting”Use:
Pod ↓Service ↓DNS ↓Networkand identify which layer is failing.
CKA Exam Preparation Mindset
Section titled “CKA Exam Preparation Mindset”CKA preparation should emphasize:
Speed
Accuracy
Troubleshooting
Resource Relationships
ValidationDo not rely only on memorizing commands.
Understand:
Why the command is required
Which resource changes
How to confirm successLearn Patterns, Not Isolated Commands
Section titled “Learn Patterns, Not Isolated Commands”For example, do not memorize only:
Deployment CommandUnderstand the workflow:
Create Deployment ↓Inspect Deployment ↓Inspect Pods ↓Expose Application ↓Validate ServiceTime-Efficient Troubleshooting
Section titled “Time-Efficient Troubleshooting”During practical work:
Read Requirement Carefully ↓Identify Resource ↓Make Smallest Correct Change ↓ValidateAvoid making unnecessary changes.
Validation Is Mandatory
Section titled “Validation Is Mandatory”After every administrative task ask:
Did Kubernetes accept the change?
Is the resource healthy?
Is the application working?
Did I modify the correct namespace/context?Context Awareness
Section titled “Context Awareness”A Kubernetes administrator may interact with multiple environments.
Always verify:
Cluster
Context
Namespacebefore making changes.
Production Mindset
Section titled “Production Mindset”In production environments, a technically correct command can still cause an outage if applied in the wrong place.
Develop the habit:
Verify Target ↓Understand Impact ↓Make Change ↓ValidateCommon CKA Preparation Mistakes
Section titled “Common CKA Preparation Mistakes”Mistake 1 — Memorizing Commands
Section titled “Mistake 1 — Memorizing Commands”Commands are easier to remember when you understand Kubernetes objects.
Mistake 2 — Avoiding Troubleshooting
Section titled “Mistake 2 — Avoiding Troubleshooting”Troubleshooting is a core administrator skill.
Break safe lab environments intentionally and repair them.
Mistake 3 — Ignoring Events
Section titled “Mistake 3 — Ignoring Events”Events often explain why a resource failed.
Mistake 4 — Ignoring Networking
Section titled “Mistake 4 — Ignoring Networking”Many application failures involve:
Service
DNS
Endpoint
Port
NetworkMistake 5 — Ignoring Storage
Section titled “Mistake 5 — Ignoring Storage”Persistent applications depend on correctly configured storage.
Mistake 6 — Ignoring Scheduling
Section titled “Mistake 6 — Ignoring Scheduling”Pod placement affects:
Availability
Performance
OperationsMistake 7 — Making Changes Without Validation
Section titled “Mistake 7 — Making Changes Without Validation”Always confirm the desired state after changes.
Mistake 8 — Using cluster-admin for Everything
Section titled “Mistake 8 — Using cluster-admin for Everything”Operational convenience can create unnecessary security risk.
CKA Career Connection
Section titled “CKA Career Connection”CKA-level skills support roles such as:
Kubernetes Administrator
Platform Engineer
DevOps Engineer
Site Reliability Engineer
Cloud Engineer
Infrastructure EngineerFor security professionals, these skills provide the operational foundation required to understand:
Kubernetes Attack Surface
RBAC Abuse
Service Account Risk
Workload Privilege
Network Segmentation
Incident ResponseCKA to Kubernetes Security
Section titled “CKA to Kubernetes Security”For a security-focused learner:
CKA Skills ↓Understand Platform Operations ↓Understand Privilege ↓Understand Networking ↓Understand Workloads ↓CKSCKA to Platform Engineering
Section titled “CKA to Platform Engineering”CKA ↓Cluster Administration ↓Automation ↓Infrastructure as Code ↓GitOps ↓Platform EngineeringCKA to DevOps
Section titled “CKA to DevOps”CKA ↓Kubernetes ↓CI/CD ↓Observability ↓Automation ↓DevOps EngineeringCKA to Cloud Security
Section titled “CKA to Cloud Security”CKA ↓Managed Kubernetes ↓Cloud IAM ↓Kubernetes RBAC ↓Network Security ↓Workload Security ↓Runtime SecurityInterview Preparation
Section titled “Interview Preparation”Be ready to discuss:
- What is the Kubernetes control plane?
- What does the API server do?
- What does the scheduler do?
- What does the controller manager do?
- What is stored in Kubernetes cluster state?
- What is a worker node?
- What does the node agent do?
- What is a container runtime?
- What is a Pod?
- Why are Pods considered disposable?
- What is a Deployment?
- What is a ReplicaSet?
- What is a DaemonSet?
- What is a Job?
- What is a CronJob?
- What is a Namespace?
- What are labels and selectors?
- What are CPU and memory requests?
- What are resource limits?
- How does Kubernetes schedule Pods?
- What is a node selector?
- What is affinity?
- What is anti-affinity?
- What are taints and tolerations?
- What is a Kubernetes Service?
- How would you troubleshoot a Service that has no endpoints?
- What is cluster DNS?
- What is Ingress?
- What is a NetworkPolicy?
- What is a PersistentVolume?
- What is a PersistentVolumeClaim?
- What is a StorageClass?
- How does Kubernetes authentication differ from authorization?
- What is RBAC?
- What is the difference between Role and ClusterRole?
- What is the difference between RoleBinding and ClusterRoleBinding?
- What is a service account?
- What does cordoning a node do?
- What does draining a node do?
- How would you troubleshoot a Pod that remains Pending?
- How would you troubleshoot repeated container restarts?
- How would you troubleshoot Kubernetes DNS?
- How would you troubleshoot storage binding?
- Why are Kubernetes events important?
- What are startup, readiness, and liveness probes?
- Why are cluster backups important?
- Why should cluster upgrades be planned?
- Why should cluster-admin access be limited?
- Why are Kubernetes audit logs important?
- How does CKA knowledge help Kubernetes security professionals?
CKA Readiness Checklist
Section titled “CKA Readiness Checklist”Cluster Architecture
Section titled “Cluster Architecture”- Understand control plane
- Understand API server
- Understand scheduling
- Understand controllers
- Understand cluster state
- Understand worker nodes
- Understand container runtime
Workloads
Section titled “Workloads”- Manage Pods
- Manage Deployments
- Understand ReplicaSets
- Manage DaemonSets
- Manage Jobs
- Manage CronJobs
- Perform rolling updates
- Understand rollback
Scheduling
Section titled “Scheduling”- Use labels
- Use selectors
- Understand resource requests
- Understand resource limits
- Understand node selectors
- Understand affinity
- Understand anti-affinity
- Understand taints and tolerations
Networking
Section titled “Networking”- Understand Services
- Troubleshoot Services
- Understand DNS
- Understand Ingress
- Understand Pod networking
- Understand NetworkPolicies
- Troubleshoot connectivity
Storage
Section titled “Storage”- Understand PV
- Understand PVC
- Understand StorageClass
- Attach persistent storage
- Troubleshoot storage
Access
Section titled “Access”- Understand authentication
- Understand authorization
- Understand RBAC
- Understand Roles
- Understand ClusterRoles
- Understand bindings
- Understand service accounts
Administration
Section titled “Administration”- Manage namespaces
- Manage resources
- Manage node maintenance
- Cordon nodes
- Drain nodes
- Understand cluster lifecycle
- Understand backup and recovery concepts
Troubleshooting
Section titled “Troubleshooting”- Inspect resource status
- Review events
- Review logs
- Troubleshoot Pods
- Troubleshoot Deployments
- Troubleshoot Services
- Troubleshoot DNS
- Troubleshoot networking
- Troubleshoot storage
- Troubleshoot nodes
Practical Readiness Milestone
Section titled “Practical Readiness Milestone”Before considering your CKA-level preparation mature, you should be able to take a scenario such as:
Users Cannot Access Applicationand investigate systematically:
Ingress ↓Service ↓Endpoints ↓Pods ↓ApplicationOr:
Pod Will Not Startand investigate:
Pod Status ↓Events ↓Scheduling ↓Image ↓Configuration ↓StorageOr:
Workload Cannot Reach Databaseand investigate:
DNS ↓Service ↓Endpoint ↓Port ↓NetworkPolicy ↓ApplicationThat troubleshooting ability is one of the strongest indicators that you are becoming a Kubernetes administrator rather than simply a Kubernetes learner.
Final CKA Mental Model
Section titled “Final CKA Mental Model”Remember:
Kubernetes Administrator ↓Understands Cluster ↓Deploys Workloads ↓Controls Scheduling ↓Provides Networking ↓Provides Storage ↓Manages Access ↓Maintains Nodes ↓Troubleshoots Failures ↓Restores Desired StateThe goal is not just:
Run kubectl CommandsThe goal is:
Understand the Platform ↓Operate It Safely ↓Identify Problems ↓Restore ServiceSecurity Milestone
Section titled “Security Milestone”As you complete CKA-level learning, start asking a second question after every administrative task.
Not only:
Does it work?but:
Is it secure?Examples:
The Service Works ↓Should It Be Public?The Pod Runs ↓Does It Need Root?The Service Account Works ↓Does It Have Too Much Permission?The Network Works ↓Is Unnecessary Traffic Allowed?This prepares you for the transition from Kubernetes administration to Kubernetes security.
Certification Outcome
Section titled “Certification Outcome”After completing CKA preparation, you should move from:
I Understand Kubernetesto:
I Can Operate,Administer,and TroubleshootKubernetes Environments.That operational foundation becomes especially valuable when you begin advanced Kubernetes security.
What’s Next?
Section titled “What’s Next?”➡️ 03 — CKAD
In the next lesson, you will move from cluster administration into the application developer perspective and learn how Kubernetes-native applications are designed, configured, exposed, monitored, and operated.
You will focus on:
Application Workloads ↓Pod Design ↓Configuration ↓Secrets ↓Services ↓Resource Management ↓Health Checks ↓Application TroubleshootingThe progression is:
KCNA ↓Understand Kubernetes ↓CKA ↓Operate Kubernetes ↓CKAD ↓Build and Run Kubernetes Applications