Skip to content

Commit

Permalink
chore: upgrade to 1.29.9 (#24)
Browse files Browse the repository at this point in the history
* chore: upgrade to 1.29.9
* chore: bump deps
* feat(ci): improve pipeline
  • Loading branch information
camaeel authored Oct 3, 2024
1 parent 6664dd5 commit 65c02df
Show file tree
Hide file tree
Showing 12 changed files with 208 additions and 211 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
tags:
- "v*.*-*"
- "v*.*.*-*"

name: Release
jobs:
Expand All @@ -21,11 +21,14 @@ jobs:
path: bin
- name: debug list files
run: find .

- name: Release
uses: softprops/action-gh-release@v1
with:
files: bin/thundering-herd-scheduler*
append_body: true
draft: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') }}
prerelease: ${{ contains(github.ref, 'rc') }}
body: |
Build also available as docker image:
`ghcr.io/${{ github.repository }}:${{ github.ref_name }}`
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/norwoodj/helm-docs
rev: v1.2.0
rev: v1.14.2
hooks:
- id: helm-docs
args:
Expand All @@ -12,7 +12,7 @@ repos:
# A base filename makes it relative to each chart directory found
- --template-files=README.md.gotmpl
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.6.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
Expand All @@ -21,11 +21,11 @@ repos:
- id: detect-private-key
- id: detect-aws-credentials
- repo: https://github.com/gruntwork-io/pre-commit
rev: v0.1.17
rev: v0.1.23
hooks:
- id: helmlint
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.0
rev: v0.5.1
hooks:
- id: go-fmt
name: Run go fmt against the code
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
all: build test

version := v1.28.0-1
version := v1.29.0-0

build:
go build -o bin/thundering-herd-scheduler ./cmd/thundering-herd-scheduler/main.go
Expand Down
2 changes: 1 addition & 1 deletion charts/thundering-herd-scheduler/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ version: 1.4.5
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "v1.28.0-0"
appVersion: "v1.29.0-0"
56 changes: 28 additions & 28 deletions charts/thundering-herd-scheduler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,35 @@ A Helm chart for Thundering herd scheduler

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | Afinity for pods |
| fullnameOverride | string | `""` | Full name override |
| image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/dbschenker/thundering-herd-scheduler","tag":"v1.21-0"}` | Thundering-herd-scheduler container image settings |
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
| image.repository | string | `"ghcr.io/dbschenker/thundering-herd-scheduler"` | Registry address |
| image.tag | string | `"v1.21-0"` | Image tag. Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | `[]` | Map with names of image pull secrets |
| nameOverride | string | `""` | Name override |
| nodeSelector | object | `{}` | Node selector |
| podAnnotations | object | `{"prometheus.io/port":"10251","prometheus.io/scheme":"http","prometheus.io/scrape":"true"}` | Pod annotations |
| podDisruptionBudget.enabled | bool | `true` | Controls if PodDisruptionBadget object is created |
| podDisruptionBudget.minAvailable | int | `1` | Pod disruption budget - minAvailable. Enforces that at least one pod is available. |
| podSecurityContext | object | `{}` | Pod securoty context |
| replicaCount | int | `3` | Thundering-herd-scheduler replica count. By default it is set to 3. |
| resources | object | `{"limits":{"cpu":"250m","memory":"768Mi"},"requests":{"cpu":"100m","memory":"300Mi"}}` | Resource limit and request settings |
| scheduler.burst | int | `60` | burst rate limiter setting |
| scheduler.logLevel | int | `1` | Thundering-herd-scheduler logging level |
| scheduler.pluginConfig.maxRetries | int | `5` | How many times a pod can run through the process before it anyway get's scheduled |
| scheduler.pluginConfig.parallelStartingPodsPerNode | int | `3` | How many pods should get scheduled in parallel before pods are moved into waiting state |
| scheduler.pluginConfig.timeoutSeconds | int | `5` | Based on how many times the pod was attempted to be scheduled using the scheduler, a wait is implemented with the following rule timeoutSeconds^2 * retries |
| scheduler.qps | int | `30` | qps rate limiter setting |
| Key | Type | Default | Description |
|-----|------|---------------------------------------------------------------------------------------------------------------------------|-------------|
| affinity | object | `{}` | Afinity for pods |
| fullnameOverride | string | `""` | Full name override |
| image | object | `{"pullPolicy":"IfNotPresent","repository":"ghcr.io/dbschenker/thundering-herd-scheduler","tag":"v1.29-0"}` | Thundering-herd-scheduler container image settings |
| image.pullPolicy | string | `"IfNotPresent"` | Image pull policy |
| image.repository | string | `"ghcr.io/dbschenker/thundering-herd-scheduler"` | Registry address |
| image.tag | string | `"v1.29-0"` | Image tag. Overrides the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | `[]` | Map with names of image pull secrets |
| nameOverride | string | `""` | Name override |
| nodeSelector | object | `{}` | Node selector |
| podAnnotations | object | `{"prometheus.io/port":"10251","prometheus.io/scheme":"http","prometheus.io/scrape":"true"}` | Pod annotations |
| podDisruptionBudget.enabled | bool | `true` | Controls if PodDisruptionBadget object is created |
| podDisruptionBudget.minAvailable | int | `1` | Pod disruption budget - minAvailable. Enforces that at least one pod is available. |
| podSecurityContext | object | `{}` | Pod securoty context |
| replicaCount | int | `3` | Thundering-herd-scheduler replica count. By default it is set to 3. |
| resources | object | `{"limits":{"cpu":"250m","memory":"768Mi"},"requests":{"cpu":"100m","memory":"300Mi"}}` | Resource limit and request settings |
| scheduler.burst | int | `60` | burst rate limiter setting |
| scheduler.logLevel | int | `1` | Thundering-herd-scheduler logging level |
| scheduler.pluginConfig.maxRetries | int | `5` | How many times a pod can run through the process before it anyway get's scheduled |
| scheduler.pluginConfig.parallelStartingPodsPerNode | int | `3` | How many pods should get scheduled in parallel before pods are moved into waiting state |
| scheduler.pluginConfig.timeoutSeconds | int | `5` | Based on how many times the pod was attempted to be scheduled using the scheduler, a wait is implemented with the following rule timeoutSeconds^2 * retries |
| scheduler.qps | int | `30` | qps rate limiter setting |
| securityContext | object | `{"capabilities":{"drop":["ALL"]},"privileged":false,"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":1000}` | Security context settings |
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| tolerations | list | `[]` | Tolerations |
| topologySpreadConstraints | object | `{}` | Pod's topology spread constraint settings. |
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| tolerations | list | `[]` | Tolerations |
| topologySpreadConstraints | object | `{}` | Pod's topology spread constraint settings. |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.8.1](https://github.com/norwoodj/helm-docs/releases/v1.8.1)
2 changes: 1 addition & 1 deletion charts/thundering-herd-scheduler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ image:
# -- Image pull policy
pullPolicy: IfNotPresent
# -- Image tag. Overrides the image tag whose default is the chart appVersion.
#tag: "v1.28.0-1"
#tag: "v1.29.0-1"

# -- Map with names of image pull secrets
imagePullSecrets: []
Expand Down
2 changes: 1 addition & 1 deletion download-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
VERSION=${1#"v"}
if [ -z "$VERSION" ]; then
echo "Please specify the Kubernetes version: e.g."
echo "./download-deps.sh v1.21.0"
echo "./download-deps.sh v1.29.0"
exit 1
fi

Expand Down
Loading

0 comments on commit 65c02df

Please sign in to comment.