docs: add Kubernetes CKS study notes
This commit is contained in:
22
kubernetes/cks/exam-by-claude/kind-config.yaml
Normal file
22
kubernetes/cks/exam-by-claude/kind-config.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
# CKS mock cluster — 1 control-plane + 2 workers, k8s v1.35
|
||||
# Pinned digest from kind v0.32.0 (default 1.36) — we force 1.35.5 to match the exam.
|
||||
# If `kind load`/image pull complains, use kind >= v0.32.0.
|
||||
kind: Cluster
|
||||
apiVersion: kind.x-k8s.io/v1alpha4
|
||||
name: cks
|
||||
nodes:
|
||||
- role: control-plane
|
||||
image: kindest/node:v1.35.5@sha256:ce977ae6d65918d0b58a5f8b5e940429c2ce42fa3a5619ec2bbc60b949c0ac95
|
||||
extraMounts:
|
||||
# host dir for audit policy / encryption config / admission config you'll author on the VM
|
||||
- hostPath: ./exam-files
|
||||
containerPath: /etc/kubernetes/exam
|
||||
extraPortMappings:
|
||||
# so you can curl the Ingress task from the VM
|
||||
- containerPort: 30443
|
||||
hostPort: 30443
|
||||
protocol: TCP
|
||||
- role: worker
|
||||
image: kindest/node:v1.35.5@sha256:ce977ae6d65918d0b58a5f8b5e940429c2ce42fa3a5619ec2bbc60b949c0ac95
|
||||
- role: worker
|
||||
image: kindest/node:v1.35.5@sha256:ce977ae6d65918d0b58a5f8b5e940429c2ce42fa3a5619ec2bbc60b949c0ac95
|
||||
Reference in New Issue
Block a user