{"id":15748036,"url":"https://github.com/webbertakken/k8s-ckad-reference","last_synced_at":"2025-10-30T19:05:04.781Z","repository":{"id":118617083,"uuid":"420433837","full_name":"webbertakken/k8s-ckad-reference","owner":"webbertakken","description":"Kubernetes certification reference","archived":false,"fork":false,"pushed_at":"2021-11-18T12:08:21.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-06T11:27:53.569Z","etag":null,"topics":["certification","cheatsheet","ckad","k8s","kubernetes","reference"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webbertakken.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"webbertakken","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2021-10-23T14:22:40.000Z","updated_at":"2025-01-23T16:25:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b501b8a-bcf9-442e-87bc-ad2e70f2340b","html_url":"https://github.com/webbertakken/k8s-ckad-reference","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webbertakken%2Fk8s-ckad-reference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webbertakken%2Fk8s-ckad-reference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webbertakken%2Fk8s-ckad-reference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webbertakken%2Fk8s-ckad-reference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webbertakken","download_url":"https://codeload.github.com/webbertakken/k8s-ckad-reference/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246429449,"owners_count":20775805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["certification","cheatsheet","ckad","k8s","kubernetes","reference"],"created_at":"2024-10-04T05:40:25.374Z","updated_at":"2025-10-30T19:05:04.699Z","avatar_url":"https://github.com/webbertakken.png","language":null,"funding_links":["https://github.com/sponsors/webbertakken"],"categories":[],"sub_categories":[],"readme":"# K8s CKAD reference\n\nCertification reference (unofficial) for \"Certified Kubernetes Application Developer (CKAD)\".\n\n## Preparation and rationale\n\n#### Official resources\n\n- [Curriculum](https://github.com/cncf/curriculum)\n- [Portal](https://trainingportal.linuxfoundation.org/learn/dashboard) (acquired after booking)\n- [Certification handbook](https://docs.linuxfoundation.org/tc-docs/certification/lf-candidate-handbook)\n- [Important instructions](https://docs.linuxfoundation.org/tc-docs/certification/tips-cka-and-ckad)\n\n#### Format\n\n- 2 hours hands-on, solving \"hard\" problems\n- A proctor watches you perform the exam live\n- You can only access specific pages (listed below)\n\n#### Environment\n\n- ubuntu 18:04, no extra packages\n- `sudo` requires no password\n- `kubectl` with alias `k` and Bash autocompletion (no `kubens`)\n- `helm`\n- `vim` (no config)\n- `yq` and `jq` for YAML/JSON processing\n- `curl` and `wget` for testing web services\n- `man` and man pages for further documentation\n\n\u003e **Note:** Regular copy and paste hotkeys do not work.\n\u003e - For **Linux**: select text for copy and middle button for paste (or both left and right simultaneously if you have no middle button).\n\u003e - For **Mac**: ⌘+C to copy and ⌘+V to paste.\n\u003e - For **Windows**: Ctrl+Insert to copy and Shift+Insert to paste\n\n## Setup\n\nSetup shell.\n\n```shell\ncat \u003c\u003cEOF \u003e\u003e~/.bashrc \u0026\u0026 . .bashrc\n# Recommended exports\nexport do=\"--dry-run=client -o yaml\" \nexport now=\"--force --grace-period 0\"\n\n# Recommended aliases\nalias kn=\"kubectl config set-context --current --namespace \"\nalias kd=\"kubectl -n default\"\nalias jq=\"jq -r\"\nEOF\n```\n\nSetup vim.\n\n```shell\nalias vi=vim ; cat \u003c\u003cEOF \u003e~/.vimrc\nset number\nset shiftwidth=2\nset tabstop=2\nset softtabstop=2\nset expandtab\nset autoindent\nset laststatus=2\nEOF\n```\n\n## Cheatsheet\n\nAllowed top-level pages during exam ([source](https://docs.linuxfoundation.org/tc-docs/certification/certification-resources-allowed#certified-kubernetes-administrator-cka-and-certified-kubernetes-application-developer-ckad)):\n\n- https://kubernetes.io/docs/home/\n- https://github.com/kubernetes/\n- https://kubernetes.io/blog/\n\nRelevant allowed sub-pages (recommended bookmarks):\n\n- [Change current namespace](https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/#setting-the-namespace-preference)\n\n## Additional resources\n\nThe following resources are not allowed during the exam.\n\n- [Illustrated guide to kubernetes networking](https://speakerdeck.com/thockin/illustrated-guide-to-kubernetes-networking) by Tim Hockin\n\n## Most important commands \n\nCommands you should easily be able to reproduce and intrinsically understand.\n\nNote that you will need to use many more commands, but knowing these will speed up your workflow. There is limited time for looking up commands during the exam.\n\n```bash\n# Using help to find the exact syntax for a command\nk \u003ccommand\u003e --help\n\n# Using a debug container\nk run -it curl --image=nginx -- bash\nk exec -it curl -- bash\nk delete pod curl $now\n\n# Show additional information for resources\nk get pod -o wide\nk get pod --show-labels\n\n# Querying aggregated info\nk get all -n=\u003clabel\u003e\n\n# Querying selective information\nk get secret \u003cname\u003e -o json | jq '.my.key'\n\n# Create yaml files using generators (from dry-run output)\nk create deploy \u003cname\u003e -n \u003cnamespace\u003e --image=\u003cimage\u003e --port=\u003cport\u003e $do | head -n -1\nk create secret generic \u003cname\u003e --from-literal=key1=value --from-file=key2=path/to/file $do\nk expose \u003cobject\u003e \u003cname\u003e --name \u003cservice-name\u003e -n \u003cnamespace\u003e --port --target-port $do | head -n -2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebbertakken%2Fk8s-ckad-reference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebbertakken%2Fk8s-ckad-reference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebbertakken%2Fk8s-ckad-reference/lists"}