Commit Graph

219 Commits

Author SHA1 Message Date
Qiming Teng e9703497a1 Remove exec permission on markdown files
For some unknown reasons, we have got many markdown files with exec
permission. That is weird and risky.
2021-06-16 17:57:00 +08:00
Kubernetes Prow Robot 6a2b65d85d Merge pull request #27557 from robertsonai/patch-1
Add common command to list ENV for all pods
2021-05-19 05:26:51 -07:00
joostas ee1361dc0d [en] Fix label selector in "kubectl for Docker Users"
Before
```sh
kubectl get po -l
run=nginx-app
No resources found in default namespace.
```
Because:
```sh
kubectl get po --show-labels
NAME                         READY   STATUS    RESTARTS   AGE   LABELS
nginx-app-58cfd4c468-jx6qp   1/1     Running   0          17m app=nginx-app,pod-template-hash=58cfd4c468
```
After:
```sh
kubectl get po -l app=nginx-app
NAME                         READY   STATUS    RESTARTS   AGE
nginx-app-58cfd4c468-jx6qp   1/1     Running   0          18m
```
2021-05-11 23:08:49 +03:00
Adam Robertson 21bf5f96bc Update cheatsheet.md
Adding comments to ensure default namespace, container and that the command is supported.
Add note to show you can substitute `env` for any supported command.
2021-04-15 11:28:07 -07:00
Adam Robertson 98a20fb123 Update cheatsheet.md
Adding a common command I use to ensure common or namespace wide ENV variables are properly set, i.e. by a ConfigMap
2021-04-14 12:41:44 -07:00
Kubernetes Prow Robot 27cf5a0f0d Merge pull request #26574 from AliRezaTaleghani/patch-1
Update cheatsheet.md
2021-03-26 04:42:43 -07:00
Karen Bradshaw 3ff5ec1eff clean up use of word: just 2021-03-17 19:57:40 -04:00
Akihito INOH f553cbbebc Replace redirect links of install kubectl
/docs/tasks/tools/install-kubectl/ is redirected to
/docs/tasks/tools/
This commit replace the redirect links for installing kubectl
with direct links.
2021-03-15 08:22:29 +09:00
Kubernetes Prow Robot 6beb1b12de Merge pull request #24727 from raghvenders/patch-3
Clean up reference section
2021-03-05 01:44:22 -08:00
Kubernetes Prow Robot 203ad6d6a9 Merge pull request #26062 from notchairmk/cheatsheet_deploy_svc
Update cheatsheet: add interacting with Deployments and Services
2021-03-04 16:42:22 -08:00
andrzejsydor b7a3e4c971 address typos docker-cli-kubectl (#26050)
* fix typos

fix typos

* Update docker-cli-to-kubectl.md

* fix typos
2021-03-04 16:34:22 -08:00
raghvenders c77e38066f Review Comments 2021-02-28 20:40:16 -06:00
raghvenders 2b6074e8ed changes 2021-02-22 19:13:26 -06:00
AliRezaTaleghani 5316aaf207 Update cheatsheet.md
fix CLA sign
2021-02-16 20:09:06 +01:00
AliRezaTaleghani 21100c15ee Update cheatsheet.md
activate CLA
2021-02-16 20:01:07 +01:00
AliRezaTaleghani c3245e47d7 Update cheatsheet.md
adding blank space between examples
2021-02-16 19:56:24 +01:00
AliRezaTaleghani c8d58f3d52 Update cheatsheet.md
adding a custom output to format output by listing Images per Pod in table.
2021-02-16 19:48:47 +01:00
Kubernetes Prow Robot 0c26cd90eb Merge pull request #26092 from anapsix/patch-2
Update cheatsheet.md
2021-02-01 16:50:28 -08:00
chenxuc 9d3e4467d5 Update invalid web page link for api group
The old link
"https://kubernetes.io/docs/concepts/overview/kubernetes-api/#api-groups"
points to an nonexistent section of that page. The correct section
should be
"https://kubernetes.io/docs/concepts/overview/kubernetes-api/#api-groups-and-versioning"
.
2021-02-01 13:00:47 +08:00
Anastas Dancha 8589a9c76a Update cheatsheet.md
- improve on [pr #26053](https://github.com/kubernetes/website/pull/26053)
- use idiomatic secret name in example
2021-01-14 16:12:53 +03:00
Kubernetes Prow Robot a422f01f3f Merge pull request #26053 from anapsix/patch-2
Update cheatsheet.md
2021-01-13 09:44:36 -08:00
Taylor Chaparro 535743edbe Update cheatsheet: add section for interacting with Deployments and Services 2021-01-12 12:19:40 -08:00
Kubernetes Prow Robot 466de5e75a Merge pull request #25337 from smashse/patch-2
Update docker-cli-to-kubectl.md
2021-01-12 11:10:38 -08:00
Kubernetes Prow Robot eecf1c47e1 Merge pull request #25549 from tomkivlin/patch-1
Tidy list of generators for “kubectl create”
2021-01-12 03:58:25 -08:00
Tom Kivlin f095cf3ecf update resource terms to CamelCase
where a resource is mentioned in the description, use CamelCase.
2021-01-12 08:03:14 +00:00
Anastas Dancha 4076cf0b0b Update cheatsheet.md
adding example for decoding secret ".data" without relying on external CLI tools
2021-01-11 19:34:31 +03:00
andrzejsydor 1537aa20a2 Update cheatsheet.md (Add --sort-by option for top command)
Update cheatsheet.md (Add --sort-by option for `top` command)
2021-01-08 20:18:56 +01:00
Kubernetes Prow Robot 3dd4721e9c Merge pull request #25389 from sangam14/patch-1
Update cheatsheet.md
2021-01-04 17:17:57 -08:00
Tom Kivlin 441cafec53 monospaced --> unordered list
As mentioned in issue #25501.
2020-12-10 19:47:28 +00:00
Kubernetes Prow Robot 02dc538596 Merge pull request #25496 from browningjp/patch-1
Clarified kubectl generators being deprecated
2020-12-08 14:15:34 -08:00
Jonny Browning 23d2722023 Clarified kubectl generators being deprecated
Previously it was not clear that it was only the generators used by `kubectl run` that are deprecated, not those used by `kubectl create`
2020-12-08 15:20:33 +00:00
Anna Jung (VMware) 7f43aceddb Merge remote-tracking branch 'upstream/master' into dev-1.20 2020-12-07 10:39:57 -06:00
Sangam Biradar 619eb00575 Update cheatsheet.md 2020-12-04 05:00:46 +05:30
Anna Jung (VMware) edc2d65641 Generate reference doc for 1.20.0-rc.0 and update api index page 2020-12-03 16:51:44 -06:00
Anderson Gama f4e15f337f Update docker-cli-to-kubectl.md 2020-12-01 13:56:50 -03:00
keshy f3107d250b Update content/en/docs/reference/kubectl/cheatsheet.md
Ack on recommended change.

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-11-29 23:37:13 -08:00
keshy b752ca0690 Update cheatsheet.md
Added another useful command for obtaining shell access to a running k8s pod.
2020-11-27 11:40:28 -08:00
Kubernetes Prow Robot a27c157ef7 Merge pull request #24701 from ramnar/patch-1
commands to create job and cronjob
2020-11-25 16:14:19 -08:00
zhaojizhuang 7beee58927 fix example error when use kubectl get -f 2020-11-20 23:59:51 +08:00
ramnar 4ed2587df3 implemented review comments 2020-11-18 10:03:23 +05:30
ramnar ba4b043336 updated review comments
updated review comments
2020-11-10 07:08:40 +05:30
ramnar 18e4eaff07 implemented feedback
implemented feedback
2020-11-10 07:05:16 +05:30
ramnar bc2b4f2e5b implemented review comments
implemented review comments
2020-10-28 07:28:32 +05:30
ramnar 177fb0d6f2 implementing review comments
implementing review comments
2020-10-25 16:05:29 +05:30
ramnar 18eb0bfc02 commands to create job and cronjob 2020-10-24 10:36:54 +05:30
Tomas Menito f24bf6f60b Update dry-run flag
dry-run is deprecated and can be replaced with --dry-run=client.
2020-09-29 07:25:48 -03:00
yuanhao ed053d7061 update kubectl api-resouces list base on 1.19.1 2020-09-18 14:23:34 +08:00
Adam Russell 82546d3ff8 Fix a couple issues in docker-cli-to-kubectl.md 2020-09-17 11:50:46 -05:00
Kubernetes Prow Robot d1a9cf8f44 Merge pull request #23141 from webmutation/jsonpath-regex-nosupport
Jsonpath regex nosupport
2020-08-27 15:33:29 -07:00
Daniel Mendes 691ca62bb3 Update content/en/docs/reference/kubectl/jsonpath.md
Co-authored-by: Daniel Smith <dbsmith@google.com>
2020-08-26 19:55:51 +02:00