{"id":37223061,"url":"https://github.com/kaidotdev/vegeta-controller","last_synced_at":"2026-01-15T01:34:02.266Z","repository":{"id":49770824,"uuid":"216686448","full_name":"kaidotdev/vegeta-controller","owner":"kaidotdev","description":"VegetaController is Kubernetes Custom Controller that allows distributed execution of tsenart/vegeta.","archived":false,"fork":false,"pushed_at":"2023-04-06T23:15:36.000Z","size":150,"stargazers_count":24,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-23T13:08:43.278Z","etag":null,"topics":["kubernetes","kubernetes-controller"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kaidotdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-10-21T23:57:40.000Z","updated_at":"2024-03-12T07:21:03.000Z","dependencies_parsed_at":"2024-06-19T05:30:09.684Z","dependency_job_id":null,"html_url":"https://github.com/kaidotdev/vegeta-controller","commit_stats":{"total_commits":56,"total_committers":3,"mean_commits":"18.666666666666668","dds":0.1428571428571429,"last_synced_commit":"63ab3e328d119acbdd4ff5a1a04139f1a3d08184"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/kaidotdev/vegeta-controller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaidotdev%2Fvegeta-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaidotdev%2Fvegeta-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaidotdev%2Fvegeta-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaidotdev%2Fvegeta-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaidotdev","download_url":"https://codeload.github.com/kaidotdev/vegeta-controller/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaidotdev%2Fvegeta-controller/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28441031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"ssl_error","status_checked_at":"2026-01-15T00:55:20.945Z","response_time":107,"last_error":"SSL_read: 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":["kubernetes","kubernetes-controller"],"created_at":"2026-01-15T01:34:01.703Z","updated_at":"2026-01-15T01:34:02.254Z","avatar_url":"https://github.com/kaidotdev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VegetaController\n\nVegetaController is Kubernetes Custom Controller that allows distributed execution of [tsenart/vegeta](https://github.com/tsenart/vegeta).\n\n## Installation\n\n```shell\n$ kubectl apply -k manifests\n```\n\n## Usage\n\nApplying the following manifest enables distributed execution of vegeta.\n\n```shell\n$ cat \u003c\u003cEOS | kubectl apply -f -\napiVersion: vegeta.kaidotdev.github.io/v1\nkind: Attack\nmetadata:\n  name: sample\nspec:\n  parallelism: 2\n  scenario: |-\n    GET http://httpbin/delay/1\n    GET http://httpbin/delay/3\n  output: text\nEOS\n$ kubectl get attack sample\nNAME            AGE\nsample   7s\n$ kubectl get job sample-attack\nNAME                COMPLETIONS   DURATION   AGE\nsample-attack       0/1 of 2      10s        10s\n$ kubectl get pod | grep sample-attack\nsample-attack-7487s          1/1     Running   0          13s\nsample-attack-z879t          1/1     Running   0          13s\n\n$ kubectl logs -l app=sample-attack\nRequests      [total, rate, throughput]  500, 50.10, 38.51\nDuration      [total, attack, wait]      12.984487191s, 9.979884149s, 3.004603042s\nLatencies     [mean, 50, 95, 99, max]    2.003985261s, 2.081863241s, 3.005786028s, 3.02320498s, 3.053911426s\nBytes In      [total, mean]              121500, 243.00\nBytes Out     [total, mean]              0, 0.00\nSuccess       [ratio]                    100.00%\nStatus Codes  [code:count]               200:500\nError Set:\nRequests      [total, rate, throughput]  500, 50.10, 38.51\nDuration      [total, attack, wait]      12.982401798s, 9.979968589s, 3.002433209s\nLatencies     [mean, 50, 95, 99, max]    2.002969191s, 2.068438165s, 3.004653479s, 3.01070406s, 3.032810373s\nBytes In      [total, mean]              121500, 243.00\nBytes Out     [total, mean]              0, 0.00\nSuccess       [ratio]                    100.00%\nStatus Codes  [code:count]               200:500\nError Set:\n```\n\nYou can also specify vegeta options via manifest,\n\n```yaml\napiVersion: vegeta.kaidotdev.github.io/v1\nkind: Attack\nmetadata:\n  name: sample\nspec:\n  parallelism: 2\n  scenario: |-\n    {\"method\":\"GET\",\"url\":\"http://httpbin/delay/1\"}\n    {\"method\":\"GET\",\"url\":\"http://httpbin/delay/3\"}\n  output: text\n  option:\n    duration: 10s\n    rate: 10\n    connections: 10000\n    timeout: 10s\n    workers: 10\n    format: json\n```\n\nif you are using istio etc., you can control their sidecar through pod annotation.\n\n```yaml\napiVersion: vegeta.kaidotdev.github.io/v1\nkind: Attack\nmetadata:\n  name: sample\nspec:\n  parallelism: 2\n  scenario: |-\n    GET http://httpbin/delay/1\n    GET http://httpbin/delay/3\n  output: text\n  template:\n    metadata:\n      labels:\n        version: v1\n      annotations:\n        sidecar.istio.io/inject: \"true\"\n```\n\nSee CRD for other available fields and detailed descriptions: [vegeta.kaidotdev.github.io_attacks.yaml](https://github.com/kaidotdev/vegeta-controller/blob/master/manifests/crd/vegeta.kaidotdev.github.io_attacks.yaml)\n\n## How to develop\n\n### `skaffold dev`\n\n```sh\n$ make dev\n```\n\n### Test\n\n```sh\n$ make test\n```\n\n### Lint\n\n```sh\n$ make lint\n```\n\n### Generate CRD from `*_types.go` by controller-gen\n\n```sh\n$ make gen\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaidotdev%2Fvegeta-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaidotdev%2Fvegeta-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaidotdev%2Fvegeta-controller/lists"}