feat: Add CKAD Lab - 3 (exam-003)#66
Open
josephedward wants to merge 6 commits into
Open
Conversation
fix CKAD lab2 question 2
This PR introduces CKAD Comprehensive Lab - 3, a high-difficulty practice exam containing 22 new tasks. Key highlights include: - Namespace Isolation: Each question runs in its own dedicated namespace. - Advanced Scenarios: Includes tasks for Helm release management, local Docker registry workflows (build/push), and PersistentVolume/PVC binding. - Partial-Credit Validation: Updated assessment logic to support granular verification of complex tasks. - Automated Setup: Idempotent setup scripts for seeding resources like broken deployments for troubleshooting and Helm releases.
|
Important Review skippedToo many files! This PR contains 158 files, which is 8 over the limit of 150. You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: Add CKAD Comprehensive Lab - 3 (exam-003)
🧾 What this PR does
This PR introduces CKAD Comprehensive Lab - 3, a high-difficulty practice exam containing 22 new tasks.
Key highlights include:
Namespace Isolation: Each question runs in its own dedicated namespace.
Advanced Scenarios: Includes tasks for Helm release management, local Docker registry workflows (build/push), and PersistentVolume/PVC binding.
Partial-Credit Validation: Updated assessment logic to support granular verification of complex tasks.
Automated Setup: Idempotent setup scripts for seeding resources like broken deployments for troubleshooting and Helm releases; validators are namespace-aware.
Outputs are written under
/opt/course/exam3/qXX/and/opt/course/exam3/p{1..3}/.🧩 Type of change
🧪 How to test it
✅ Acceptance Criteria
—
📎 Related Issue(s)
💬 Notes for Reviewers
Q4 (Helm): Requires
helm. Setup seeds releases:internal-issue-report-apiv1andinternal-issue-report-apiv2inhelm. The task requires deletingapiv1, upgradingapiv2, and installing a newinternal-issue-report-apachewith 2 replicas. Validators require Helm; no degraded path.Q11 (Container tooling + Registry): Requires Docker and a local registry at
localhost:5000. Validators assert the built/pushed image tag, a runningsun-ciphercontainer fromlocalhost:5000/sun-cipher:v1-docker, and the registry tag presence.Q12 (hostPath PV): The PV uses
hostPath: /Volumes/Datawithtype: DirectoryOrCreateso it works across environments without manual node prep. To prevent the cluster's default StorageClass from being applied, setstorageClassName: ""(empty) on the PVC. Pods should generally become Ready. Validators only assert that pods are created (not strictly Ready) for broader compatibility.Q13 (Storage): PVC may stay
Pendingwithout a matching provisioner; validators account for this.Q18 (Service): Setup is intentionally broken (wrong selector and wrong targetPort). Validators require both endpoints to exist and the endpoint port to be 4444 after the fix.
Q19 (NodePort): Validators check type and
nodePort=30100.📄 Attachments