{"id":15130081,"url":"https://github.com/rutu-sh/cloudlab-kubernetes","last_synced_at":"2026-01-18T23:01:58.026Z","repository":{"id":247111308,"uuid":"822847150","full_name":"rutu-sh/cloudlab-kubernetes","owner":"rutu-sh","description":"Experiments for working in a 3-node setup in CloudLab","archived":false,"fork":false,"pushed_at":"2025-08-06T12:33:11.000Z","size":103,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-06T14:32:17.361Z","etag":null,"topics":["cloudlab","k8s","kubernetes","tools"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/rutu-sh.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":"2024-07-02T00:32:05.000Z","updated_at":"2025-08-06T12:33:14.000Z","dependencies_parsed_at":"2024-07-13T14:41:30.714Z","dependency_job_id":"6d2f2849-2dfa-4db1-8c71-ca16d62dd3dd","html_url":"https://github.com/rutu-sh/cloudlab-kubernetes","commit_stats":null,"previous_names":["rutu-sh/cloudlab-kubernetes"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rutu-sh/cloudlab-kubernetes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rutu-sh%2Fcloudlab-kubernetes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rutu-sh%2Fcloudlab-kubernetes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rutu-sh%2Fcloudlab-kubernetes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rutu-sh%2Fcloudlab-kubernetes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rutu-sh","download_url":"https://codeload.github.com/rutu-sh/cloudlab-kubernetes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rutu-sh%2Fcloudlab-kubernetes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28553055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T20:59:07.572Z","status":"ssl_error","status_checked_at":"2026-01-18T20:59:02.799Z","response_time":98,"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":["cloudlab","k8s","kubernetes","tools"],"created_at":"2024-09-26T02:29:17.872Z","updated_at":"2026-01-18T23:01:58.006Z","avatar_url":"https://github.com/rutu-sh.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cloudlab-kubernetes\n\n![](./docs/assets/cloudlab_k8s.jpg)\n\nThis repository contains the necessary code to setup a 3 Node Kubernetes Cluster on CloudLab. It uses the [rutu-sh/cloudlab-tools](https://github.com/rutu-sh/cloudlab-tools) repository to setup the cluster. \n\n\n## Usage\n\n1. Clone the repository\n```bash\ngit clone --recurse-submodules https://github.com/rutu-sh/cloudlab-kubernetes.git\n```\n\n2. [Optional] Update cloudlab-tools submodule\n```bash\nmake update-cl-tools\n```\n\n3. Instantiate an experiment on CloudLab using the profile [rutu-k8s-3n](https://www.cloudlab.us/p/GWCloudLab/rutu-k8s-3n)\n\n4. Setup CloudLab configurations. \n\n```bash\nmake cl-setup\n```\n\nThis will create a directory `.cloudlab` in the root of the repository. This directory contains the configuration files for the CloudLab experiment. Within this directory, there will be a `cloudlab_config.mk` file. Add your CloudLab username, ssh-key path, and the node IPs in the file. General convention is: `NODE_0` is the master node, and `NODE_1` and `NODE_2` are worker nodes. If you're using different names for the nodes (other than `NODE_0`, `NODE_1`, `NODE_2`), make sure to update the values for [Makefile](./Makefile) variables `MASTER_NODE`, `WORKER_NODE_1`, and `WORKER_NODE_2` accordingly.\n\n5. Setup the Kubernetes Cluster\n\n```bash\nmake\n```\n\nThis step will setup the Kubernetes cluster on the CloudLab nodes. It will copy the `~/.kube/config` file from the master node to `./.cloudlab/kubeconfig` locally. And it will ask you if you want to overwrite the `~/.kube/config` file on your local machine with the one from the master node, choose `y` if you want to use `kubectl` from your local machine to interact with the cluster.\n\n\u003c!-- TODO: Add teardown commands --\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frutu-sh%2Fcloudlab-kubernetes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frutu-sh%2Fcloudlab-kubernetes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frutu-sh%2Fcloudlab-kubernetes/lists"}