{"id":20678187,"url":"https://github.com/codecentric/cluster-overprovisioner","last_synced_at":"2025-03-10T19:24:20.555Z","repository":{"id":42005757,"uuid":"395259497","full_name":"codecentric/cluster-overprovisioner","owner":"codecentric","description":"Helm chart, that enables scheduled scaling of a target resource, intended to be add overprovisioning to an autoscaling k8s cluster.","archived":false,"fork":false,"pushed_at":"2024-11-13T12:53:05.000Z","size":72,"stargazers_count":37,"open_issues_count":1,"forks_count":15,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-17T15:16:24.301Z","etag":null,"topics":["k8s-autoscaling","overprovisioning"],"latest_commit_sha":null,"homepage":"","language":"Smarty","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codecentric.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-12T09:07:50.000Z","updated_at":"2024-12-26T19:09:42.000Z","dependencies_parsed_at":"2024-01-19T10:05:14.583Z","dependency_job_id":"120c98ad-eb70-46d6-82a2-c5b9db262ff0","html_url":"https://github.com/codecentric/cluster-overprovisioner","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecentric%2Fcluster-overprovisioner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecentric%2Fcluster-overprovisioner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecentric%2Fcluster-overprovisioner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecentric%2Fcluster-overprovisioner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecentric","download_url":"https://codeload.github.com/codecentric/cluster-overprovisioner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242910721,"owners_count":20205355,"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","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":["k8s-autoscaling","overprovisioning"],"created_at":"2024-11-16T21:19:21.493Z","updated_at":"2025-03-10T19:24:20.510Z","avatar_url":"https://github.com/codecentric.png","language":"Smarty","readme":"# Overprovisioning Helm Chart\n\nHelm Chart for overprovisioning an autoscaling Kubernetes Cluster, based on the [Cluster Proportional Autoscaler](https://github.com/kubernetes-sigs/cluster-proportional-autoscaler) and a deployment, that's acting as a \"placeholder\" for overprovisioning which is inspired by [Cluster Overprovisioning Helm Chart](https://github.com/deliveryhero/helm-charts/tree/master/stable/cluster-overprovisioner) from Delivery Hero.\n\nIt combines both components into a single solution, so that cluster-size aware and time-dependent overprovisioning can be achieved.\n\n\u003e Note: To read more about our use-case, using this Helm-Chart to speed up your CI/CD jobs, take a look at [our blog post](https://blog.codecentric.de/en/2021/09/ci-cd-jobs-speed-up-in-kubernetes/).\n\n## Prerequisites\nTo use this Chart in your cluster, you need:\n* an autoscaling k8s setup, for example using the [cluster-autoscaler](https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler)\n* Helm v3 installed\n\n### TL;DR\n```\nhelm install codecentric/cluster-overprovisioner\n```\n\n## Component I: Cluster Proportional Autoscaler\nThe Cluster Proportional Autoscaler is used to scale a target ressource based on the cluster size. It is able to consider number of schedulable nodes or number of available cores. It provides two different methods to calculate the desired replica count - `ladder` and `linear`. For further information and examples, please head over to the [official Github repository](https://github.com/kubernetes-sigs/cluster-proportional-autoscaler/tree/master/examples).\n\n## Component II: Overprovisioning Deployment\nTo achieve the desired overprovisioning, a second component - called overprovisioner - can be installed with this Helm chart. It is a deployment based on pods with a pause image and a very low priority class and a configurable amount of ressources to be reserved. These pods will be evicted, as soon as a new Pod with a higher priority assigned will be scheduled. Per default, the chart installs a default PriorityClass and an overprovisioning PriorityClass, that is assigned to the Pods of the overprovisioning deployment. \nFor more detailed information, on how the overprovisiong works and interacts with the Cluster Proportional Autoscaler, see [here](#how-does-overprovisioning-work). \n\n\u003e Note: The image of the pause pod can of cause be replaced with any other image desired. It is also possible, to use your resource and disable the default op-deployment.\n\n### How does overprovisioning work\nTo achieve overprovisioning, you need some sort of placeholder in your cluster, that requests a certain amount of ressources. \n\n## Additional Features / Improvements\nIn addition to the functionality introduced by the components above, this charts adds the possibility to use different overprovisioning configurations based on cron-schedules.\n\n### Scheduling\nThe time-based scheduling feature uses Cronjobs, to replace the active configuration of the `Cluster Proportional Autoscaler`. This allows reducing the amount of overprovisioning for times where load will be lower or startup times of pods are irrelevant, i.e. night times or weekends. \n\nFor examples on how to configure scheduling, see the [examples folder](examples/), the comments in the [values.yaml](values.yaml) or the [Chart-Readme](charts/cluster-overprovisioner/README.md).\n\n# Helm Chart configuration\nPlease refer to the [Chart-Readme](charts/cluster-overprovisioner/README.md) for information on how to configure and deploy this chart.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecentric%2Fcluster-overprovisioner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecentric%2Fcluster-overprovisioner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecentric%2Fcluster-overprovisioner/lists"}