{"id":17006080,"url":"https://github.com/duologic/vcluster-demo","last_synced_at":"2026-05-19T14:05:42.826Z","repository":{"id":69804436,"uuid":"369033257","full_name":"Duologic/vcluster-demo","owner":"Duologic","description":"Testing out vcluster with Tanka.","archived":false,"fork":false,"pushed_at":"2021-05-20T08:13:46.000Z","size":439,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T16:03:42.491Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"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/Duologic.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":"2021-05-20T00:15:45.000Z","updated_at":"2022-09-13T11:48:26.000Z","dependencies_parsed_at":"2023-07-22T17:46:48.267Z","dependency_job_id":null,"html_url":"https://github.com/Duologic/vcluster-demo","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"35acdf9a4e96880f916d821d3d14bf2d3fefc10b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Duologic/vcluster-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fvcluster-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fvcluster-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fvcluster-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fvcluster-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Duologic","download_url":"https://codeload.github.com/Duologic/vcluster-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duologic%2Fvcluster-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33219400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"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-10-14T05:04:57.430Z","updated_at":"2026-05-19T14:05:42.788Z","avatar_url":"https://github.com/Duologic.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vcluster demo with Tanka\n\nTesting out [vcluster](https://github.com/loft-sh/vcluster) with [Tanka](https://tanka.dev/).\n\n## Files\n\nThere are a few helper scripts in `/bin` that describe the process a bit:\n\n```\nbin/\n├── apply.sh    # Applies the demo to the virtual cluster.\n├── deploy.sh   # Applies the vcluster to the host cluster.\n├── destroy.sh  # Destroys the vcluster (deletes namespace).\n├── forward.sh  # Sets up the port-forward, used by deploy.sh and k9s.sh.\n├── init.sh     # Bootstrapping Tanka and various components.\n├── k9s.sh      # Starts k9s on the virtual cluster.\n└── kubectl.sh  # Use kubectl on the virtual cluster.\n```\n\nThe demo configuration can be modified to your needs through the root level `config.json` file. Both the Tanka\nenvironment and scripts read from this file.\n\n```\n{\n  \"name\": \"vcluster\",                   # Name of the virtual cluster.\n  \"namespace\": \"my-vcluster\",           # Namespace on the host cluster, created by bin/apply.sh.\n  \"apiserver\": \"https://127.0.0.1\",     # IP of the host cluster, should match an entry in your local kubeconfig.\n  \"service_cidr\": \"10.96.0.0/12\"        # Important: make sure this matches with the Service CIDR of the host cluster.\n}\n```\n\n## Demo\n\nTo run the demo, configure the `config.json` file and ensure your current kubernetes context matches the `apiserver`.\nThen run:\n\n```console\nsh bin/deploy.sh\n```\n\nThis should install the vcluster on the host cluster into the namespace.\n\nThe cluster I'm testing on has custom PriorityClasses, the demo environment here also creates these:\n\n```console\nsh bin/apply.sh\n```\n\nNow inspect your newly created cluster with `k9s` or `kubectl`:\n\n```console\nsh bin/k9s.sh\nsh bin/kubectl.sh get pods -A\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduologic%2Fvcluster-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduologic%2Fvcluster-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduologic%2Fvcluster-demo/lists"}