mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-06-08 02:37:13 +00:00
remove mkdocs specific syntax
This commit is contained in:
parent
8d08c1964f
commit
8026e1465b
77 changed files with 1128 additions and 1128 deletions
|
@ -110,7 +110,7 @@ Each kubernetes configuration file is composed by 3 parts:
|
|||
|
||||
### `kubectl get`
|
||||
|
||||
```sh linenums="1"
|
||||
```sh
|
||||
kubectl config get-contexts # list available contexts
|
||||
|
||||
kubectl get namespaces # list namespaces inside current context
|
||||
|
@ -121,12 +121,12 @@ kubectl get pod [-n|--namespace <namespace>] <pod> -o|--output jsonpath='{.spec.
|
|||
|
||||
### `kubectl exec`
|
||||
|
||||
```sh linenums="1"
|
||||
```sh
|
||||
kubectl exec [-i|--stdin] [-t|--tty] [-n|--namespace <namespace>] <pod> [-c|--container <container>] -- <command> # execute a command inside a container
|
||||
```
|
||||
|
||||
### `kubectl logs`
|
||||
|
||||
```sh linenums="1"
|
||||
```sh
|
||||
kubectl logs [-f|--follow] [-n|--namespace <namespace>] <pod> [-c|--container] # get pod/container logs
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue