{"id":22018604,"url":"https://github.com/codeofnode/quick-cluster","last_synced_at":"2026-05-18T06:03:16.935Z","repository":{"id":93589591,"uuid":"496631084","full_name":"codeofnode/quick-cluster","owner":"codeofnode","description":"A quick k8s cluster made with different services talking to each other, with different protocols like http, https and http2","archived":false,"fork":false,"pushed_at":"2022-07-14T08:31:27.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-08T10:31:05.618Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/codeofnode.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":"2022-05-26T13:27:45.000Z","updated_at":"2022-05-26T13:31:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"db60137f-24ce-4d45-af5d-ed78498a0dc4","html_url":"https://github.com/codeofnode/quick-cluster","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeofnode/quick-cluster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeofnode%2Fquick-cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeofnode%2Fquick-cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeofnode%2Fquick-cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeofnode%2Fquick-cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeofnode","download_url":"https://codeload.github.com/codeofnode/quick-cluster/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeofnode%2Fquick-cluster/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33167430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"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":[],"created_at":"2024-11-30T05:12:44.002Z","updated_at":"2026-05-18T06:03:16.930Z","avatar_url":"https://github.com/codeofnode.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quick-cluster\nA quick k8s cluster made with different services talking to each other, with different protocols like http, https and http2\n\n# requirements\ndocker v20.10+\nkubectl v1.24.0+\nkind ~v0.14+\nhelm ~v3.9+\nyq ~v4.25+\n\n# cluster.yaml\nThis file defines how the cluster look like and what is expected traffic to be flown between services\n```\ncluster:\n  \u003cdeployment-name-1\u003e:\n    kind: server  # client or server or clientserver (acting as both serving request and making request)\n    type: http  # http or http2 or https\n    count: 2 # how many deployments/services to be created. all services will be named \u003cdeployment-name-1\u003e-{1,2,3...}\n    podCount: 2 # how many pods to be created with each deployment\n  \u003cdeployment-name-2\u003e:\n    ...\ntraffics:\n  - type: http  # http or https or http2, what kind of network traffic to be generated\n    randomSleepDigits: 0  # sleep before first request, and all subsequent requests, just to make real world kind of scenario, \n      a random number of specific digits, set 0 for no sleep\n    from:\n      - \u003cone of deployment names which has type == client or clientserver\u003e  # client or clientserver\n      - \u003cfrom bucket of selected deployment which service to hit\u003e  # index of client or clientserver, base 1\n    to:\n      - \u003cone of deployment names which has type == server or clientserver\u003e  # client or clientserver\n      - \u003cfrom bucket of selected deployment which service to hit\u003e  # index of server or clientserver, base 1\n```\n\n# getting started after having requirements fulfilled\n```\nmake setup\n#make dry-run # to see what config is being generated\nmake run\n```\n\n# cleanup the helm\n```\nmake clean\n```\n\n# cleanup everything\n```\nmake reset\n```\n\n# debugging\n```\n# helm install and exec into pod to do all sort of cool stuffs\n# make debug DEP_NAME=\u003cone_of_deployment_names_defined_in_cluster.yaml_as_cluster.\u003cdeployment-name-1\u003e\u003e\nmake debug DEP_NAME=client\n\n# don't install, just exec into already installed deployment\n# make exec DEP_NAME=\u003cone_of_deployment_names_defined_in_cluster.yaml_as_cluster.\u003cdeployment-name-1\u003e\u003e\nmake exec DEP_NAME=client\n\n# see logs of already installed deployment\n# make logs DEP_NAME=\u003cone_of_deployment_names_defined_in_cluster.yaml_as_cluster.\u003cdeployment-name-1\u003e\u003e\nmake logs DEP_NAME=client\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeofnode%2Fquick-cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeofnode%2Fquick-cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeofnode%2Fquick-cluster/lists"}