Skip to content

Commit

Permalink
apply prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
JTaeuber committed Nov 13, 2024
1 parent 90b750c commit e49266a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 17 deletions.
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/issue-template.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
---
name: Issue Template
about: The general template for issues
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

<!--
Use this issue template for pointing out a general issue.
-->

## Issue

<!--
Briefly describe the issue.
-->


### Problem to solve

<!-- Include the following detail as necessary:
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Each time specification can be in one of two formats:
`<YYYY>-<MM>-<DD>T<HH>:<MM>:<SS>[+-]<TZHH>:<TZMM>`.
If you are using the first format (recurring specifications) it is important
to note that the downscaler can only interpret configurations within
to note that the downscaler can only interpret configurations within
a single day and cannot process intervals that stretch across two different days.
As a result, overlapping time intervals are not supported.
Expand Down Expand Up @@ -399,14 +399,14 @@ annotation `downscaler/downtime` on each deployment
`--upscale-target-only`
: When this optional argument is used, only the namespaces currently
targeted by the downscaler will be upscaled during wake-up times.
For instance, if your downscaler initially manages namespaces
A, B, and C, but is later reconfigured to target only namespaces
B and C, namespace A will remain downscaled if it was downscaled
at the time of reconfiguration. If the parameter is not used,
all previously downscaled namespaces may be upscaled, even if
they are no longer targeted by the downscaler.
: When this optional argument is used, only the namespaces currently
targeted by the downscaler will be upscaled during wake-up times.
For instance, if your downscaler initially manages namespaces
A, B, and C, but is later reconfigured to target only namespaces
B and C, namespace A will remain downscaled if it was downscaled
at the time of reconfiguration. If the parameter is not used,
all previously downscaled namespaces may be upscaled, even if
they are no longer targeted by the downscaler.
`--exclude-namespaces`
Expand Down
8 changes: 5 additions & 3 deletions chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ This repository offers a Helm chart for the `py-kube-downscaler`.
## Important values

| Key | Type | Example | Description |
|--------------------|--------|-------------------------------------------------------------------------------------------------------|-------------------------------------------------|
| ------------------ | ------ | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
| image.tag | string | `"23.2.0@sha256:4129e7e7551eb451ee2b43680ef818f3057304ad50888f79ec9722afab6c29ff"` | Tag of the image to use |
| arguments | list | `[--interval=60,--include-resources=deployments,statefulsets,horizontalpodautoscalers,scaledobjects]` | Arguments to pass to the kube-downscaler binary |
| excludedNamespaces | list | `["namespace-a", "namespace-b"]` | Namespaces to exclude from downscaling |
| extraConfig | string | `"DOWNSCALE_PERIOD: 'Mon-Sun 19:00-20:00 Europe/Berlin'"` | Additional configuration in ConfigMap format |
| extraConfig | string | `"DOWNSCALE_PERIOD: 'Mon-Sun 19:00-20:00 Europe/Berlin'"` | Additional configuration in ConfigMap format |

# Deploy py-kube-downscaler using Helm chart

Expand Down Expand Up @@ -57,7 +57,8 @@ Note: In case RBAC is enabled, a new service account will be created for py-kube
otherwise the 'default' one will be used.
3. Deploy py-kube-downscaler:
You can add our chart repository and deploy it by running:
You can add our chart repository and deploy it by running:
```bash
helm repo add caas-team https://caas-team.github.io/helm-charts/

Expand All @@ -67,6 +68,7 @@ helm install py-kube-downscaler caas-team/py-kube-downscaler -n py-kube-downscal
**OR**

You can alternatively clone this repository, change the current directory to the py-kube-downscaler repository and run:

```bash
helm install py-kube-downscaler ./chart -n py-kube-downscaler
```
Expand Down

0 comments on commit e49266a

Please sign in to comment.