From efb3c14ed949189f0a7316a72069e3a1f5cbd01a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Wed, 17 Nov 2021 17:31:48 +0100 Subject: [PATCH] Add preliminary docs for resource sets --- docs/resourcesets.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 docs/resourcesets.md diff --git a/docs/resourcesets.md b/docs/resourcesets.md new file mode 100644 index 000000000..8f1a3ab88 --- /dev/null +++ b/docs/resourcesets.md @@ -0,0 +1,24 @@ +Resource sets (`appResourceSets` or `loadGenResourceSets`) describe a set of Kubernetes resources. + +They can be created from Kubernetes YAMl files placed in ConfigMaps or from files of the filesystem accessible by Theodolite. + +### Creating Resources from ConfigMaps + +```yaml +- configMap: + name: "example-configmap" + files: + - "uc1-kstreams-deployment.yaml" +``` + +### Creating Resources from the Filesystem + +```yaml +- fileSystem: + path: ./../../../../../../config + files: + - "uc1-kstreams-deployment.yaml" + - "aggregation-service.yaml" + - "jmx-configmap.yaml" + - "uc1-service-monitor.yaml" +``` -- GitLab