Skip to content

Commit f9f882b

Browse files
author
sunlintong
committed
do change as required
1 parent 561b166 commit f9f882b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/reference/kubectl/cheatsheet.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ approvers:
77
title: kubectl Cheat Sheet
88
---
99

10-
See also: [Kubectl Overview](/docs/reference/kubectl/overview.md/) and [JsonPath Guide](/docs/reference/kubectl/jsonpath.md).
10+
See also: [Kubectl Overview](/docs/reference/kubectl/overview/) and [JsonPath Guide](/docs/reference/kubectl/jsonpath).
1111

1212
## Kubectl Autocomplete
1313

@@ -19,7 +19,7 @@ $ source <(kubectl completion zsh) # setup autocomplete in zsh
1919
## Kubectl Context and Configuration
2020

2121
Set which Kubernetes cluster `kubectl` communicates with and modifies configuration
22-
information. See [Authenticating Across Clusters with kubeconfig](/docs/tasks/access-application-cluster/configure-access-multiple-clusters.md) documentation for
22+
information. See [Authenticating Across Clusters with kubeconfig](/docs/tasks/access-application-cluster/configure-access-multiple-clusters/) documentation for
2323
detailed config file information.
2424

2525
```console
@@ -292,8 +292,8 @@ Output format | Description
292292
`-o=custom-columns=<spec>` | Print a table using a comma separated list of custom columns
293293
`-o=custom-columns-file=<filename>` | Print a table using the custom columns template in the `<filename>` file
294294
`-o=json` | Output a JSON formatted API object
295-
`-o=jsonpath=<template>` | Print the fields defined in a [jsonpath](/docs/reference/kubectl/jsonpath.md) expression
296-
`-o=jsonpath-file=<filename>` | Print the fields defined by the [jsonpath](/docs/reference/kubectl/jsonpath.md) expression in the `<filename>` file
295+
`-o=jsonpath=<template>` | Print the fields defined in a [jsonpath](/docs/reference/kubectl/jsonpath) expression
296+
`-o=jsonpath-file=<filename>` | Print the fields defined by the [jsonpath](/docs/reference/kubectl/jsonpath) expression in the `<filename>` file
297297
`-o=name` | Print only the resource name and nothing else
298298
`-o=wide` | Output in the plain-text format with any additional information, and for pods, the node name is included
299299
`-o=yaml` | Output a YAML formatted API object

0 commit comments

Comments
 (0)