[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-571771-105":53,"doc-detail-571771-en":127},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":120,"head_meta":122,"extra_data":124,"updated_unix":126},105,"en","kubernetes-ckad-cheat-sheet-by-mansour-javaher","Kubernetes-CKAD Cheat Sheet - by Mansour Javaher","","Kubernetes-CKAD Cheat Sheet consolidates practical Helm, kubectl, and CKAD-focused Kubernetes commands into a quick-reference format. It covers Helm repository management, chart install/uninstall, searching, pulling, and environment inspection. It also provides common kubectl workflows for pod discovery, describing, applying YAML, label filtering, editing, deletion, exec, and node/pod introspection. Additional sections summarize core workload patterns like ReplicaSets, plus configuration and data resources including ConfigMaps, Secrets, and node taints with pod tolerations.",{"@graph":63,"@context":119},[64,80,102],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/kubernetes-ckad-cheat-sheet-by-mansour-javaher/571771/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/kubernetes-ckad-cheat-sheet-by-mansour-javaher/571771.png","ImageObject",442,249,{"name":88,"@type":89},"Guten tag","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-22","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",6,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"What Helm commands help manage chart repositories before installing charts?","Question",{"text":109,"@type":110},"Use helm repo add to add a repository, helm repo list to list configured repositories, helm repo update to refresh local cache, and helm search repo or helm search hub to find charts.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"How can you view and export pod information using kubectl?",{"text":114,"@type":110},"Use k get po to list pods, k get po \u003Cpod name> -o yaml to output a specific pod in YAML, and k get po \u003Cpod-name> -o yaml > pod.yaml to write it to a file.",{"name":116,"@type":107,"acceptedAnswer":117},"How do ConfigMaps and Secrets integrate with Pods, and how are Secrets handled?",{"text":118,"@type":110},"ConfigMaps can be injected as environment variables or mounted as volumes. Secrets can be described to hide values and exported/visualized via YAML, noting values are encoded.","https://schema.org",{"og:url":78,"og:type":121,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":123,"canonical":78},"index,follow",{"doc_id":125,"site_id":56},571771,1792332901,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":131,"file_id":132,"file_url":133,"file_type":134,"file_size":135,"view_count":101,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":136,"language":137,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":138,"faqs":139,"seo_title":140,"seo_description":61,"update_tm":141,"read_time":76},687212321768,"https://ap-avatar.wpscdn.com/avatar/a0010bdbe886d2fe77?x-image-process=image/resize,m_fixed,w_180,h_180&k=1789897067658708522","Kubernetes-CKAD Cheat Sheet  \nby Mansour Javaher (mansourj) [via](via cheatography.com/153462/cs/32989/)[ cheatography.com/153462/cs/32989/](via cheatography.com/153462/cs/32989/)  \nHelm  \n| helm repo add \u003Crepo-name> \u003Crepo-url> | Adds a new Helm chart repository to your local setup. |\n| --- | --- |\n| helm repo add bitnami [https://charts.bitnami.com/bitnami](https://charts.bitnami.com/bitnami) | Adds the Bitnami Helm repository. |\n| helm repo list | Lists all configured Helm repositories. |\n| helm repo update | Updates the local cache of Helm repositories to fetch the latest charts. |\n| helm search repo \u003Cchart-name> | Searches for a Helm chart in the locally added repositories. |\n| helm search repo bitnami | Lists all charts available in the Bitnami repository. |\n| helm search hub \u003Capp-name> | Searches for a Helm chart across multiple repositories in Helm Hub. |\n| helm install \u003Crelease-name> \u003Crepo-name>/\u003Cchart-name> | Deploys a Helm chart from a repository into Kubernetes. |\n| helm install my-wordpress bitnami/wordpress | Installs the WordPress chart from Bitnami into Kubernetes. |\n| helm uninstall my-release | Removes the specified Helm release from Kubernetes. |\n| helm env | Displays Helm-related environment variables. |\n| helm install my-release ./my-chart | Installs a Helm chart from a local directory. |\n| helm pull \u003Cchart-name> --untar | Downloads and extracts a Helm chart without installing it. |\n\nGeneral commands  \nalias k=kubectl  \nk api-resources List all resource types in the cluster  \nk explain node Introspect documentation for a resource  \nk explain node.spec Dive deeper into a resource specification  \nk explain node.spes | less  \nkubectl explain--recursive pod.spec  \nPods  \n| k get po | List pods |\n| --- | --- |\n| k get po-o wide | Include additional details |\n| k get po \u003Cpod name> -o yaml | Output a specific pod in YAML format |\n| k get po \u003Cpod-name> -o yaml > pod.yaml | Output a specific pod in YAML to a file |\n| k get pods-n \u003Cpod-name> | Pods in a specific namespace |\n| k get pods--all-namespaces | List pods across all namespaces |\n| kubectl get pods-A | Short version of--all- nam espaces |\n| kubectl get events-A | grep error | All events in all namespaces with errors |\n| k get pod--show-labels | Show labels for pods |\n| k get pod-l \u003Ckey>=\u003Cvalue> | Filter pods by label |\n| k describe po \u003Cpod name> | Get details about a pod |\n| k delete po \u003Cpod name> | Delete a specific pod |\n| k delete po--all | Delete all pods in the namespace |\n| k apply-f \u003Cpod.yaml> -n \u003Cnamespace-name> | Apply pod configuration |\n| k edit po \u003Cpod-name> | Edit a pod |\n| k run nginx--image=nginx--dry-run=client-o yaml > pod.yaml | Generate pod YAML imperatively |\n| k exec [pod-name] -- [command] | Execute a command in a pod |\n| k exec nginx-- ls / | Execute ls command in the root / |\n| k exec-it nginx-- /bin/sh | Get a shell in the container |\n| k get pods--no-headers | wc-l | Get number of running pods |\n| k exec ubuntu-sleeper--whoami |  |\n| Key Notes:\u003Cbr>-Pods can have initContainers for pre-task operations.\u003Cbr>-Use restartPolicy (Always , OnFailure , Never) in the pod spec. |  |\n\nBy Mansour Javaher (mansourj) [cheatography.com/mansourj/](cheatography.com/mansourj/)[ ](cheatography.com/mansourj/)[www.mansour.co.nz/](www.mansour.co.nz/)  \nPublished 26th November, 2024. Last updated 23rd February , 2025. Page 2 of 8.  \nSponsored by CrosswordCheats.com Learn to solve cryptic crosswords! [http://crosswordcheats.com](http://crosswordcheats.com)  \nKubernetes-CKAD Cheat Sheet  \nby Mansour Javaher (mansourj) [via](via cheatography.com/153462/cs/32989/)[ cheatography.com/153462/cs/32989/](via cheatography.com/153462/cs/32989/)  \nReplica set  \n| k apply-f \u003Creplicaset-definition.yaml> | Create/Update a ReplicaSet |\n| --- | --- |\n| k get rs | List ReplicaSets |\n| k get rs-o wide | Get ReplicaSet details |\n| k delete rs \u003Creplicaset-name> | Delete a ReplicaSet |\n| k scale rs \u003Creplicaset-name> --replicas=6 | Scale replicas |\n| k edit rs \u003Creplicaset-name> ","cbCaifh7WkUfwwQ5","https://ap.wps.com/l/cbCaifh7WkUfwwQ5","pdf",92338,8,"English","# Helm\n## General commands\n# Pods\n# Replica set\n## Editing ReplicaSet\n# ConfigMap\n# Secret\n# Taints and Tolerations","[{\"question\":\"What Helm commands help manage chart repositories before installing charts?\",\"answer\":\"Use helm repo add to add a repository, helm repo list to list configured repositories, helm repo update to refresh local cache, and helm search repo or helm search hub to find charts.\"},{\"question\":\"How can you view and export pod information using kubectl?\",\"answer\":\"Use k get po to list pods, k get po \\u003cpod name\\u003e -o yaml to output a specific pod in YAML, and k get po \\u003cpod-name\\u003e -o yaml \\u003e pod.yaml to write it to a file.\"},{\"question\":\"How do ConfigMaps and Secrets integrate with Pods, and how are Secrets handled?\",\"answer\":\"ConfigMaps can be injected as environment variables or mounted as volumes. Secrets can be described to hide values and exported/visualized via YAML, noting values are encoded.\"}]","Kubernetes-CKAD Cheat Sheet - by Mansour Javaher | PDF",1791923666]