This directory is mainly intended for use in our benchmarking chart and pipelines. However, it can also be used to manually run benchmarks as so desired.
Here is a brief overview of what this directory contains
values.yaml
file for installing the benchmarking chartThese tests run weekly or on demand using capacity graciously donated to the CNCF by Oracle Cloud.
For running the benchmarking tests, you will need the following tools
kind
or the clusters provided with tools like Docker Desktop and Orbstackkubectl
helm
jq
wash
clusterctl
oci
CLI for interacting with Oracle Cloud InfrastructureYou will also need to properly configure your local OCI CLI configuration file (recommended) using the automation credentials (talk to an Org Maintainer for access) or you can set the following environment variables:
OCI_CLI_KEY_CONTENT
- The private key used for authentication with the OCI API.OCI_CLI_USER
- The OCID of the user to use with the OCI CLI.OCI_CLI_FINGERPRINT
- The fingerprint of the key used for authentication with the OCI API.For running the scripts, you need the following environment variables set:
OCI_USER_ID
- The OCID of the user to use with the OCI CLI.OCI_CREDENTIALS_FINGERPRINT
- The fingerprint of the key used for authentication with the OCI API.OCI_CREDENTIALS_KEY
- The private key used for authentication with the OCI API.Note that these are similar environment variables used by the OCI CLI just with different names as they are specific to the script itself. You could technically use separate sets of credentials, hence the different variables
For ease of use, these tests use Cluster API to provision a cluster in Oracle. Configuring a cluster with the plain oci
CLI is burdensome and error prone, especially when it comes to cleanup. To run the tests:
./setup-cluster-api.sh
script to setup Cluster API for the tests./run-benchmark.sh
script to run the tests. This script creates the cluster, then creates all of the resources for running wasmCloud, and then runs the benchmarks. On exit or error, it will automatically cleanup the cluster and resources so as to not waste credits此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。