Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TKGS Tanzu px-bench configuration recommendations - proposed additional page; suggest referring to these from main README.md where appropriate #14

Open
itmad-dev opened this issue Nov 23, 2023 · 0 comments
Assignees

Comments

@itmad-dev
Copy link
Collaborator

itmad-dev commented Nov 23, 2023

TKGS Tanzu px-bench configuration recommendations

Overview

These are recommendations for deploying and testing with px-bench in a TKGS Tanzu cluster that supplement px-bench main README.md

Cluster environment prep

Create namespaces and rolebindings [if needed] for chewram and px-bench

kubectl create ns chewram
kubectl create rolebinding rolebinding-default-privileged-sa-ns_default --namespace=chewram --clusterrole=psp:vmware-system-privileged --group=system:serviceaccounts

kubectl create ns px-bench
kubectl create rolebinding rolebinding-default-privileged-sa-ns_default --namespace=px-bench --clusterrole=psp:vmware-system-privileged --group=system:serviceaccounts

Modify px-bench environment settings for the deployed storageclasses and newly created namespaces

Create a working version of a copy of the examples/generic/px-bench-env.yml file and customize it:

  • metadata.namespace: px-bench add to: ServiceAccount, ConfigMap, Role, RoleBinding, Job
  • storageclass_list: [quoted space-separated list of storageclasses to be used by benchmarks; e.g., "sc-01 sc-02"]

Customize px-bench-main.yml file:

  • metadata.namespace: px-bench add to: ConfigMap, Role, RoleBinding, Job
  • set runAsNonRoot: false for both fio and run containers:
    fio container: ConfigMap "files", run.sh, Job "fio", spec.template.spec.containers.securityContext
    run container: Job "run", spec.template.spec.containers.securityContext

As described in px-bench main README.md, apply chewram,yml, px-bench-env.yml, px-bench-main.yml and continue with post benchmarking monitoring and retrieval operations.

@itmad-dev itmad-dev self-assigned this Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant