Skip to content

Commit

Permalink
source the pbench-agent/profile
Browse files Browse the repository at this point in the history
  • Loading branch information
mohit-sheth authored and chaitanyaenr committed Apr 29, 2020
1 parent d0712da commit 98f3da9
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion docs/conformance.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Location of kubeconfig on orchestration host.

### PBENCH_INSTRUMENTATION
Default: `false`
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis.
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis. Also, we can export the results to the server without enabling (`ENABLE_PBENCH_AGENTS`)

### ENABLE_PBENCH_AGENTS
Default: `false`
Expand Down
2 changes: 1 addition & 1 deletion docs/mastervertical.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Location of kubeconfig on orchestration host.

### PBENCH_INSTRUMENTATION
Default: `false`
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis.
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis. Also, we can export the results to the server without enabling (`ENABLE_PBENCH_AGENTS`)

### ENABLE_PBENCH_AGENTS
Default: `false`
Expand Down
2 changes: 1 addition & 1 deletion docs/namespaces-per-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Location of kubeconfig on orchestration host.

### PBENCH_INSTRUMENTATION
Default: `false`
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis.
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis. Also, we can export the results to the server without enabling (`ENABLE_PBENCH_AGENTS`)

### ENABLE_PBENCH_AGENTS
Default: `false`
Expand Down
2 changes: 1 addition & 1 deletion docs/nodevertical.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Location of kubeconfig on orchestration host.

### PBENCH_INSTRUMENTATION
Default: `false`
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis.
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis. Also, we can export the results to the server without enabling (`ENABLE_PBENCH_AGENTS`)

### ENABLE_PBENCH_AGENTS
Default: `false`
Expand Down
2 changes: 1 addition & 1 deletion docs/podvertical.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Location of kubeconfig on orchestration host.

### PBENCH_INSTRUMENTATION
Default: `false`
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis.
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis. Also, we can export the results to the server without enabling (`ENABLE_PBENCH_AGENTS`)

### ENABLE_PBENCH_AGENTS
Default: `false`
Expand Down
2 changes: 1 addition & 1 deletion docs/prometheus-scale.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Location of kubeconfig on orchestration host.

### PBENCH_INSTRUMENTATION
Default: `false`
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis.
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis. Also, we can export the results to the server without enabling (`ENABLE_PBENCH_AGENTS`)

### ENABLE_PBENCH_AGENTS
Default: `false`
Expand Down
2 changes: 1 addition & 1 deletion docs/scale.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Location of kubeconfig on orchestration host.

### PBENCH_INSTRUMENTATION
Default: `false`
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis.
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis. Also, we can export the results to the server without enabling (`ENABLE_PBENCH_AGENTS`)

### ENABLE_PBENCH_AGENTS
Default: `false`
Expand Down
2 changes: 1 addition & 1 deletion docs/services-per-namespace.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Location of kubeconfig on orchestration host.

### PBENCH_INSTRUMENTATION
Default: `false`
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis.
Enables/disables running the workload wrapped by pbench-user-benchmark. When enabled, pbench agents can then be enabled (`ENABLE_PBENCH_AGENTS`) for further instrumentation data and pbench-copy-results can be enabled (`ENABLE_PBENCH_COPY`) to export captured data for further analysis. Also, we can export the results to the server without enabling (`ENABLE_PBENCH_AGENTS`)

