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
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
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
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
Sangam Biradar
619eb00575
Update cheatsheet.md
2020-12-04 05:00:46 +05:30
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
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
Kubernetes Prow Robot
8c60bd2208
Merge pull request #22975 from kbhawkey/kb-fix-heading-cheatsheet
...
remove extra title in kubectl cheatsheet
2020-08-16 14:10:18 -07:00
Garron Kramer
05a417c303
Assist those who struggle to find path to relevant keys in Json output.
2020-08-07 14:57:15 +03:00
Karen Bradshaw
672af3395a
remove extra title kubectl cheatsheet
2020-08-05 09:19:49 -04:00
Qiming Teng
4ddc1663f2
Add a kubectl tip for working with keys with dots
2020-07-02 16:30:52 +08:00
Wang(わん)
622e5f9713
update latest kubectl run syntax
...
--dry-run is deprecated
`--restart=Never` flag is unnecessary to create a pod from 1.18
2020-06-15 21:06:55 +09:00
Karen Bradshaw
ecc27bbbe7
add en pages
2020-06-09 19:33:15 -04:00
gosoon
1847278b1f
fix: error message
2020-04-21 17:22:23 +08:00
Jim Angel
11ac6b9e13
adding custom-columns examples
2020-04-19 19:55:29 -05:00
Rajesh Deshpande
be6c0c3a21
Removing references of `kubectl rolling-update` command ( #19449 )
...
* Removing rolling-update command details
Removing rolling-update command details
Removing references to kubectl rolling-update command
* Removing rolling-update references
2020-03-27 18:33:53 -07:00
Anastas Dancha
1f958e0744
updating cheatsheet.md with command to get containerIDs of all initContainer ( #19243 )
...
* adding cheatsheet.md
adding kubectl command to get containerIDs of all
initContainers for every Pod in the cluster
helps to identify stopped container which should not be removed,
when running manual cleanup of stopped containers on K8s cluster nodes
* adding more context for finding initContainer IDs
* removing reference to github issue
Signed-off-by: Anastas Dancha <anapsix@random.io>
2020-03-15 23:12:35 -07:00
Louis Raymond
a869f00509
Update cheatsheet.md ( #19039 )
...
Replaced 'if' ZSH kubectl autocomplete with a more compact form
2020-03-15 21:58:35 -07:00
Naoki Oketani
e37b117a3f
remove example of deprecated option: kubectl get --export ( #19336 )
2020-03-15 21:24:35 -07:00
Andrey Zhelnin
8ccc83fad6
Update kubectl explain usage case ( #19612 )
...
You can't specify more then one resources at one for explain. See error below:
$ kubectl explain pods,svc
the server doesn't have a resource type "pods,svc"
error: We accept only this format: explain RESOURCE
2020-03-13 17:50:34 -07:00
Kabir Kwatra
cd2f675b5b
Updated CHANGELOG-11 link ( #19036 )
2020-02-09 14:53:53 -08:00
Prasad Honavar
9da040d5d0
Update cheatsheet.md ( #18975 )
...
* Update cheatsheet.md
"List all pods in the namespace, with more details" command corrected by adding --all-namespaces
* Update content/en/docs/reference/kubectl/cheatsheet.md
Co-Authored-By: Tim Bannister <tim@scalefactory.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-02-07 11:45:46 -08:00
Aman Gupta
7e0dd4f59f
(fix) Removed `-n test` from `kubectl get pv` command ( #18877 )
...
- PV are cluster scoped rather than namespaced scope
- So, there is no need to list it by namespace
Signed-off-by: Aman Gupta <aman.gupta@mayadata.io>
2020-02-07 07:23:45 -08:00
zhouya0
0c57f2c46b
add kubectl diff to cheatsheet ( #18481 )
2020-01-12 17:53:37 -08:00
chendotjs
0c2a5ceb0b
Remove useless blank line ( #18211 )
2020-01-10 14:25:37 -08:00
Antoine Pelisse
40499ac391
Add "rollout restart" to cheatsheet ( #18224 )
2020-01-07 16:47:40 -08:00
pierwill
6324ff5d75
kubectl cheatsheet edits ( #18222 )
...
* Capitalize terms in kubectl cheatsheet
* Edit output flag section of kubectl cheatsheet
Minor edit for readability
2019-12-30 10:53:39 -08:00
Zach Corleissen
bb45a9818d
Revert breaking commits ( #17967 )
...
* Revert "Remove dead links to old getting started guides (#17889 )"
This reverts commit d6285eaac4
.
* Revert "Fix a command in kubectl cheatsheet (#17888 )"
This reverts commit e03f4b258c
.
2019-12-05 15:22:49 -08:00
Qiming
e03f4b258c
Fix a command in kubectl cheatsheet ( #17888 )
...
Closes : #17883
2019-11-30 21:23:03 -08:00
praveen-kg
e26dd31892
incorrect command for sort-by operation on pod ( #17032 )
...
* incorrect command for sort-by
kubectl get pods -n test --sort-by=.spec.capacity.storage, is incorrect for pod as pods will not have capacity.storage under .spec, rather it should be for PersistentVolume.
So change the command
kubectl get pv -n test --sort-by=.spec.capacity.storage
* Update cheatsheet.md
2019-11-25 21:29:10 -08:00
Ahmad Bani jamali
57047b2c2c
a small fix in the delete all pods ( #16824 )
...
There was a typo in kubectl -n my-ns delete pod,svc --all
2019-10-14 15:33:51 -07:00