Skip to content
Snippets Groups Projects
Commit e7cb5b94 authored by Benedikt Wetzel's avatar Benedikt Wetzel
Browse files

Add descriptions for the resourceSets to the benchmark crd

parent 171e6a2d
No related branches found
No related tags found
1 merge request!171Introduce ResourceSets to make loading of resource files more flexible
This commit is part of merge request !171. Comments created here will be created in the context of that merge request.
......@@ -89,7 +89,7 @@ Resource Types:
<td><b><a href="#benchmarkspecappresourcesetsindex">appResourceSets</a></b></td>
<td>[]object</td>
<td>
<br/>
The appResourceSets specifies all Kubernetes resources required to start the sut. A resourceSet can be either a configMap resourceSet or a fileSystem resourceSet.<br/>
</td>
<td>true</td>
</tr><tr>
......@@ -103,7 +103,7 @@ Resource Types:
<td><b><a href="#benchmarkspecloadgenresourcesetsindex">loadGenResourceSets</a></b></td>
<td>[]object</td>
<td>
<br/>
The appResourceSets specifies all Kubernetes resources required to start the sut. A resourceSet can be either a configMap resourceSet or a fileSystem resourceSet.<br/>
</td>
<td>true</td>
</tr><tr>
......@@ -144,14 +144,14 @@ Resource Types:
<td><b><a href="#benchmarkspecappresourcesetsindexconfigmap">configMap</a></b></td>
<td>object</td>
<td>
<br/>
The configMap resourceSet loads the Kubernetes manifests from an Kubernetes configMap.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b><a href="#benchmarkspecappresourcesetsindexfilesystem">fileSystem</a></b></td>
<td>object</td>
<td>
<br/>
The fileSystem resourceSet loads the Kubernetes manifests from the filesystem.<br/>
</td>
<td>false</td>
</tr></tbody>
......@@ -163,7 +163,7 @@ Resource Types:
The configMap resourceSet loads the Kubernetes manifests from an Kubernetes configMap.
<table>
<thead>
......@@ -178,14 +178,14 @@ Resource Types:
<td><b>files</b></td>
<td>[]string</td>
<td>
<br/>
(Optional) Specifies which files from the configMap should be loaded. If this field is not set, all files are loaded.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>name</b></td>
<td>string</td>
<td>
<br/>
The name of the configMap<br/>
</td>
<td>false</td>
</tr></tbody>
......@@ -197,7 +197,7 @@ Resource Types:
The fileSystem resourceSet loads the Kubernetes manifests from the filesystem.
<table>
<thead>
......@@ -212,14 +212,14 @@ Resource Types:
<td><b>files</b></td>
<td>[]string</td>
<td>
<br/>
(Optional) Specifies which files from the configMap should be loaded. If this field is not set, all files are loaded.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>path</b></td>
<td>string</td>
<td>
<br/>
The path to the folder which contains the Kubernetes manifests files.<br/>
</td>
<td>false</td>
</tr></tbody>
......@@ -336,14 +336,14 @@ Contains the Kafka configuration.
<td><b><a href="#benchmarkspecloadgenresourcesetsindexconfigmap">configMap</a></b></td>
<td>object</td>
<td>
<br/>
The configMap resourceSet loads the Kubernetes manifests from an Kubernetes configMap.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b><a href="#benchmarkspecloadgenresourcesetsindexfilesystem">fileSystem</a></b></td>
<td>object</td>
<td>
<br/>
The fileSystem resourceSet loads the Kubernetes manifests from the filesystem.<br/>
</td>
<td>false</td>
</tr></tbody>
......@@ -355,7 +355,7 @@ Contains the Kafka configuration.
The configMap resourceSet loads the Kubernetes manifests from an Kubernetes configMap.
<table>
<thead>
......@@ -370,14 +370,14 @@ Contains the Kafka configuration.
<td><b>files</b></td>
<td>[]string</td>
<td>
<br/>
(Optional) Specifies which files from the configMap should be loaded. If this field is not set, all files are loaded.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>name</b></td>
<td>string</td>
<td>
<br/>
The name of the configMap<br/>
</td>
<td>false</td>
</tr></tbody>
......@@ -389,7 +389,7 @@ Contains the Kafka configuration.
The fileSystem resourceSet loads the Kubernetes manifests from the filesystem.
<table>
<thead>
......@@ -404,14 +404,14 @@ Contains the Kafka configuration.
<td><b>files</b></td>
<td>[]string</td>
<td>
<br/>
(Optional) Specifies which files from the configMap should be loaded. If this field is not set, all files are loaded.<br/>
</td>
<td>false</td>
</tr><tr>
<td><b>path</b></td>
<td>string</td>
<td>
<br/>
The path to the folder which contains the Kubernetes manifests files.<br/>
</td>
<td>false</td>
</tr></tbody>
......@@ -935,7 +935,7 @@ Specifies the scaling resource that is benchmarked.
<td><b>resourceValues</b></td>
<td>[]integer</td>
<td>
<br/>
List of resource values for the specified resource type.<br/>
</td>
<td>true</td>
</tr></tbody>
......
......@@ -124,6 +124,7 @@ spec:
type: boolean
default: false
appResourceSets:
description: The appResourceSets specifies all Kubernetes resources required to start the sut. A resourceSet can be either a configMap resourceSet or a fileSystem resourceSet.
type: array
items:
type: object
......@@ -132,24 +133,31 @@ spec:
- required: [fileSystem]
properties:
configMap:
description: The configMap resourceSet loads the Kubernetes manifests from an Kubernetes configMap.
type: object
properties:
name:
description: The name of the configMap
type: string
files:
description: (Optional) Specifies which files from the configMap should be loaded. If this field is not set, all files are loaded.
type: array
items:
type: string
fileSystem:
description: The fileSystem resourceSet loads the Kubernetes manifests from the filesystem.
type: object
properties:
path:
description: The path to the folder which contains the Kubernetes manifests files.
type: string
files:
description: (Optional) Specifies which files from the configMap should be loaded. If this field is not set, all files are loaded.
type: array
items:
type: string
loadGenResourceSets:
description: The appResourceSets specifies all Kubernetes resources required to start the sut. A resourceSet can be either a configMap resourceSet or a fileSystem resourceSet.
type: array
items:
type: object
......@@ -158,20 +166,26 @@ spec:
- required: [fileSystem]
properties:
configMap:
description: The configMap resourceSet loads the Kubernetes manifests from an Kubernetes configMap.
type: object
properties:
name:
description: The name of the configMap
type: string
files:
description: (Optional) Specifies which files from the configMap should be loaded. If this field is not set, all files are loaded.
type: array
items:
type: string
fileSystem:
description: The fileSystem resourceSet loads the Kubernetes manifests from the filesystem.
type: object
properties:
path:
description: The path to the folder which contains the Kubernetes manifests files.
type: string
files:
description: (Optional) Specifies which files from the configMap should be loaded. If this field is not set, all files are loaded.
type: array
items:
type: string
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment