{"id":16907073,"url":"https://github.com/olix0r/l2-k3d-multi","last_synced_at":"2025-03-22T10:31:17.333Z","repository":{"id":45196441,"uuid":"265401640","full_name":"olix0r/l2-k3d-multi","owner":"olix0r","description":"Example Linkerd multicluster with k3d","archived":false,"fork":false,"pushed_at":"2022-09-02T14:57:27.000Z","size":38,"stargazers_count":40,"open_issues_count":2,"forks_count":15,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-18T10:21:38.476Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/olix0r.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}},"created_at":"2020-05-20T00:20:12.000Z","updated_at":"2024-12-19T12:25:50.000Z","dependencies_parsed_at":"2022-09-05T16:01:41.796Z","dependency_job_id":null,"html_url":"https://github.com/olix0r/l2-k3d-multi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olix0r%2Fl2-k3d-multi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olix0r%2Fl2-k3d-multi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olix0r%2Fl2-k3d-multi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olix0r%2Fl2-k3d-multi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olix0r","download_url":"https://codeload.github.com/olix0r/l2-k3d-multi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244943734,"owners_count":20536290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-13T18:45:52.767Z","updated_at":"2025-03-22T10:31:17.008Z","avatar_url":"https://github.com/olix0r.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linkerd2 Multi-Cluster Demo\n\nThis demo uses Linkerd's new multicluster functionality to demonstrate\nfailover \u0026 traffic-splitting in a multi-cluster mesh of Kubernetes clusters.\n\n- [`k3d:v5`](https://github.com/rancher/k3d/releases/tag/v5.4.4)\n- [`smallstep/cli`](https://github.com/smallstep/cli/releases)\n- [`linkerd:stable-2.12.0`+](https://github.com/linkerd/linkerd2/releases)\n- A [devcontainer](https://code.visualstudio.com/docs/remote/containers) is\n  included with the needed tools.\n\n[`./create.sh`](./create.sh) initializes a set of clusters in `k3d`: _dev_,\n_east_, and _west_.\n\n[`./install.sh`](./install.sh) creates a temporary CA and installs Linkerd\ninto these clusters.\n\nWe can then deploy the [app](https://github.com/BuoyantIO/emojivoto/) into\nthe _east_ and _west_ clusters:\n\n```sh\n:; kubectl --context=k3d-east apply -k east\n:; kubectl --context=k3d-west apply -k west\n```\n\nThese clusters operate independently by default.\n\n[`./link.sh`](./link.sh) configures linkerd-multicluster gateways \u0026 service\nmirrors on each cluster. _east_ and _west_ are configured to discover\nservices from each other. _dev_ is only configured run the _web_ and\n_vote-bot_ components, and it discovers other services from both _east_ and\n_west_.\n\nAt this point, we can start our _dev_ setup which uses the voting and emoji\nservices in the _east_ and _west_ clusters:\n\n```sh\n:; kubectl --context=k3d-dev apply -k dev\n```\n\nWe can also route traffic between the _east_ and _west_ clusters.\nSee the commented sections in\n[`./east/kustomization.yml`](./east/kustomization.yml) and\n[`./west/kustomization.yml`](./west/kustomization.yml). These configurations\ncan be modified to reroute traffic between clusters!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folix0r%2Fl2-k3d-multi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folix0r%2Fl2-k3d-multi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folix0r%2Fl2-k3d-multi/lists"}