Skip to content
Snippets Groups Projects

[MONIT-4028] Automate Image Upload and Switch to Internal CERN Registry

Merged Guillermo Facundo Colunga requested to merge gfacundo/monit4028 into master
All threads resolved!

Description

This Merge Request includes the implementation of two significant updates related to the automation and management of image uploads and their usage within the internal repository. These changes are essential for improving the consistency of image handling across our deployment infrastructure.

Summary of Changes:

  1. Automated Upload of External Images to Internal Repository ( 650ae1bb)

Added two files to automate the process of uploading external images into our internal repository. The main components are:

  • requirements.txt: This file enables the definition of external images that need to be imported.
  • hack/* folder: A script located here handles the automation of the upload process, streamlining the image management workflow.
  1. Switching Images to Use the Internal CERN Registry ( c4c1d199):
    • docker.io/prom/node-exporter:v1.8.1 -> registry.cern.ch/monit/cern-it-monitoring-node-exporter:v1.8.1.
    • docker.io/prom/prometheus:v2.50.0 -> registry.cern.ch/monit/cern-it-monitoring-prometheus:v2.50.0.
    • quay.io/prometheus-operator/prometheus-operator:v0.72.0 -> registry.cern.ch/monit/cern-it-monitoring-prometheus-operator:v0.72.0
    • quay.io/prometheus-operator/prometheus-config-reloader:v0.72.0 -> registry.cern.ch/monit/cern-it-monitoring-prometheus-config-reloader:v0.72.0
    • docker.io/fluent/fluent-bit:3.0.6 -> registry.cern.ch/monit/cern-it-monitoring-fluent-bit:3.0.6
    • registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.11.0 -> registry.cern.ch/monit/cern-it-monitoring-kube-state-metrics:v2.11.0

Based on feedback from the Kubernetes team, it became necessary to point all the images from the Helm chart to the internal CERN registry. All images within the chart have been updated to reference the internal repository.

Motivation

Only images from the registry.cern.ch and hosted on GitLab are available in the TN. Therefore, clusters from the TN do not have access to download images from the external sources that were previously on the chart.

Potential Impact

Clusters with no access to registry.cern.ch will not be able to download this images. To be tested in the OCI (Oracle Cloud Infra) clusters.

Merge Request Checklist

  • Documentation has been updated, if applicable.
  • Changes have been tested locally using helm install . ....

Additional Notes

N/A.

Edited by Guillermo Facundo Colunga

Merge request reports

Approval is optional

Merged by Guillermo Facundo ColungaGuillermo Facundo Colunga 6 months ago (Oct 10, 2024 9:20am UTC)

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • mentioned in commit 832febc1

  • added 1 commit

    • 832febc1 - hack: rename and move to folder file with external images

    Compare with previous version

  • resolved all threads

  • Borja Garrido Bear approved this merge request

    approved this merge request

  • Please register or sign in to reply
    Loading