This repository has been archived by the owner on Nov 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from dedica-team/develop
Release 0.2.1
- Loading branch information
Showing
203 changed files
with
35,443 additions
and
1,957 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,6 @@ | |
target | ||
docs/build | ||
_static | ||
_templates | ||
_templates | ||
/.env | ||
*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
language: java | ||
|
||
jdk: | ||
- openjdk10 | ||
- openjdk12 | ||
|
||
cache: | ||
directories: | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Input Sources | ||
============= | ||
|
||
|
||
Kubernetes cluster inspection | ||
----------------------------- | ||
|
||
Kubernetes clusters are inspected using Fabric8.io's Java client. See https://github.com/fabric8io/kubernetes-client#configuring-the-client | ||
for configuration. Parsing can be configured via an URL, i.e. the examined namespace can be given (otherwise all namespaces | ||
are scanned) and a label for building groups can be named. Both parameters and even the whole URL are optional. | ||
|
||
.. code-block:: yaml | ||
:linenos: | ||
identifier: k8s:example | ||
name: Kubernetes example | ||
sources: | ||
- url: http://192.168.99.100?namespace=mynamespace&groupLabel=labelToUseForGrouping | ||
format: kubernetes | ||
Rancher 1 Cluster Inspection | ||
---------------------------- | ||
|
||
Rancher clusters can be indexed one project (aka environment in the GUI speak) at a time. Access credentials can be read | ||
from environment variables. To exclude internal stacks (like those responsible for internal networking), blacklist them. | ||
|
||
.. code-block:: yaml | ||
:linenos: | ||
identifier: rancher:example | ||
name: Rancher 1.6 API example | ||
config: | ||
groupBlacklist: [".*infra.*"] | ||
sources: | ||
- url: "http://rancher-server/v2-beta/" | ||
projectName: Default | ||
apiAccessKey: ${API_ACCESS_KEY} | ||
apiSecretKey: ${API_SECRET_KEY} | ||
format: rancher1 | ||
Nivio proprietary format | ||
------------------------ | ||
|
||
Nivio provided an own format, which allows to set all model properties manually (see Model and Syntax section) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,9 @@ The Docker image is about 350MB and can be started with: | |
|
||
.. code-block:: bash | ||
docker run -e DEMO=1 bonndan/nivio | ||
docker run -e DEMO=1 dedica-team/nivio | ||
Set SERVER_CONTEXT_PATH env var to the path if nivio won't be runner under "/". | ||
|
||
Demo mode | ||
--------- | ||
|
@@ -61,6 +63,7 @@ For jgraphx output, some force directed graph params can be set. More configurat | |
identifier: nivio:example | ||
name: Landscape example | ||
contact: [email protected] | ||
description: This is an example landscape. | ||
sources: | ||
- "./items/wordpress.yml" | ||
- url: "./items/dashboard.yml" | ||
|
@@ -73,47 +76,34 @@ For jgraphx output, some force directed graph params can be set. More configurat | |
- url: xxx | ||
format: kubernetes | ||
# landscape configuration | ||
config: | ||
groups: | ||
content: | ||
color: "24a0ed" | ||
# https://jgraph.github.io/mxgraph/java/docs/com/mxgraph/layout/mxOrganicLayout.html | ||
jgraphx: | ||
triesPerCell: 8 | ||
edgeLengthCostFactor: 0.0001 | ||
nodeDistributionCostFactor: 900000.0 | ||
borderLineCostFactor: 7.0 | ||
# | ||
# for group alignment | ||
# | ||
# the higher, the longer the edges between groups | ||
forceConstantFactor: 2.8 | ||
# higher value is cpu intensive, but can lead to better layouts | ||
maxIterations: 1000 | ||
# can also influence edge length and layout | ||
minDistanceLimitFactor: 3.05 | ||
Kubernetes cluster inspection | ||
Reading from csv | ||
----------------------------- | ||
|
||
Kubernetes clusters are inspected using Fabric8.io's Java client. See https://github.com/fabric8io/kubernetes-client#configuring-the-client | ||
for configuration. Parsing can be configured via an URL, i.e. the examined namespace can be given (otherwise all namespaces | ||
are scanned) and a label for building groups can be named. Both parameters and even the whole URL are optional. | ||
Nivio can parse csv files regarding one row as landscape item. The order of the columns in the file is important, since | ||
headers are ignored and not mapping automatically. Instead, each column number (starting at zero) can be assigned to an | ||
item property in the "mapping" configuration. Additionally, the csv separator char and the number of lines to | ||
skip (usually 1 for the header row) can be set. | ||
|
||
.. code-block:: yaml | ||
:linenos: | ||
identifier: k8s:example | ||
name: Kubernetes example | ||
sources: | ||
- url: http://192.168.99.100?namespace=mynamespace&groupLabel=labelToUseForGrouping | ||
format: kubernetes | ||
- url: "./services/test.csv" | ||
format: csv | ||
mapping: | ||
identifier: 1 | ||
name: 0 | ||
description: 2 | ||
providedBy: 3 | ||
separator: ";" | ||
skipLines: 1 | ||
Deleting items | ||
----------------- | ||
|
Oops, something went wrong.