Skip to content

Commit

Permalink
[incubator/kube-downscaler] Bump to 20.5.0 and update default values …
Browse files Browse the repository at this point in the history
…to match (helm#23437)

* [incubator/kube-downscaler] bump to 20.5.0

Signed-off-by: Lucas Bickel <[email protected]>

* [incubator/kube-downscaler] configure downscaling for horizontalpodautoscalers & cronjobs

Signed-off-by: Lucas Bickel <[email protected]>

* [incubator/kube-downscaler] bump chart version

Signed-off-by: Lucas Bickel <[email protected]>

* [incubator/kube-downscaler] update README

Signed-off-by: Lucas Bickel <[email protected]>
  • Loading branch information
hairmare authored Aug 5, 2020
1 parent 06379f6 commit 202d689
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 26 deletions.
4 changes: 2 additions & 2 deletions incubator/kube-downscaler/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: kube-downscaler
apiVersion: v1
version: 0.4.2
appVersion: 19.10.1
version: 0.5.0
appVersion: 20.5.0
description: A Helm chart for kube-downscaler
home: https://github.com/hjacobs/kube-downscaler
sources:
Expand Down
46 changes: 23 additions & 23 deletions incubator/kube-downscaler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,29 +42,29 @@ The command removes all the Kubernetes components associated with the chart and

The following tables lists the configurable parameters of the kube-downscaler chart and their default values.

| Parameter | Description | Default |
| ----------------------- | ---------------------------------------------------------------------------------------------------- | --------------------------------------- |
| `replicaCount` | Number of replicas to run | `1` |
| `name` | How to name resources created by this chart | `kube-downscaler` |
| `debug.enable` | Do you want to start the downscaler in debug mode | `false` |
| `namespace.active_in` | Which namespace does the downscaler scans for deployment/statefulsets to downscale (`''` equals all) | `''` |
| `interval` | Interval between scans, in seconds | `60` |
| `image.repository` | Downscaler container image repository | `hjacobs/kube-downscaler` |
| `image.tag` | Downscaler container image tag | `19.10.1` |
| `image.pullPolicy` | Downscaler container image pull policy | `IfNotPresent` |
| `nodeSelector` | Node labels for downscaler pod assignment | `{}` |
| `tolerations` | Downscaler pod toleration for taints | `[]` |
| `affinity` | Downscaler pod affinity | `{}` |
| `podAnnotations` | Annotations to be added to downscaler pod | `{}` |
| `podLabels` | Labels to be added to downscaler pod | `{}` |
| `resources` | Downscaler pod resource requests & limits | `{}` |
| `securityContext` | SecurityContext to apply to the downscaler pod | `{}` |
| `rbac.create` | If true, create & use RBAC resources | `true` |
| `rbac.serviceAccountName` | ServiceAccount downscaler will use (ignored if rbac.create=true) | `default` |
| `downscaleResources` | Resources the downscaler is allowed to manage | `[deployments, statefulsets]` |
| `excludedDeployments` | Deployments to exclude from the downscaler | `[]` |
| `excludedNamespaces` | Namespaces to exclude from the downscaler | `[]` |
| `extraArgs` | Add extra args to docker command | `[]` |
| Parameter | Description | Default |
| ------------------------- | ---------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| `replicaCount` | Number of replicas to run | `1` |
| `name` | How to name resources created by this chart | `kube-downscaler` |
| `debug.enable` | Do you want to start the downscaler in debug mode | `false` |
| `namespace.active_in` | Which namespace does the downscaler scans for deployment/statefulsets to downscale (`''` equals all) | `''` |
| `interval` | Interval between scans, in seconds | `60` |
| `image.repository` | Downscaler container image repository | `hjacobs/kube-downscaler` |
| `image.tag` | Downscaler container image tag | `20.5.0` |
| `image.pullPolicy` | Downscaler container image pull policy | `IfNotPresent` |
| `nodeSelector` | Node labels for downscaler pod assignment | `{}` |
| `tolerations` | Downscaler pod toleration for taints | `[]` |
| `affinity` | Downscaler pod affinity | `{}` |
| `podAnnotations` | Annotations to be added to downscaler pod | `{}` |
| `podLabels` | Labels to be added to downscaler pod | `{}` |
| `resources` | Downscaler pod resource requests & limits | `{}` |
| `securityContext` | SecurityContext to apply to the downscaler pod | `{}` |
| `rbac.create` | If true, create & use RBAC resources | `true` |
| `rbac.serviceAccountName` | ServiceAccount downscaler will use (ignored if rbac.create=true) | `default` |
| `downscaleResources` | Resources the downscaler is allowed to manage | `[deployments, statefulsets, horizontalpodautoscalers, cronjobs]` |
| `excludedDeployments` | Deployments to exclude from the downscaler | `[]` |
| `excludedNamespaces` | Namespaces to exclude from the downscaler | `[]` |
| `extraArgs` | Add extra args to docker command | `[]` |

> **Tip**: You can use the default [values.yaml](values.yaml)
Expand Down
4 changes: 3 additions & 1 deletion incubator/kube-downscaler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ namespace:
downscaleResources:
- deployments
- statefulsets
- horizontalpodautoscalers
- cronjobs

# List of namespaces to be excluded from the downscaler
excludedNamespaces: []
Expand All @@ -34,7 +36,7 @@ rbac:

image:
repository: hjacobs/kube-downscaler
tag: 19.10.1
tag: 20.5.0
pullPolicy: IfNotPresent

resources:
Expand Down

0 comments on commit 202d689

Please sign in to comment.