{"id":22148622,"url":"https://github.com/cdennig/flagger-linkerd-canary","last_synced_at":"2025-08-02T10:09:53.619Z","repository":{"id":132653095,"uuid":"232298286","full_name":"cdennig/flagger-linkerd-canary","owner":"cdennig","description":"Sample repo for demonstrating linkerd / canary deployments","archived":false,"fork":false,"pushed_at":"2020-07-08T12:10:55.000Z","size":8,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-26T07:36:47.529Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/cdennig.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":"2020-01-07T10:15:01.000Z","updated_at":"2024-07-02T14:37:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"9278f4c9-a0cb-493e-8806-b39be0263823","html_url":"https://github.com/cdennig/flagger-linkerd-canary","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cdennig/flagger-linkerd-canary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdennig%2Fflagger-linkerd-canary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdennig%2Fflagger-linkerd-canary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdennig%2Fflagger-linkerd-canary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdennig%2Fflagger-linkerd-canary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdennig","download_url":"https://codeload.github.com/cdennig/flagger-linkerd-canary/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdennig%2Fflagger-linkerd-canary/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268370117,"owners_count":24239764,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-12-01T23:28:43.796Z","updated_at":"2025-08-02T10:09:53.608Z","avatar_url":"https://github.com/cdennig.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Sample repository for: https://partlycloudy.blog/?p=2243**\n\nIf you want to deploy that sample application to K8s, do it in the following order:\n\n- install linkerd\n- add a namespace \"quotes\"\n- annotate the namespace for auto-injection of the linkerd sidecar\n- add nginx ingress controller (note down the *public IP* of the ingress controller)\n- kubectl apply -f base-backend-infra.yaml -n quotes\n- kubectl apply -f base-backend-app.yaml -n quotes\n- adjust *settings_template.js* using the *public IP* from the ingress controller\n- Add a secret to configure the endpoint for the Single Page Application (secret will be mounted, see *base-frontend-app.yaml*):\n  - kubectl create secret generic uisettings --from-file=settings.js=./settings_template.js -n quotes\n- kubectl apply -f base-frontend-app.yaml -n quotes\n- kubectl apply -f ingress.yaml -n quotes\n\nWhen everything is successfully deployed, you should see a SPA app creating Star Wars quotes.\n\nFlagger integration:\n\n- install Flagger\n- kubectl apply -f canary.yaml -n quotes (wait until \"canary\" is successfully initialized)\n\nTrigger canary deployment:\n\n- kubectl apply -f st-backend-app.yaml -n quotes\n\nProvoke rollback of a canary deployment (after 1 minute, errors are thrown by the app):\n\n- kubectl apply -f error-backend-app.yaml -n quotes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdennig%2Fflagger-linkerd-canary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdennig%2Fflagger-linkerd-canary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdennig%2Fflagger-linkerd-canary/lists"}