Skip to content

Commit

Permalink
make ndiag_doc
Browse files Browse the repository at this point in the history
  • Loading branch information
k1LoW committed Jan 12, 2021
1 parent ff843df commit 5569916
Show file tree
Hide file tree
Showing 13 changed files with 47 additions and 10 deletions.
Empty file.
Empty file.
4 changes: 4 additions & 0 deletions sample/k8s/input/ndiag.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
---
name: Exposed Pod with 3 replicas
docPath: ../output
diagrams:
- name: overview
layers: ["k8s"]
nodes:
- name: my-namespace
clusters:
- 'k8s:my-cluster?icon=k8s-logo'
- 'netpol:a'
- 'limits:b'
- 'quota:c'
Expand Down
5 changes: 3 additions & 2 deletions sample/k8s/output/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Exposed Pod with 3 replicas

![diagram](diagram-nodes.svg)
![diagram](diagram-overview.svg)

See https://github.com/kubernetes/community/tree/master/icons#usage-example

Expand All @@ -14,13 +14,14 @@ See https://github.com/kubernetes/community/tree/master/icons#usage-example

| Name | Description |
| --- | --- |
| [Nodes](diagram-nodes.md) | <a href="../input/ndiag.descriptions/_diagram-nodes.md">:pencil2:</a> |
| [overview](diagram-overview.md) | <a href="../input/ndiag.descriptions/_diagram-overview.md">:pencil2:</a> |


## Layers

| Name | Description |
| --- | --- |
| [k8s](layer-k8s.md) | <a href="../input/ndiag.descriptions/_layer-k8s.md">:pencil2:</a> |
| [netpol](layer-netpol.md) | <a href="../input/ndiag.descriptions/_layer-netpol.md">:pencil2:</a> |
| [limits](layer-limits.md) | <a href="../input/ndiag.descriptions/_layer-limits.md">:pencil2:</a> |
| [quota](layer-quota.md) | <a href="../input/ndiag.descriptions/_layer-quota.md">:pencil2:</a> |
Expand Down
2 changes: 0 additions & 2 deletions sample/k8s/output/diagram-nodes.svg

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
# Nodes
# overview

![diagram](diagram-nodes.svg)
![diagram](diagram-overview.svg)



<p align="right">
[ <a href="../input/ndiag.descriptions/_diagram-nodes.md">:pencil2: Edit description</a> ]
[ <a href="../input/ndiag.descriptions/_diagram-overview.md">:pencil2: Edit description</a> ]
<p>


## Layers

| Name | Description |
| --- | --- |
| [k8s](layer-k8s.md) | <a href="../input/ndiag.descriptions/_layer-k8s.md">:pencil2:</a> |

## Nodes

Expand Down
2 changes: 2 additions & 0 deletions sample/k8s/output/diagram-overview.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions sample/k8s/output/layer-k8s.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# k8s

![diagram](layer-k8s.svg)



<p align="right">
[ <a href="../input/ndiag.descriptions/_layer-k8s.md">:pencil2: Edit description</a> ]
<p>


## k8s:my-cluster



<p align="right">
[ <a href="../input/ndiag.descriptions/_cluster-k8s_my-cluster.md">:pencil2: Edit description</a> ]
<p>


### Nodes

| Name | Description |
| --- | --- |
| [my-namespace](node-my-namespace.md) | <a href="../input/ndiag.descriptions/_node-my-namespace.md">:pencil2:</a> |

---

> Generated by [ndiag](https://github.com/k1LoW/ndiag)
2 changes: 2 additions & 0 deletions sample/k8s/output/layer-k8s.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion sample/k8s/output/layer-limits.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion sample/k8s/output/layer-netpol.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion sample/k8s/output/layer-quota.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5569916

Please sign in to comment.