Skip to content

Commit

Permalink
[worker] 1.95.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
amithins committed Oct 30, 2024
1 parent 54603ed commit c3e91a5
Show file tree
Hide file tree
Showing 26 changed files with 2,775 additions and 0 deletions.
44 changes: 44 additions & 0 deletions stable/worker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# JFrog Worker Chart Changelog
All changes to this chart will be documented in this file

## [101.95.1] - Sep 27, 2024
* Upgraded Observability version to 1.31.4

## [101.89.0] - Sep 02, 2024
* Added ability to provide `extraSystemYaml` configuration in values.yaml which will merge with the existing system yaml when `systemYamlOverride` is not given

## [101.86.0] - Aug 28, 2024
* Adjusted deployment for self-hosted release

## [101.42.0] - Dec 15, 2023
* Changed service monitor selector

## [101.29.0] - Sep 05, 2023
* Changed service monitor name and namespace

## [101.13.0] - May 03, 2023
* Adjusted KEDA autoscaling parameters

## [101.12.0] - April 27, 2023
* Removed busybox dependency
* Updated jfrog-common dep to `0.0.6`

## [101.5.0] - March 6, 2023
* Adjusted KEDA autoscaling parameters

## [101.4.0] - February 21, 2023
* Adjusted paths to new Worker service Docker base image
* Updated initContainers image to ubi9/ubi-minimal:9.1.0.1760

## [101.3.0] - February 15, 2023
* Aligned pod labels and annotations with other deployments

## [101.0.0] - January 17, 2023
* Renamed service and chart from Platform Extension to Worker

## [101.1.0] - January 06, 2023
* Refactored helm chart
* Added support for providing system.yaml configuration for containers in values.yaml

## [101.0.0] - January 03, 2023
* Initial release
6 changes: 6 additions & 0 deletions stable/worker/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: jfrog-common
repository: https://charts.jfrog.io/
version: 0.0.8
digest: sha256:b2b072c3bbd0f031b8ee3abfbbad770ed3fc8f38ad3a87238639a5b4a1f9341c
generated: "2024-07-25T00:08:46.576137295Z"
10 changes: 10 additions & 0 deletions stable/worker/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: v2
appVersion: 1.95.1
dependencies:
- name: jfrog-common
repository: https://charts.jfrog.io/
version: 0.0.8
description: A Helm chart for Kubernetes
name: worker
type: application
version: 101.95.1
85 changes: 85 additions & 0 deletions stable/worker/ci/custom-probes-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
## Artifactory URL. Mandatory
jfrogUrl: "http://artifactory-local:8082"

router:
customLivenessProbe:
exec:
command:
- sh
- -c
- curl -s -k --fail --max-time 120 http://localhost:8046/router/api/v1/system/liveness
initialDelaySeconds: 0
periodSeconds: 5
timeoutSeconds: 120
failureThreshold: 10
successThreshold: 1

customReadinessProbe:
exec:
command:
- sh
- -c
- curl -s -k --fail --max-time 120 http://localhost:8046/router/api/v1/system/readiness
initialDelaySeconds: 0
periodSeconds: 5
timeoutSeconds: 120
failureThreshold: 10
successThreshold: 1

customStartupProbe:
exec:
command:
- sh
- -c
- curl -s -k --fail --max-time 120 http://localhost:8046/router/api/v1/system/readiness
initialDelaySeconds: 0
periodSeconds: 5
timeoutSeconds: 120
failureThreshold: 10
successThreshold: 1

## Worker custom liveness probe configuration
customLivenessProbe:
httpGet:
path: /api/v1/system/liveness
port: 8098
initialDelaySeconds: 0
periodSeconds: 5
timeoutSeconds: 120
failureThreshold: 10
successThreshold: 1

## Worker custom readiness probe configuration
customReadinessProbe:
httpGet:
path: /api/v1/system/readiness
port: 8098
initialDelaySeconds: 0
periodSeconds: 5
timeoutSeconds: 120
failureThreshold: 10
successThreshold: 1

