Skip to content

Latest commit

 

History

History
388 lines (172 loc) · 13.9 KB

guide.md

File metadata and controls

388 lines (172 loc) · 13.9 KB

Kubernetes

Start here: prerequisites

Process Creation, Execution, and Exit

Process and CPU Inspection (ps, top)

Bash

DNS

IP

TCP

Images and registries

YAML: mappings, sequences and indentation

Kubernetes

1. Cluster architecture and API model

Control plane, worker nodes and kubelet

API objects, desired state and manifests

Controllers and reconciliation

2. Everyday tools and organization

kubectl, contexts and namespaces

Labels, selectors and annotations

YAML manifests and API versions

3. Application workloads

Pods and container lifecycle

Deployments, ReplicaSets and rolling updates

StatefulSets and stable identity

DaemonSets and node services

Jobs and CronJobs

Rollout history and rollback

4. Application configuration

ConfigMaps and environment variables

Secrets and safe credential handling

Volumes and configuration mounts

5. Networking and traffic

Services, selectors and EndpointSlices

Service discovery and cluster DNS

Gateway API: GatewayClass, Gateway and HTTPRoute

Ingress API (frozen) and controller requirements

NetworkPolicies and supporting network plugins

6. Persistent storage

PersistentVolumes and PersistentVolumeClaims

StorageClasses and dynamic provisioning

Access modes, reclaim policy and data lifecycle

7. Scheduling and reliability

CPU/memory requests and limits

Startup, readiness and liveness probes

Node affinity, taints and tolerations

PodDisruptionBudgets and voluntary disruption

Horizontal autoscaling and metrics dependencies

8. Workload security

ServiceAccounts and workload identity

RBAC and least privilege

Security contexts and Pod Security Admission

9. Troubleshooting applications

Logs, events, describe and metrics

Pending, ImagePullBackOff and CrashLoopBackOff

Debug Service selectors, endpoints and DNS

Debug Pending PVCs and volume mounts

10. Packaging and delivery

Helm charts and release lifecycle

Kustomize bases and overlays

GitOps reconciliation and drift

Further study: cluster administration

Managed clusters, kubeadm and topology choices

Version skew, upgrades and node maintenance

etcd snapshots and recovery drills

CRDs, operators and admission webhooks

Practice: local application milestones

1. Create a local cluster and inspect nodes

2. Deploy an application and inspect reconciliation

3. Expose a Service and test port-forwarding

4. Inject ConfigMap and Secret values

5. Mount a PVC and verify data after Pod replacement

6. Update an image and roll back a failed rollout

7. Break a selector or image tag, diagnose and repair