{"id":20582464,"url":"https://github.com/tomowatt/blue-green-k8s","last_synced_at":"2026-04-21T01:01:36.889Z","repository":{"id":144385901,"uuid":"396856410","full_name":"tomowatt/blue-green-k8s","owner":"tomowatt","description":"Implementation of Blue/Green Deployment with Terraform on Kubernetes","archived":false,"fork":false,"pushed_at":"2021-08-30T14:52:07.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T12:28:09.479Z","etag":null,"topics":["devops","kubernetes","patterns","terraform"],"latest_commit_sha":null,"homepage":"","language":"HCL","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/tomowatt.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":"2021-08-16T15:32:49.000Z","updated_at":"2021-09-01T15:52:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"53cd2427-75f1-4f94-8e52-8f876b045ec7","html_url":"https://github.com/tomowatt/blue-green-k8s","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tomowatt/blue-green-k8s","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomowatt%2Fblue-green-k8s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomowatt%2Fblue-green-k8s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomowatt%2Fblue-green-k8s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomowatt%2Fblue-green-k8s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomowatt","download_url":"https://codeload.github.com/tomowatt/blue-green-k8s/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomowatt%2Fblue-green-k8s/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32072323,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["devops","kubernetes","patterns","terraform"],"created_at":"2024-11-16T06:34:57.299Z","updated_at":"2026-04-21T01:01:36.557Z","avatar_url":"https://github.com/tomowatt.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blue/Green Deployments on Kubernetes\n\n## About\n\nAn prototype implementation of using Terraform to provide Blue/Green Deployments on Kubernetes.\nUsing two Ingresses serving on different Domains, with one of them 'hidden' behind Basic Authentication.\n\nSwitching between the two Deployments would be done at the Ingress, from Blue Service to Green Service and vice versa. But this could be changed to different Paths or using HTTP Headers to route to the different 'versions'.\nSeparate ConfigMaps allows for updating the 'versions' individually.\n\nDifferent Namespaces could be used, but adds extra complexity when switching the Ingress Backend, creating two 'environments' rather than 'versions'.\n\nAbstracting with Variables allows for a more declarative approach and moves the configuration changes into a centralised file but not done for demonstration purposes.\n\n## Application Code\n\nA Go HTTP server that templates HTML.\n\n[blue-green](https://github.com/tomowatt/blue-green)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomowatt%2Fblue-green-k8s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomowatt%2Fblue-green-k8s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomowatt%2Fblue-green-k8s/lists"}