observability:
customLivenessProbe:
exec:
command:
- sh
- -c
- curl --fail --max-time 120 http://localhost:8036/api/v1/system/liveness
initialDelaySeconds: 0
failureThreshold: 5
timeoutSeconds: 120
periodSeconds: 10
successThreshold: 1

customStartupProbe:
exec:
command:
- sh
- -c
- curl --fail --max-time 120 http://localhost:8036/api/v1/system/readiness
initialDelaySeconds: 30
failureThreshold: 90
periodSeconds: 5
timeoutSeconds: 120
2 changes: 2 additions & 0 deletions stable/worker/ci/default-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Leave this file empty to ensure that CI runs builds against the default configuration in values.yaml.
jfrogUrl: "http://artifactory-local:8082"
110 changes: 110 additions & 0 deletions stable/worker/ci/global-section-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
requests:
memory: "1Gi"
cpu: "1"
limits:
memory: "3Gi"
cpu: "2"
autoscaling:
kind: "hpa"
global:
masterKey: BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
joinKey: EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
jfrogUrl: "http://artifactory-local:8082"
versions:
worker: 1.77.0
customVolumes: |
- name: custom-volume-global
emptyDir:
sizeLimit: 100Mi
customVolumeMounts: |
- name: custom-volume-global
mountPath: "/scriptsglobal"
customInitContainers: |
- name: "custom-init-global"
image: {{ template "initContainers.image" $ }}
imagePullPolicy: {{ $.Values.initContainers.image.pullPolicy | quote }}
command:
- 'sh'
- '-c'
- 'touch /opt/jfrog/worker/var/init-global'
volumeMounts:
- mountPath: "/opt/jfrog/worker/var"
name: data
customSidecarContainers: |
- name: "sidecar-list-global"
image: {{ template "initContainers.image" $ }}
imagePullPolicy: {{ $.Values.initContainers.image.pullPolicy | quote }}
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- NET_RAW
command: ["sh","-c","echo 'Sidecar is running in global' >> /scriptsglobal/sidecar.txt; cat /scriptsglobal/sidecar.txt; while true; do sleep 30; done"]
volumeMounts:
- mountPath: "/scriptsglobal"
name: custom-volume-global
resources:
requests:
memory: "32Mi"
cpu: "50m"
limits:
memory: "128Mi"
cpu: "100m"
common:
customVolumes: |
- name: custom-volume-local
emptyDir:
sizeLimit: 100Mi
customVolumeMounts: |
- name: custom-volume-local
mountPath: "/scriptslocal"
customInitContainers: |
- name: "custom-init-local"
image: {{ template "initContainers.image" $ }}
imagePullPolicy: {{ $.Values.initContainers.image.pullPolicy | quote }}
command:
- 'sh'
- '-c'
- 'touch /opt/jfrog/worker/var/init-local'
volumeMounts:
- mountPath: "/opt/jfrog/worker/var"
name: data
customSidecarContainers: |
- name: "sidecar-list-local"
image: {{ template "initContainers.image" $ }}
imagePullPolicy: {{ $.Values.initContainers.image.pullPolicy | quote }}
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- NET_RAW
command: ["sh","-c","echo 'Sidecar is running in local' >> /scriptslocal/sidecar.txt; cat /scriptslocal/sidecar.txt; while true; do sleep 30; done"]
volumeMounts:
- mountPath: "/scriptslocal"
name: custom-volume-local
resources:
requests:
memory: "32Mi"
cpu: "50m"
limits:
memory: "128Mi"
cpu: "100m"
router:
resources:
requests:
memory: "100Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "1"

observability:
resources:
requests:
memory: "100Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "1"
4 changes: 4 additions & 0 deletions stable/worker/ci/keda-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
autoscaling:
enabled: true
kind: "keda"
jfrogUrl: "http://artifactory-local:8082"
25 changes: 25 additions & 0 deletions stable/worker/ci/loggers-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
jfrogUrl: "http://artifactory-local:8082"
loggers:
- router-request.log
- router-service.log
- router-traefik.log
- worker-service.log
- worker-request.log

router:
resources:
requests:
memory: "100Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "1"

observability:
resources:
requests:
memory: "100Mi"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "1"
Loading

0 comments on commit c3e91a5

Please sign in to comment.