Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 17 additions & 10 deletions charts/cf-runtime/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: A Helm chart for Codefresh Runner
name: cf-runtime
version: 8.4.0
version: 9.0.0
keywords:
- codefresh
- runner
Expand All @@ -14,21 +14,28 @@ maintainers:
url: https://codefresh-io.github.io/
annotations:
# 💡 Do not forget to update this annotation:
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/containsSecurityUpdates: "true"
# Supported kinds: `added`, `changed`, `deprecated`, `removed`, `fixed`, `security`:
artifacthub.io/changes: |
- kind: changed
description: "Update \"cf-docker-builder\" to 1.5.2."
description: "Update \"cf-deploy-kubernetes\" to 17.0.0."
- kind: security
description: "Fix various CVE in \"cf-deploy-kubernetes\"."
- kind: added
description: "Support \"progress: tty\" for build steps if BuildKit is enabled."
- kind: fixed
description: "Fix \"docker-container\" driver escaping desired control group on cgroup v2 in \"build\" step."
- kind: changed
description: "Update \"engine\" to 1.180.9."
description: "Support k8s 1.32, 1.33, 1.34 in \"deploy\" step."
- kind: deprecated
description: "Remove Node.js package managers such as \"npm\" from the \"engine\" image."
description: "Remove support for k8s older than 1.32 in \"deploy\" step."
links:
- name: Codefresh Docs - Deploy
url: https://codefresh.io/docs/docs/pipelines/steps/deploy/
- kind: changed
description: "Update \"cf-container-logger\" to 2.0.0."
- kind: changed
description: "Do not use \"npm\" as the entrypoint for \"engine\"."
description: "Update \"engine\" to 2.0.0."
- kind: deprecated
description: "Remove deprecated Prometheus metrics controlled by env variables \"METRICS_PROMETHEUS_ENABLED\" and \"METRICS_PROMETHEUS_ENABLE_LEGACY_METRICS\""
- kind: deprecated
description: "Remove \"codefresh.classic.build.deprecated_images.pulled\" OTel metric."
dependencies:
- name: cf-common
repository: oci://quay.io/codefresh/charts
Expand Down
23 changes: 13 additions & 10 deletions charts/cf-runtime/README.md

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions charts/cf-runtime/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Helm chart for deploying [Codefresh Runner](https://codefresh.io/docs/docs/insta
- [To 7.9.x](#to-7-9-x)
- [To 8.x](#to-8-x)
- [To 8.2.x](#to-8-2-x)
- [To 9.x](#to-9-x)
- [Architecture](#architecture)
- [Configuration](#configuration)
- [Runtime spec synchronization](#runtime-spec-synchronization)
Expand Down Expand Up @@ -336,6 +337,14 @@ runtime:
METRICS_PROMETHEUS_ENABLED: "true" # Enable old Prometheus metrics
```

### To 9.x

* **Removed**: `deploy` step ([docs](https://codefresh.io/docs/docs/pipelines/steps/deploy/)) drops support for Kubernetes versions older than 1.32. Supported versions are: 1.34, 1.33, 1.32.

* **Removed**: Legacy Prometheus metrics emitted by the `engine` component and controlled by `METRICS_PROMETHEUS_ENABLED` and `METRICS_PROMETHEUS_ENABLE_LEGACY_METRICS` environment variables are dropped. Use modern OpenTelemetry-based metrics instead. See [To 8.2.x](#to-8-2-x) for more details.

* **Removed**: OTel metric `codefresh.classic.build.deprecated_images.pulled` emitted by the `engine` component is dropped.

## Architecture

[Codefresh Runner architecture](https://codefresh.io/docs/docs/installation/codefresh-runner/#codefresh-runner-architecture)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ tests:
FORCE_COMPOSE_SERIAL_PULL: 'false'
LOGGER_LEVEL: 'debug'
LOG_OUTGOING_HTTP_REQUESTS: 'false'
METRICS_PROMETHEUS_COLLECT_PROCESS_METRICS: 'false'
METRICS_PROMETHEUS_ENABLED: 'false'
METRICS_PROMETHEUS_ENABLE_LEGACY_METRICS: 'false'
METRICS_PROMETHEUS_HOST: '0.0.0.0'
METRICS_PROMETHEUS_PORT: '9100'
METRICS_PROMETHEUS_SCRAPE_TIMEOUT: '15000'
METRICS_SCRAPE_TIMEOUT_MS: '0'
OTEL_EXPORTER_OTLP_COMPRESSION: 'gzip'
OTEL_EXPORTER_OTLP_ENDPOINT: 'http://localhost:4317'
Expand Down
12 changes: 0 additions & 12 deletions charts/cf-runtime/tests/runtime/runtime_onprem_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ tests:
INT: '123'
LOGGER_LEVEL: 'debug'
LOG_OUTGOING_HTTP_REQUESTS: 'false'
METRICS_PROMETHEUS_COLLECT_PROCESS_METRICS: 'false'
METRICS_PROMETHEUS_ENABLED: 'false'
METRICS_PROMETHEUS_ENABLE_LEGACY_METRICS: 'false'
METRICS_PROMETHEUS_HOST: '0.0.0.0'
METRICS_PROMETHEUS_PORT: '9100'
METRICS_PROMETHEUS_SCRAPE_TIMEOUT: '15000'
METRICS_SCRAPE_TIMEOUT_MS: '0'
OTEL_EXPORTER_OTLP_COMPRESSION: 'gzip'
OTEL_EXPORTER_OTLP_ENDPOINT: 'http://localhost:4317'
Expand Down Expand Up @@ -277,12 +271,6 @@ tests:
INT: '123'
LOGGER_LEVEL: 'debug'
LOG_OUTGOING_HTTP_REQUESTS: 'false'
METRICS_PROMETHEUS_COLLECT_PROCESS_METRICS: 'false'
METRICS_PROMETHEUS_ENABLED: 'false'
METRICS_PROMETHEUS_ENABLE_LEGACY_METRICS: 'false'
METRICS_PROMETHEUS_HOST: '0.0.0.0'
METRICS_PROMETHEUS_PORT: '9100'
METRICS_PROMETHEUS_SCRAPE_TIMEOUT: '15000'
METRICS_SCRAPE_TIMEOUT_MS: '0'
OTEL_EXPORTER_OTLP_COMPRESSION: 'gzip'
OTEL_EXPORTER_OTLP_ENDPOINT: 'http://localhost:4317'
Expand Down
6 changes: 0 additions & 6 deletions charts/cf-runtime/tests/runtime/runtime_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ tests:
INT_AS_STRING: '123'
LOGGER_LEVEL: 'debug'
LOG_OUTGOING_HTTP_REQUESTS: 'false'
METRICS_PROMETHEUS_COLLECT_PROCESS_METRICS: 'false'
METRICS_PROMETHEUS_ENABLED: 'false'
METRICS_PROMETHEUS_ENABLE_LEGACY_METRICS: 'false'
METRICS_PROMETHEUS_HOST: '0.0.0.0'
METRICS_PROMETHEUS_PORT: '9100'
METRICS_PROMETHEUS_SCRAPE_TIMEOUT: '15000'
METRICS_SCRAPE_TIMEOUT_MS: '0'
OTEL_EXPORTER_OTLP_COMPRESSION: 'gzip'
OTEL_EXPORTER_OTLP_ENDPOINT: 'http://localhost:4317'
Expand Down
28 changes: 6 additions & 22 deletions charts/cf-runtime/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -505,9 +505,9 @@ runtime:
image:
registry: quay.io
repository: codefresh/engine
tag: 1.180.9
tag: 2.0.0
pullPolicy: IfNotPresent
digest: sha256:946d9b718d92cfb10dabdd3c7f66b3be1056882e023d58da09a66f36af18e781
digest: sha256:ca1203291a7d36d4e34e8b4823549217fdaa68f8ded107869b396e38009ea962
# -- Set container command.
command:
- 'node'
Expand Down Expand Up @@ -535,8 +535,8 @@ runtime:
container-logger:
registry: quay.io
repository: codefresh/cf-container-logger
tag: 1.13.3
digest: sha256:e2ccf1aab9dc118d91a449843842f5d19b4cd25731b5409de412b4ade7a2a524
tag: 2.0.0
digest: sha256:6459db2d486f89457ce347ecc1dc037d39c43fb0c1fb67ea6e9d6743e104642f
docker-builder:
registry: quay.io
repository: codefresh/cf-docker-builder
Expand Down Expand Up @@ -570,8 +570,8 @@ runtime:
kube-deploy:
registry: quay.io
repository: codefresh/cf-deploy-kubernetes
tag: 16.2.9
digest: sha256:35649b14eb43717d3752d08597ada77d3737b2508f1b8e1f52f67b7a0e5ff263
tag: 17.0.0
digest: sha256:ee9f56c8c5fc73dfd45511fb003dc53f35e0c46a78acdbb62ad386f33913b765
pipeline-debugger:
registry: quay.io
repository: codefresh/cf-debugger
Expand Down Expand Up @@ -683,22 +683,6 @@ runtime:
# -- Emit the stable HTTP and networking OTel conventions if CF_TELEMETRY_OTEL_ALLOW_HTTP_INSTRUMENTATION=true.
OTEL_SEMCONV_STABILITY_OPT_IN: 'http'
#
# -- Deprecated metrics configuration
# -- DEPRECATED: Use OpenTelemetry metrics instead. This option enables Prometheus metrics and will be removed in a future release.
# If enabled, make sure to disable newest metrics by specifying CF_TELEMETRY_PROMETHEUS_ENABLE=false.
METRICS_PROMETHEUS_ENABLED: false
# -- DEPRECATED: Use OpenTelemetry metrics instead. This option enables legacy metrics and will be removed in a future release.
METRICS_PROMETHEUS_ENABLE_LEGACY_METRICS: false
# -- DEPRECATED: Use OpenTelemetry metrics instead. This option enables process metrics and will be removed in a future release.
METRICS_PROMETHEUS_COLLECT_PROCESS_METRICS: false
# -- DEPRECATED: Use OpenTelemetry metrics instead. This options sets the host for Prometheus metrics server and will be removed in a future release.
METRICS_PROMETHEUS_HOST: '0.0.0.0'
# -- DEPRECATED: Use OpenTelemetry metrics instead. This options sets the port for Prometheus metrics server and will be removed in a future release.
METRICS_PROMETHEUS_PORT: 9100
# -- DEPRECATED: Use OpenTelemetry metrics instead. This options sets exit timeout for Prometheus metrics server and will be removed in a future release.
# If set, the engine will wait <timeout>ms for the scrape before exiting.
METRICS_PROMETHEUS_SCRAPE_TIMEOUT: '15000'
#
# -- Engine operation configuration
# -- Interval to check the exec status in the container-logger
CONTAINER_LOGGER_EXEC_CHECK_INTERVAL_MS: 1000
Expand Down