Skip to content

Commit

Permalink
Update nodepool to version 11.0.0
Browse files Browse the repository at this point in the history
Change-Id: I2ac5413409e9a8a1e0fccc93bedcfd1918ff7e8d
  • Loading branch information
fserucas authored and morucci committed Nov 25, 2024
1 parent fa168f9 commit 7f4ff5f
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 26 deletions.
24 changes: 12 additions & 12 deletions controllers/libs/base/static/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@
images:
- name: zuul-scheduler
container: quay.io/software-factory/zuul-scheduler
version: 11.1.0-3
source: https://softwarefactory-project.io/cgit/containers/tree/images-sf/master/containers/rendered/zuul-scheduler.container?id=d3b760e620710d0cef12e840b76bff5327eb75d5
version: 11.1.0-4
source: https://softwarefactory-project.io/cgit/containers/tree/images-sf/master/containers/rendered/zuul-scheduler.container?id=2e842ac6d9e577d21cd53e1c3e869409d2c04cdf
- name: zuul-executor
container: quay.io/software-factory/zuul-executor
version: 11.1.0-3
source: https://softwarefactory-project.io/cgit/containers/tree/images-sf/master/containers/rendered/zuul-executor.container?id=d3b760e620710d0cef12e840b76bff5327eb75d5
version: 11.1.0-4
source: https://softwarefactory-project.io/cgit/containers/tree/images-sf/master/containers/rendered/zuul-executor.container?id=2e842ac6d9e577d21cd53e1c3e869409d2c04cdf
- name: zuul-merger
container: quay.io/software-factory/zuul-merger
version: 11.1.0-3
source: https://softwarefactory-project.io/cgit/containers/tree/images-sf/master/containers/rendered/zuul-merger.container?id=d3b760e620710d0cef12e840b76bff5327eb75d5
version: 11.1.0-4
source: https://softwarefactory-project.io/cgit/containers/tree/images-sf/master/containers/rendered/zuul-merger.container?id=2e842ac6d9e577d21cd53e1c3e869409d2c04cdf
- name: zuul-web
container: quay.io/software-factory/zuul-web
version: 11.1.0-3
source: https://softwarefactory-project.io/cgit/containers/tree/images-sf/master/containers/rendered/zuul-web.container?id=d3b760e620710d0cef12e840b76bff5327eb75d5
version: 11.1.0-4
source: https://softwarefactory-project.io/cgit/containers/tree/images-sf/master/containers/rendered/zuul-web.container?id=2e842ac6d9e577d21cd53e1c3e869409d2c04cdf
- name: nodepool-launcher
container: quay.io/software-factory/nodepool-launcher
version: 10.0.0-6
source: https://softwarefactory-project.io/cgit/containers/tree/images-sf/master/containers/rendered/nodepool-launcher.container?id=d3b760e620710d0cef12e840b76bff5327eb75d5
version: 11.0.0-2
source: https://softwarefactory-project.io/cgit/containers/tree/images-sf/master/containers/rendered/nodepool-launcher.container?id=2e842ac6d9e577d21cd53e1c3e869409d2c04cdf
- name: nodepool-builder
container: quay.io/software-factory/nodepool-builder
version: 10.0.0-6
source: https://softwarefactory-project.io/cgit/containers/tree/images-sf/master/containers/rendered/nodepool-builder.container?id=d3b760e620710d0cef12e840b76bff5327eb75d5
version: 11.0.0-2
source: https://softwarefactory-project.io/cgit/containers/tree/images-sf/master/containers/rendered/nodepool-builder.container?id=2e842ac6d9e577d21cd53e1c3e869409d2c04cdf
- name: zookeeper
container: quay.io/software-factory/zookeeper
version: 3.8.4-2
Expand Down
75 changes: 61 additions & 14 deletions controllers/static/nodepool/statsd_mapping.yaml.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Auto-generated with zuuldoc2statsdmapper.py, please check with:
# Auto-generated with zuuldoc2statsdmapper.py, please check with:
# podman run --rm -v controllers/static/nodepool/statsd_mapping.yaml.tmpl:/tmp/statsd_mapping.yaml:z docker.io/prom/statsd-exporter --statsd.mapping-config=/tmp/statsd_mapping.yaml
#
mappings:
Expand Down Expand Up @@ -33,6 +33,47 @@ mappings:
- help: Description at https://zuul-ci.org/docs/nodepool/latest/operation.html#stat-nodepool.image_build_requests
match: nodepool.image_build_requests
name: nodepool_image_build_requests
- help: Description at https://zuul-ci.org/docs/nodepool/latest/operation.html#stat-nodepool.image.<diskimage
name>.image_build_requests
labels:
diskimage: "$1"
match: nodepool.image.*.image_build_requests
name: nodepool_image_image_build_requests
- help: Description at https://zuul-ci.org/docs/nodepool/latest/operation.html#stat-nodepool.builder.<hostname>.current_builds
labels:
hostname: "$1"
match: nodepool.builder.*.current_builds
name: nodepool_builder_current_builds
- help: Description at https://zuul-ci.org/docs/nodepool/latest/operation.html#stat-nodepool.builder.<hostname>.current_uploads
labels:
hostname: "$1"
match: nodepool.builder.*.current_uploads
name: nodepool_builder_current_uploads
- help: Description at https://zuul-ci.org/docs/nodepool/latest/operation.html#stat-nodepool.builder.<hostname>.build_workers
labels:
hostname: "$1"
match: nodepool.builder.*.build_workers
name: nodepool_builder_build_workers
- help: Description at https://zuul-ci.org/docs/nodepool/latest/operation.html#stat-nodepool.builder.<hostname>.upload_workers
labels:
hostname: "$1"
match: nodepool.builder.*.upload_workers
name: nodepool_builder_upload_workers
- help: Description at https://zuul-ci.org/docs/nodepool/latest/operation.html#stat-nodepool.builder.<hostname>.image.<image
name>.build.state
labels:
hostname: "$1"
image: "$2"
match: nodepool.builder.*.image.*.build.state
name: nodepool_builder_image_build_state
- help: Description at https://zuul-ci.org/docs/nodepool/latest/operation.html#stat-nodepool.builder.<hostname>.image.<image
name>.provider.<provider name>.upload.state
labels:
hostname: "$1"
image: "$2"
provider: "$3"
match: nodepool.builder.*.image.*.provider.*.upload.state
name: nodepool_builder_image_provider_upload_state
- help: Description at https://zuul-ci.org/docs/nodepool/latest/operation.html#stat-nodepool.nodes.<state>
labels:
state: "$1"
Expand Down Expand Up @@ -121,6 +162,12 @@ mappings:
provider: "$1"
match: nodepool.provider.*.leaked.volumes
name: nodepool_provider_leaked_volumes
- help: Description at https://zuul-ci.org/docs/nodepool/latest/operation.html#stat-nodepool.provider.<provider>.pool.<pool>.addressable_requests
labels:
pool: "$2"
provider: "$1"
match: nodepool.provider.*.pool.*.addressable_requests
name: nodepool_provider_pool_addressable_requests
- help: Description at https://zuul-ci.org/docs/nodepool/latest/operation.html#stat-nodepool.launch.<result>
labels: {}
match: nodepool.launch.ready
Expand Down Expand Up @@ -202,19 +249,19 @@ mappings:
name: nodepool_launcher_zk_image_cache_playback_queue

