{"id":18607346,"url":"https://github.com/addono/lean-openwhisk-memory-testing","last_synced_at":"2026-02-27T15:45:30.474Z","repository":{"id":82277165,"uuid":"229571411","full_name":"Addono/lean-openwhisk-memory-testing","owner":"Addono","description":null,"archived":false,"fork":false,"pushed_at":"2020-01-03T21:50:05.000Z","size":277,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-16T21:12:13.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Addono.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-22T13:23:58.000Z","updated_at":"2020-01-03T21:50:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"6baa559f-5a0d-4876-8260-47806c8696cd","html_url":"https://github.com/Addono/lean-openwhisk-memory-testing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Addono/lean-openwhisk-memory-testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Addono%2Flean-openwhisk-memory-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Addono%2Flean-openwhisk-memory-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Addono%2Flean-openwhisk-memory-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Addono%2Flean-openwhisk-memory-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Addono","download_url":"https://codeload.github.com/Addono/lean-openwhisk-memory-testing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Addono%2Flean-openwhisk-memory-testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29902812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T14:46:13.553Z","status":"ssl_error","status_checked_at":"2026-02-27T14:46:10.522Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T02:29:09.559Z","updated_at":"2026-02-27T15:45:30.450Z","avatar_url":"https://github.com/Addono.png","language":"HTML","readme":"# Lean OpenWhisk Memory Comparison Test Suite\n\n## Table of Contents\n+ [About](#about)\n+ [Getting Started](#getting_started)\n+ [Usage](#usage)\n\n## About\u003ca name = \"about\"\u003e\u003c/a\u003e\nThese scripts setup OpenWhisk in a local single node Kubernetes cluster using Minikube. Afterwards, a minimal test set is ran against this cluster and various statistics on resource usage are displayed.\n\n## Getting Started\u003ca name = \"getting_started\"\u003e\u003c/a\u003e\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\nThis guide is written and tested for MacOS, other OSes are probably able to follow along, although it is likely that some commands need to be adapted to their local alternatives.\n\n### Prerequisites\n\nFirst, checkout the repository. It is important that also the submodules are  checked out.\n```\ngit checkout https://github.com/Addono/lean-openwhisk-memory-testing.git --recurse-submodules\n```\n\nThen, we need to install Minikube.\n```bash\nbrew install minikube\n```\n\n### Installing\n\nA script is included to provision Minikube with OpenWhisk, here you will also need to specify whether or not a lean version of OpenWhisk should be deployed.\n\n*Warning: This will destory any previously initialized Minikube environment.*\n\n```bash\n❯ LEAN_OPENWHISK=true sh k8s-openwhisk-setup.sh\nDeploying with LEAN flag set to true\n✋  Stopping \"minikube\" in hyperkit ...\n🛑  \"minikube\" stopped.\n🔥  Deleting \"minikube\" in hyperkit ...\n💔  The \"minikube\" cluster has been deleted.\n🔥  Successfully deleted profile \"minikube\"\n😄  minikube v1.6.2 on Darwin 10.15.1\n✨  Selecting 'hyperkit' driver from user configuration (alternates: [virtualbox])\n🔥  Creating hyperkit VM (CPUs=4, Memory=4000MB, Disk=20000MB) ...\n🐳  Preparing Kubernetes v1.17.0 on Docker '19.03.5' ...\n🚜  Pulling images ...\n🚀  Launching Kubernetes ...\n⌛  Waiting for cluster to come online ...\n🏄  Done! kubectl is now configured to use \"minikube\"\nnode/minikube labeled\nnamespace/openwhisk created\nContext \"minikube\" modified.\nActive namespace is \"openwhisk\".\nNAME: owdev\nLAST DEPLOYED: Sun Dec 22 14:45:07 2019\nNAMESPACE: openwhisk\nSTATUS: deployed\nREVISION: 1\nNOTES:\nApache OpenWhisk\nCopyright 2016-2018 The Apache Software Foundation\n\nThis product includes software developed at\nThe Apache Software Foundation (http://www.apache.org/).\n\nTo configure your wsk cli to connect to it, set the apihost property\nusing the command below:\n\n  $ wsk property set --apihost 192.168.64.12:31001\n\nYour release is named owdev.\n\nTo learn more about the release, try:\n\n  $ helm status owdev [--tls]\n  $ helm get owdev [--tls]\n\nOnce the 'owdev-install-packages' Pod is in the Completed state, your OpenWhisk deployment is ready to be used.\n\nOnce the deployment is ready, you can verify it using:\n\n  $ helm test owdev [--tls] --cleanup\n```\n\nIf at any point the installation fails, then you can rerun it to reinitialize the complete environment.\n\nObserve the status of the pods and wait until the `owdev-install-packages` pod is ready. You can follow its progress live by running the following command:\n```bash\nkubectl get $(kubectl get pods -o name --namespace=openwhisk | grep install-packages) --namespace=openwhisk -w\n```\n\nThe installation is completed when the status of the pod changes to completed.\n\n## Usage\u003ca name = \"usage\"\u003e\u003c/a\u003e\n\nAfter the environment is setup as specified in [Getting Started](#getting_started), then we are ready to run the tests.\n```bash\nsh run-tests.sh\n```\n\nNow, there are three results.\n * **Gatling Latency Test**: At the end of the gatling report, the local directory is displayed where the Gatling test results can be retrieved. This result is mostly useful for determining whether or not the cluster was functional.\n *  **Kubernetes node status**: After the Gatling tests, the output will show the results of `kubectl describe node`, showing the status of the node, including the pods and their allocated resources.\n *  **Docker status**: Lastly, statistics on all running Docker containers is posted by running `docker stats --no-stream`. Most notably, this shows the amount of consumed memory for every container running on the system in all namespaces. Hence, you will also see Kubernetes related services, like its DNS service and main controller, in addition to the ones for OpenWhisk.\n\n\n\n### Docker stats\n\nThe dumped docker stats can be parsed with the included scripts to relevant data in CSV format.\n\n```bash\ncat docker_stats | python parse-docker-stats.py \u003e docker_stats.csv\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faddono%2Flean-openwhisk-memory-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faddono%2Flean-openwhisk-memory-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faddono%2Flean-openwhisk-memory-testing/lists"}