Commit Graph

16 Commits (ba4b043336fdabaacd4be2c6ca9fe6381c5012a3)

Author SHA1 Message Date
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
Daniel Mendes 5a4c534e57
Update content/en/docs/reference/kubectl/jsonpath.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-08-26 19:55:26 +02:00
Daniel Mendes 6262a5dae3
Update jsonpath.md 2020-08-18 19:59:10 +02:00
Daniel Mendes 5247eaccc3
Apply suggestions from code review
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2020-08-14 14:55:00 +02:00
Daniel Mendes 869817b56c
Update jsonpath.md 2020-08-14 11:40:11 +02:00
Daniel Mendes 2a33dfdcd6
Update jsonpath.md
Adding note that JSONPath in kubectl cli does not currently support RegEx.
2020-08-14 11:31:00 +02:00
Karen Bradshaw ecc27bbbe7 add en pages 2020-06-09 19:33:15 -04:00
Mariyan Dimitrov 3482077227
Remove command prompt from Windows example (#18906)
* Remove command prompt from Windows example

According to the [style
guide](https://kubernetes.io/docs/contribute/style/style-guide/#don-t-include-the-command-prompt),
the command prompt should not be included in the examples. Removing the
Windows command prompt from the jsonpath example.

Signed-off-by: Mariyan Dimitrov <mariyan.dimitrov@gmail.com>

* Put Windows example inside note shortcode

I'm putting the Windows example in a Hug note shortcode to be consistent
with the rest of the documentation.

Signed-off-by: Mariyan Dimitrov <mariyan.dimitrov@gmail.com>
2020-02-09 05:15:52 -08:00
Dr Nic Williams 41d5f445b2 jsonpath example of child with dot in name (#17625)
Promoting the solution shown in https://github.com/kubernetes/kubernetes/issues/23386#issuecomment-305348170
to formal documentation.
2019-11-17 17:27:41 -08:00
Hardy e5863effe6 Add a example for union operator in the shell env (#16282)
In the current example, single quotes are used, but the union operator can  be confusing.
Incorrect:
`kubectl get pod -o=jsonpath='{.items[*]['metadata.name','spec.nodeName']}'`  
Correct:
`kubectl get pods -o=jsonpath="{.items[*]['metadata.name', 'status.capacity']}"`
2019-10-08 15:55:51 -07:00
Zane Bitter 8344dda2f6 Use literals in jsonpath examples (#15775)
It's very difficult to figure out e.g. the correct quotes to use from
regular text that is subject to being converted for typographers quotes.
Use code literals instead to ensure that nothing is modified, and to
distinguish literals from accompanying text.

Signed-off-by: Zane Bitter <zbitter@redhat.com>
2019-08-11 17:53:10 -07:00
Neha Yadav d3cca48e3f Code snippents shouldn't include the command prompt (#12779) 2019-03-07 01:31:05 -08:00
Karen Bradshaw 9b1d77e07f clean-up jsonpath additional functions list (#11027) 2018-11-18 18:27:56 -08:00
itowlson e03f1b4a52 JSONPaths with spaces must be double-quoted on Windows (#9679) 2018-07-31 15:11:39 -07:00
Sandra f0a4d99389 More readable fix for issue #7957 (#8341)
* More readable fix for issue #7957

Replaces HTML entity-escaped text with Markdown-escaped text where necessary.

* Fixing the markdown discrepancy

Rendering consistently is for chumps
2018-05-06 12:12:50 -07:00
Bjørn Erik Pedersen 7f3b633aa0 Convert site to Hugo (#8316)
This commit converts content and layout to use Hugo.
2018-05-05 09:00:51 -07:00