{"id":30047545,"url":"https://github.com/tmax-cloud/scheduled-scaler-operator","last_synced_at":"2025-08-07T09:56:15.519Z","repository":{"id":43696427,"uuid":"342166295","full_name":"tmax-cloud/scheduled-scaler-operator","owner":"tmax-cloud","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-23T08:50:30.000Z","size":167,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-19T10:10:09.924Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/tmax-cloud.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":"2021-02-25T07:58:33.000Z","updated_at":"2024-12-17T06:49:24.000Z","dependencies_parsed_at":"2022-09-10T06:30:35.301Z","dependency_job_id":null,"html_url":"https://github.com/tmax-cloud/scheduled-scaler-operator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tmax-cloud/scheduled-scaler-operator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Fscheduled-scaler-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Fscheduled-scaler-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Fscheduled-scaler-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Fscheduled-scaler-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmax-cloud","download_url":"https://codeload.github.com/tmax-cloud/scheduled-scaler-operator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmax-cloud%2Fscheduled-scaler-operator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269236777,"owners_count":24383241,"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-07T02:00:09.698Z","response_time":73,"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":"2025-08-07T09:56:09.953Z","updated_at":"2025-08-07T09:56:15.509Z","avatar_url":"https://github.com/tmax-cloud.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\nThe Scheduled-Scaler operator is a controller for CRD ScheduledScaler. With ScheduledScaler resource, you can add Pod scaling schedules in k8s.\n\n## Contents\n- [Overview](#overview)\n- [Contents](#contents)\n- [Install](#install)\n- [Uninstall](#uninstall)\n- [Usage](#usage)\n- [Appendix](#appendix)\n\n## Install\n1. On your local machine, clone this repository\n   ```bash\n   git clone https://github.com/tmax-cloud/scheduled-scaler-operator.git\n   cd scheduled-scaler-operator\n   ```\n\n2. Use command of Makefile: deploy\n   ```bash\n   make deploy\n   ```\n\n## Uninstall\n1. Use command of Makefile: undeploy\n   ```bash\n   make undeploy\n   ```\n\n2. If the command is stuck and not finished, stop the command (ctrl + c)\n   \n3. Check if namespace scheduled-scaler-operator-system is terminating\n   ```bash\n   kubectl get namespace\n   ```\n\n4. If the namespace is still terminating, execute `remove_namespace.sh`\n   ```bash\n   bash remove_namespace.sh\n   ```\n## Usage\n1. Sample YAML:\n   ```yaml\n   apiVersion: tmax.io/v1\n    kind: ScheduledScaler\n    metadata:\n    name: scheduledscaler-sample\n    spec:\n      target:\n        name: test-deployment\n      schedule:\n        - type: fixed\n          runat: '10 * * * * *'\n          replicas: 3\n        - type: range\n          runat: '10 * * * * *'\n          minReplicas: 1\n          maxReplicas: 3\n   ```\n   ScheduledScaler is namespaced scope resource. You should define scaling target `Deployment` by specifying spec.target. You should specify spec.schedule to define scaling specification.\n   There are two types of scailing; `fixed`, `range`. schedule.runat is when the scaling starts. You need to write it in cron format.\n\n2. Fixed scaling\n   `fixed` type of scaling just adjust spec.replicas of the target `Deployment`. In this reason, you need to specify fixed number of `replicas`\n\n3. Range scaling\n   `range` type of scaling creates HPA for the target `Deployment`. Thus, you need to specify the range of replicas from `minReplicas` to `maxReplicas`\n\n4. spec.schedule is the list of scaling schedule. These schedules run independently\n\n## Appendix\n- [Architecture](./docs/architecture.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmax-cloud%2Fscheduled-scaler-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmax-cloud%2Fscheduled-scaler-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmax-cloud%2Fscheduled-scaler-operator/lists"}