23 lines
986 B
YAML
23 lines
986 B
YAML
# 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
|