{"id":25121672,"url":"https://github.com/backaged/tdset-operator","last_synced_at":"2026-03-06T23:32:18.967Z","repository":{"id":65421416,"uuid":"578713104","full_name":"BackAged/tdset-operator","owner":"BackAged","description":"Kubernetes operator","archived":false,"fork":false,"pushed_at":"2023-01-28T08:30:20.000Z","size":87,"stargazers_count":16,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-22T23:36:59.562Z","etag":null,"topics":["golang","kubernetes","kubernetes-operator","operator-framework","operator-sdk"],"latest_commit_sha":null,"homepage":"","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/BackAged.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":"2022-12-15T17:50:14.000Z","updated_at":"2024-12-24T12:31:11.000Z","dependencies_parsed_at":"2023-02-12T18:01:13.202Z","dependency_job_id":null,"html_url":"https://github.com/BackAged/tdset-operator","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/BackAged/tdset-operator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackAged%2Ftdset-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackAged%2Ftdset-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackAged%2Ftdset-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackAged%2Ftdset-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BackAged","download_url":"https://codeload.github.com/BackAged/tdset-operator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackAged%2Ftdset-operator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30203345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"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":["golang","kubernetes","kubernetes-operator","operator-framework","operator-sdk"],"created_at":"2025-02-08T06:32:44.884Z","updated_at":"2026-03-06T23:32:18.950Z","avatar_url":"https://github.com/BackAged.png","language":"Go","readme":"# TDSet\nA simple kubernetes operator to set replica count based on the hour of the day, built for demonstration purpose for this article -\nhttps://shahin-mahmud.medium.com/write-your-first-kubernetes-operator-in-go-177047337eae\n\n## Description\nBuilt with https://github.com/operator-framework/operator-sdk\n\nThis operator lets you dynamically scale up and down your deployment replicaset based on the hour of the day.\n\nExample: \u003cbr\u003e\n\tEveryday from 18:00 to 19:00  you want to have 5 replicas of the deployment, \u003cbr\u003e\n\tfrom 19:00 to 21:00 you want to have 3 replicas of the deployment \u003cbr\u003e\n        and rest of the time you want to have 2 replicas of the deployment.\n```\napiVersion: schedule.rs/v1\nkind: TDSet\nmetadata:\n  labels:\n    app.kubernetes.io/name: tdset-sample\n    app.kubernetes.io/instance: tdset-sample\n    app.kubernetes.io/part-of: rs\n    app.kubernetes.io/managed-by: kustomize\n    app.kubernetes.io/created-by: rs\n  name: tdset-sample\n  #namespace: tdtest\nspec:\n  container:\n    image: crccheck/hello-world\n    port: 8000\n  schedulingConfig:\n    - startTime: 18\n      endTime: 19\n      replica: 5\n    - startTime: 19\n      endTime: 21\n      replica: 3\n  defaultReplica: 2\n```\n\n## Helm installation\n```\nhelm repo add tdset https://backaged.github.io/tdset-operator/\nhelm install tdset tdset/tdset-controller -n tdset\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackaged%2Ftdset-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackaged%2Ftdset-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackaged%2Ftdset-operator/lists"}