{"id":18299746,"url":"https://github.com/containersolutions/kubernetes-cheatsheet","last_synced_at":"2025-04-09T09:23:51.478Z","repository":{"id":87118012,"uuid":"197763783","full_name":"ContainerSolutions/kubernetes-cheatsheet","owner":"ContainerSolutions","description":"Cheatsheet with useful Kubernetes commands or tools","archived":false,"fork":false,"pushed_at":"2019-07-22T12:59:52.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T03:29:03.724Z","etag":null,"topics":["cheatsheet","kubernetes"],"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/ContainerSolutions.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}},"created_at":"2019-07-19T11:49:14.000Z","updated_at":"2021-01-27T19:44:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"ebc62a89-bc4a-4e5d-a65c-c58d6c8323fb","html_url":"https://github.com/ContainerSolutions/kubernetes-cheatsheet","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/ContainerSolutions%2Fkubernetes-cheatsheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fkubernetes-cheatsheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fkubernetes-cheatsheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fkubernetes-cheatsheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ContainerSolutions","download_url":"https://codeload.github.com/ContainerSolutions/kubernetes-cheatsheet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248009661,"owners_count":21032784,"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":["cheatsheet","kubernetes"],"created_at":"2024-11-05T15:10:13.923Z","updated_at":"2025-04-09T09:23:51.460Z","avatar_url":"https://github.com/ContainerSolutions.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes Cheatsheet\n\n## API\n\n```\n$ kubectl api-resources\nNAME                              SHORTNAMES     APIGROUP                                          NAMESPACED   KIND\nbindings                                                                                           true         Binding\ncomponentstatuses                 cs                                                               false        ComponentStatus\nconfigmaps                        cm                                                               true         ConfigMap\n...\n```\n\n## Explain\n\n```\n$ kubectl explain role\nKIND:     Role\nVERSION:  rbac.authorization.k8s.io/v1\n\nDESCRIPTION:\n     Role is a namespaced, logical grouping of PolicyRules that can be\n     referenced as a unit by a RoleBinding.\n...\n```\n\n## Namespaces\n\nSwitch namespace with [kns](https://github.com/blendle/kns)\n\n```\n$ kns\n*arrow up/down + enter*\n```\n\n## Secrets\n\nList all secrets\n\n```\n$ kubectl get secret\n```\n\nExport a specific secret\n\n```\n$ kubectl get secret secret-name -o yaml --export\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainersolutions%2Fkubernetes-cheatsheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontainersolutions%2Fkubernetes-cheatsheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainersolutions%2Fkubernetes-cheatsheet/lists"}