# Uncomment below after testing
# {{- range . }}
# - name: {{ .Name }}
# match: {{ .Match }}
# help: {{ .Help }}, see https://zuul-ci.org/docs/nodepool/latest/operation.html#openstack-api-metrics
# labels:
# {{- range .Labels }}
# {{ .LabelName }}: "{{ .LabelValue -}}"
# {{- end }}
# {{- end }}
# - action: drop
# match: .
# match_type: regex
# name: "dropped"
{{- range . }}
- name: {{ .Name }}
match: {{ .Match }}
help: {{ .Help }}, see https://zuul-ci.org/docs/nodepool/latest/operation.html#openstack-api-metrics
labels:
{{- range .Labels }}
{{ .LabelName }}: "{{ .LabelValue -}}"
{{- end }}
{{- end }}
- action: drop
match: .
match_type: regex
name: "dropped"

- action: drop
match: .
Expand Down
11 changes: 11 additions & 0 deletions doc/reference/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,30 @@ All notable changes to this project will be documented in this file.

## [in development]

## [v0.0.48] - 2024-11-22

### Added

- monitoring - Updated Zuul's statsd mappings to reflect metrics issued by the applications' current versions.
This adds the following metrics:

* zuul_tenant_pipeline_queue_branch
* zuul_executor_pct_used_inodes
* nodepool_image_image_build_requests
* nodepool_builder_current_builds
* nodepool_builder_current_uploads
* nodepool_builder_build_workers
* nodepool_builder_upload_workers
* nodepool_builder_image_build_state
* nodepool_builder_image_provider_upload_state
* nodepool_provider_pool_addressable_requests

- development - Document the process to update a container

### Changed

- security: bumped cert-manager go dependency to v1.15.4
- nodepool: update version to 11.0.0

### Deprecated
### Removed
Expand Down

0 comments on commit 7f4ff5f

Please sign in to comment.