### ENABLE_PBENCH_AGENTS
Default: `false`
Expand Down
2 changes: 1 addition & 1 deletion workloads/files/workload-conformance-script-cm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ data:
workload_log "Configuring pbench for Conformance"
mkdir -p /var/lib/pbench-agent/tools-default/
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
source /opt/pbench-agent/profile
if [ "${ENABLE_PBENCH_AGENTS}" = true ]; then
source /opt/pbench-agent/profile
# clear tools/remotes to make sure there are no invalid remotes
set +eo pipefail
pbench-clear-tools
Expand Down
2 changes: 1 addition & 1 deletion workloads/files/workload-http-script-cm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ data:
# pbench Configuration
mkdir -p /var/lib/pbench-agent/tools-default/
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
source /opt/pbench-agent/profile
if [ "${ENABLE_PBENCH_AGENTS}" = true ]; then
source /opt/pbench-agent/profile
# clear tools/remotes to make sure there are no invalid remotes
set +e
pbench-clear-tools
Expand Down
2 changes: 1 addition & 1 deletion workloads/files/workload-prometheus-script-cm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ data:
workload_log "Configuring pbench for Prometheus scale"
mkdir -p /var/lib/pbench-agent/tools-default/
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
source /opt/pbench-agent/profile
if [ "${ENABLE_PBENCH_AGENTS}" = true ]; then
source /opt/pbench-agent/profile
# clear tools/remotes to make sure there are no invalid remotes
set +eo pipefail
pbench-clear-tools
Expand Down
2 changes: 1 addition & 1 deletion workloads/files/workload-scale-script-cm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ data:
workload_log "Configuring pbench for running Scale workload"
mkdir -p /var/lib/pbench-agent/tools-default/
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
source /opt/pbench-agent/profile
if [ "${ENABLE_PBENCH_AGENTS}" = true ]; then
source /opt/pbench-agent/profile
# clear tools/remotes to make sure there are no invalid remotes
set +eo pipefail
pbench-clear-tools
Expand Down
2 changes: 1 addition & 1 deletion workloads/files/workload-test-script-cm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ data:
# pbench Configuration
mkdir -p /var/lib/pbench-agent/tools-default/
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
source /opt/pbench-agent/profile
if [ "${ENABLE_PBENCH_AGENTS}" = true ]; then
source /opt/pbench-agent/profile
# clear tools/remotes to make sure there are no invalid remotes
pbench-clear-tools | exit 0
echo "" > /var/lib/pbench-agent/tools-default/disk
Expand Down
2 changes: 1 addition & 1 deletion workloads/templates/workload-baseline-script-cm.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ data:
echo "$(date -u) Configuring pbench for running Baseline workload"
mkdir -p /var/lib/pbench-agent/tools-default/
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
source /opt/pbench-agent/profile
if [ "${ENABLE_PBENCH_AGENTS}" = true ]; then
source /opt/pbench-agent/profile
# clear tools/remotes to make sure there are no invalid remotes
set +eo pipefail
pbench-clear-tools
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ data:
echo "$(date -u) Configuring pbench for Deployments per namespace cluster limits test"
mkdir -p /var/lib/pbench-agent/tools-default/
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
source /opt/pbench-agent/profile
if [ "${ENABLE_PBENCH_AGENTS}" = true ]; then
source /opt/pbench-agent/profile
# clear tools/remotes to make sure there are no invalid remotes
set +eo pipefail
pbench-clear-tools
Expand Down
2 changes: 1 addition & 1 deletion workloads/templates/workload-fio-script-cm.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ data:
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
echo "" > /var/lib/pbench-agent/tools-default/oc
echo "workload" > /var/lib/pbench-agent/tools-default/label
source /opt/pbench-agent/profile
if [[ -v ENABLE_PBENCH_AGENTS ]]; then
source /opt/pbench-agent/profile
# clear tools/remotes to make sure there are no invalid remotes
set +eo pipefail
pbench-clear-tools
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ data:
workload_log "Configuring pbench for MasterVertical"
mkdir -p /var/lib/pbench-agent/tools-default/
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
source /opt/pbench-agent/profile
if [ "${ENABLE_PBENCH_AGENTS}" = true ]; then
source /opt/pbench-agent/profile
# clear tools/remotes to make sure there are no invalid remotes
set +eo pipefail
pbench-clear-tools
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ data:
workload_log "Configuring pbench for Namespaces per cluster test"
mkdir -p /var/lib/pbench-agent/tools-default/
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
source /opt/pbench-agent/profile
if [[ -v ENABLE_PBENCH_AGENTS ]]; then
source /opt/pbench-agent/profile
# clear tools/remotes to make sure there are no invalid remotes
set +eo pipefail
pbench-clear-tools
Expand Down
2 changes: 1 addition & 1 deletion workloads/templates/workload-network-script-cm.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ data:
log "Configuring pbench for Network benchmarks"
mkdir -p /var/lib/pbench-agent/tools-default/
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
source /opt/pbench-agent/profile
if [ "${ENABLE_PBENCH_AGENTS}" = true ]; then
source /opt/pbench-agent/profile
# clear tools/remotes to make sure there are no invalid remotes
set +eo pipefail
pbench-clear-tools
Expand Down
2 changes: 1 addition & 1 deletion workloads/templates/workload-nodevertical-script-cm.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ data:
workload_log "Configuring pbench for NodeVertical"
mkdir -p /var/lib/pbench-agent/tools-default/
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
source /opt/pbench-agent/profile
if [ "${ENABLE_PBENCH_AGENTS}" = true ]; then
source /opt/pbench-agent/profile
# clear tools/remotes to make sure there are no invalid remotes
set +eo pipefail
pbench-clear-tools
Expand Down
2 changes: 1 addition & 1 deletion workloads/templates/workload-podvertical-script-cm.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ data:
workload_log "Configuring pbench for PodVertical"
mkdir -p /var/lib/pbench-agent/tools-default/
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
source /opt/pbench-agent/profile
if [ "${ENABLE_PBENCH_AGENTS}" = true ]; then
source /opt/pbench-agent/profile
# clear tools/remotes to make sure there are no invalid remotes
set +eo pipefail
pbench-clear-tools
Expand Down
2 changes: 1 addition & 1 deletion workloads/templates/workload-pvcscale-script-cm.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ data:
echo "$(date -u) Configuring pbench for PVC scale test"
mkdir -p /var/lib/pbench-agent/tools-default/
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
source /opt/pbench-agent/profile
if [ "${ENABLE_PBENCH_AGENTS}" = true ]; then
source /opt/pbench-agent/profile
# clear tools/remotes to make sure there are no invalid remotes
set +eo pipefail
pbench-clear-tools
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ data:
workload_log "Configuring pbench for services per namespace test"
mkdir -p /var/lib/pbench-agent/tools-default/
echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
source /opt/pbench-agent/profile
if [[ -v ENABLE_PBENCH_AGENTS ]]; then
source /opt/pbench-agent/profile
# clear tools/remotes to make sure there are no invalid remotes
set +eo pipefail
pbench-clear-tools
Expand Down

0 comments on commit 98f3da9

Please sign in to comment.