use note short tags (#9023)
This commit is contained in:
@@ -62,9 +62,11 @@ The jsonpath is interpreted as follows:
|
|||||||
- `.containers[*]`: for each container
|
- `.containers[*]`: for each container
|
||||||
- `.image`: get the image
|
- `.image`: get the image
|
||||||
|
|
||||||
|
{{< note >}}
|
||||||
**Note:** When fetching a single Pod by name, e.g. `kubectl get pod nginx`,
|
**Note:** When fetching a single Pod by name, e.g. `kubectl get pod nginx`,
|
||||||
the `.items[*]` portion of the path should be omitted because a single
|
the `.items[*]` portion of the path should be omitted because a single
|
||||||
Pod is returned instead of a list of items.
|
Pod is returned instead of a list of items.
|
||||||
|
{{< /note >}}
|
||||||
|
|
||||||
## List Containers by Pod
|
## List Containers by Pod
|
||||||
|
|
||||||
|
|||||||
+6
-2
@@ -70,8 +70,10 @@ load-balanced access to an application running in a cluster.
|
|||||||
your service. If the external IP address shows as `<pending>`, repeat the
|
your service. If the external IP address shows as `<pending>`, repeat the
|
||||||
command.
|
command.
|
||||||
|
|
||||||
Note: If you are using Minikube, you don't get an external IP address. The
|
{{< note >}}
|
||||||
|
**Note:** If you are using Minikube, you don't get an external IP address. The
|
||||||
external IP address remains in the pending state.
|
external IP address remains in the pending state.
|
||||||
|
{{< /note >}}
|
||||||
|
|
||||||
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
||||||
example-service 10.0.0.160 <pending> 8080/TCP 40s
|
example-service 10.0.0.160 <pending> 8080/TCP 40s
|
||||||
@@ -87,7 +89,9 @@ load-balanced access to an application running in a cluster.
|
|||||||
|
|
||||||
Hello Kubernetes!
|
Hello Kubernetes!
|
||||||
|
|
||||||
Note: If you are using Minikube, enter these commands:
|
{{< note >}}
|
||||||
|
**Note:** If you are using Minikube, enter these commands:
|
||||||
|
{{< /note >}}
|
||||||
|
|
||||||
kubectl cluster-info
|
kubectl cluster-info
|
||||||
kubectl describe services example-service
|
kubectl describe services example-service
|
||||||
|
|||||||
Reference in New Issue
Block a user