Separated commands from output (#19023)
This commit is contained in:
committed by
GitHub
parent
d473853186
commit
01e3420896
@@ -38,6 +38,8 @@ Get the API versions:
|
|||||||
|
|
||||||
curl http://localhost:8080/api/
|
curl http://localhost:8080/api/
|
||||||
|
|
||||||
|
The output should look similar to this:
|
||||||
|
|
||||||
{
|
{
|
||||||
"kind": "APIVersions",
|
"kind": "APIVersions",
|
||||||
"versions": [
|
"versions": [
|
||||||
@@ -55,6 +57,8 @@ Get a list of pods:
|
|||||||
|
|
||||||
curl http://localhost:8080/api/v1/namespaces/default/pods
|
curl http://localhost:8080/api/v1/namespaces/default/pods
|
||||||
|
|
||||||
|
The output should look similar to this:
|
||||||
|
|
||||||
{
|
{
|
||||||
"kind": "PodList",
|
"kind": "PodList",
|
||||||
"apiVersion": "v1",
|
"apiVersion": "v1",
|
||||||
|
|||||||
Reference in New Issue
Block a user