Skip to content

Commit

Permalink
Fix docs (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha authored Aug 21, 2017
1 parent cf6953d commit 5a24994
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions docs/node-alerts/node_volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ kube-system Active 6h
demo Active 4m
```

### Check status of all nodes
In this tutorial, we are going to create a NodeAlert to check status of all nodes.
### Check volume stats of all nodes
In this tutorial, we are going to create a NodeAlert to check volume stats of all nodes.
```yaml
$ cat ./docs/examples/node-alerts/node_volume/demo-0.yaml

Expand Down Expand Up @@ -82,8 +82,8 @@ Voila! `node_volume` command has been synced to Icinga2. Please visit [here](/do
![check-all-nodes](/docs/images/node-alerts/node_volume/demo-0.png)


### Check status of nodes with matching labels
In this tutorial, a NodeAlert will be used check status of nodes with matching labels by setting `spec.selector` field.
### Check volume stats of nodes with matching labels
In this tutorial, a NodeAlert will be used check volume stats of nodes with matching labels by setting `spec.selector` field.

```yaml
$ cat ./docs/examples/node-alerts/node_volume/demo-1.yaml
Expand Down Expand Up @@ -125,8 +125,8 @@ Events:
![check-by-node-label](/docs/images/node-alerts/node_volume/demo-1.png)


### Check status of a specific node
In this tutorial, a NodeAlert will be used check status of a node by name by setting `spec.nodeName` field.
### Check volume stats of a specific node
In this tutorial, a NodeAlert will be used check volume stats of a node by name by setting `spec.nodeName` field.

```yaml
$ cat ./docs/examples/node-alerts/node_volume/demo-2.yaml
Expand Down
2 changes: 1 addition & 1 deletion docs/pod-alerts/pod_volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Voila! `pod_volume` command has been synced to Icinga2. Please visit [here](/doc
![check-pods-by-label](/docs/images/pod-alerts/pod_volume/demo-0.png)


### Check status of a specific pod
### Check volume stats of a specific pod
In this tutorial, a PodAlert will be used check volume stats of a pod by name by setting `spec.podName` field.

```yaml
Expand Down

0 comments on commit 5a24994

Please sign in to comment.