Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
Link presentation (#6)
Browse files Browse the repository at this point in the history
* Add ContainerDays presentation and fix markdown errors

* Clean up markdown

* Add video link
  • Loading branch information
johscheuer authored Jul 19, 2019
1 parent 528bb99 commit 0fdede2
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 15 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Illuminatio - The kubernetes network policy validator

<img src="/logo/logo.png" width="250px">
![alt text](/logo/logo_small.png)

Illuminatio is a tool for automatically testing kubernetes network policies.
Simply execute `illuminatio clean run`
Expand All @@ -9,7 +9,8 @@ to determine if the policies are in effect.

An overview of the concept is visualized in [the concept doc](docs/concept.md).

# Getting started
## Getting started

Follow these instructions to get Illuminatio up and running.

## Prerequisites
Expand Down Expand Up @@ -62,9 +63,7 @@ EOF
Test your newly created NetworkPolicy:

```bash
$ illuminatio clean run
```
```
illuminatio clean run
Starting cleaning resources with policies ['on-request', 'always']
Deleting namespacess [] with cleanup policy on-request
Deleting namespacess [] with cleanup policy always
Expand Down Expand Up @@ -112,8 +111,6 @@ To preview generated test cases without running tests use `illuminatio run`'s `-

```bash
illuminatio run --dry
```
```
Starting test generation and run.
Got cases: [NetworkTestCase(from=ClusterHost(namespace=default, podLabels={'app': 'web'}), to=ClusterHost(namespace=default, podLabels={'app': 'web'}), port=-*)]
Generated 1 cases in 0.0902 seconds
Expand All @@ -128,7 +125,8 @@ All options and further information can be found using the `--help` flag on any
```bash
illuminatio --help
```
```

```Bash
Usage: illuminatio [OPTIONS] COMMAND1 [ARGS]... [COMMAND2 [ARGS]...]...

Options:
Expand All @@ -145,10 +143,12 @@ Commands:

The logo was created by Pia Blum.

Example Network Policies are inspired by:
https://github.com/ahmetb/kubernetes-network-policy-recipes
- Example Network Policies are inspired by:
[kubernetes-network-policy-recipes](https://github.com/ahmetb/kubernetes-network-policy-recipes)
- Presentation from [ContainerDays 2019](https://www.youtube.com/watch?v=eEkTvAez8HA&list=PLHhKcdBlprMdg-fwPD1b3IjBRR_Ga09H0&index=36), [slides](https://www.inovex.de/de/content-pool/vortraege/network-policies)

## Contributing

We are happy to read your [issues](https://github.com/inovex/illuminatio/issues) and accept your [Pull Requests.](https://github.com/inovex/illuminatio/compare)

For more information on developing illuminatio refer to [the development docs](docs/developing.md).
Expand Down
6 changes: 4 additions & 2 deletions authors.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Initial author
# Authors

## Initial author

* Maximilian Bischoff <[email protected]>

# Contributors
## Contributors

* Johannes Scheuermann <[email protected]>
* Henning Häcker <[email protected]>
7 changes: 4 additions & 3 deletions docs/developing.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ python3 setup.py install
```

## Local development

We will bootstrap a [Minikube VM](https://kubernetes.io/docs/setup/minikube/) for local development.

### [Docker](https://github.com/inovex/illuminatio/local_dev/startDocker.sh)
Expand All @@ -43,7 +44,7 @@ minikube addons enable registry

### [Containerd](https://github.com/inovex/illuminatio/local_dev/startContainerd.sh)

See also: https://github.com/kubernetes/minikube/blob/master/docs/alternative_runtimes.md
See also: [alternative runtimes](https://github.com/kubernetes/minikube/blob/master/docs/alternative_runtimes.md)

```bash
# See also: https://github.com/projectcalico/calico/issues/1013
Expand Down Expand Up @@ -97,7 +98,9 @@ We need to configure `containerd` to be able to pull images from our local regis
```bash
minikube ssh
```

The following commands are executed inside the minikube vm

```bash
# Add the following lines -> see https://github.com/kubernetes/minikube/issues/3444
sudo sed -i '56i\ endpoint = ["http://localhost:5000"]' /etc/containerd/config.toml
Expand Down Expand Up @@ -129,8 +132,6 @@ python3 setup.py install

## Manual testing

<!-- TODO should be automated or atleast a script for CI -->

```bash
kubectl create deployment web --image=nginx
kubectl expose deployment web --port 80 --target-port 80
Expand Down
Binary file modified logo/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added logo/logo_small.png
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 0fdede2

Please sign in to comment.