{"id":25089685,"url":"https://github.com/sonikq/architecture-sprint-3","last_synced_at":"2026-05-01T03:33:49.553Z","repository":{"id":274528251,"uuid":"919070193","full_name":"sonikq/architecture-sprint-3","owner":"sonikq","description":"Splitting a monolith into microservices for a smart home system. Creation of ER diagrams. Creating and documenting an API.","archived":false,"fork":false,"pushed_at":"2025-02-05T15:23:37.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-10T08:04:59.347Z","etag":null,"topics":["api-gateway","c4-model","charts","kafka","kubernetes","microservices","system-design"],"latest_commit_sha":null,"homepage":"","language":"Java","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/sonikq.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":"2025-01-19T16:26:40.000Z","updated_at":"2025-02-05T15:24:06.000Z","dependencies_parsed_at":"2025-01-27T21:31:34.113Z","dependency_job_id":"c61f15e5-9a95-4436-baf5-a94a89ec3a30","html_url":"https://github.com/sonikq/architecture-sprint-3","commit_stats":null,"previous_names":["sonikq/architecture-sprint-3"],"tags_count":0,"template":false,"template_full_name":"Yandex-Practicum/architecture-warmhouse","purl":"pkg:github/sonikq/architecture-sprint-3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonikq%2Farchitecture-sprint-3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonikq%2Farchitecture-sprint-3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonikq%2Farchitecture-sprint-3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonikq%2Farchitecture-sprint-3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sonikq","download_url":"https://codeload.github.com/sonikq/architecture-sprint-3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sonikq%2Farchitecture-sprint-3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32484352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["api-gateway","c4-model","charts","kafka","kubernetes","microservices","system-design"],"created_at":"2025-02-07T11:18:28.315Z","updated_at":"2026-05-01T03:33:49.534Z","avatar_url":"https://github.com/sonikq.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Базовая настройка\n\n## Выполненные задания спринта находятся в файле: 'Project_template_part_1'.\n\n## Запуск minikube\n\n[Инструкция по установке](https://minikube.sigs.k8s.io/docs/start/)\n\n```bash\nminikube start\n```\n\n## Добавление токена авторизации GitHub\n\n[Получение токена](https://github.com/settings/tokens/new)\n\n```bash\nkubectl create secret docker-registry ghcr --docker-server=https://ghcr.io --docker-username=\u003cgithub_username\u003e --docker-password=\u003cgithub_token\u003e -n default\n```\n\n## Установка API GW kusk\n\n[Install Kusk CLI](https://docs.kusk.io/getting-started/install-kusk-cli)\n\n```bash\nkusk cluster install\n```\n\n## Смена адреса образа в helm chart\n\nПосле того как вы сделали форк репозитория и у вас в репозитории отработал GitHub Action. Вам нужно получить адрес образа \u003chttps://github.com/\u003e\u003cgithub_username\u003e/architecture-sprint-3/pkgs/container/architecture-sprint-3\n\nОн выглядит таким образом\n```ghcr.io/\u003cgithub_username\u003e/architecture-sprint-3:latest```\n\nЗамените адрес образа в файле `helm/smart-home-monolith/values.yaml` на полученный файл:\n\n```yaml\nimage:\n  repository: ghcr.io/\u003cgithub_username\u003e/architecture-sprint-3\n  tag: latest\n```\n\n## Настройка terraform\n\n[Установите Terraform](https://yandex.cloud/ru/docs/tutorials/infrastructure-management/terraform-quickstart#install-terraform)\n\nСоздайте файл ~/.terraformrc\n\n```hcl\nprovider_installation {\n  network_mirror {\n    url = \"https://terraform-mirror.yandexcloud.net/\"\n    include = [\"registry.terraform.io/*/*\"]\n  }\n  direct {\n    exclude = [\"registry.terraform.io/*/*\"]\n  }\n}\n```\n\n## Применяем terraform конфигурацию\n\n```bash\ncd terraform\nterraform init\nterraform apply\n```\n\n## Настройка API GW\n\n```bash\nkusk deploy -i api.yaml\n```\n\n## Проверяем работоспособность\n\n```bash\nkubectl port-forward svc/kusk-gateway-envoy-fleet -n kusk-system 8080:80\ncurl localhost:8080/hello\n```\n\n## Delete minikube\n\n```bash\nminikube delete\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonikq%2Farchitecture-sprint-3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsonikq%2Farchitecture-sprint-3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsonikq%2Farchitecture-sprint-3/lists"}