Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registry Migration - review and update retagger synced images - Atlas #2913

Closed
2 tasks
Tracked by #2895
weatherhog opened this issue Oct 25, 2023 · 11 comments
Closed
2 tasks
Tracked by #2895

Comments

@weatherhog
Copy link

weatherhog commented Oct 25, 2023

For the first step of the registry migration story (see the RFC more detailed information) we need every team to review and update the retagger synced images that are used by the team. You can find the configures images here.

Therefore you need to do two things:

  • remove images that are not needed anymore at all
  • bump versions for images that are known to not use certain old versions any more

This will help us to keep the registry cleaner and in the end also cheaper.

@QuentinBisson
Copy link

QuentinBisson commented Nov 16, 2023

List of atlas apps to check:

  • kube-state-metrics/kube-state-metrics
  • metrics-server/metrics-server
  • prometheus-operator/prometheus-config-reloader:
  • prometheus-operator/prometheus-operator:
  • prometheus/alertmanager
  • prometheus/node-exporter:
  • prometheuscommunity/elasticsearch-exporter:
  • thanos/thanos
  • google-cloud-tools/kube-eagle
  • coreos/prometheus-config-reloader:
  • coreos/prometheus-operator
  • coreos/configmap-reload:
  • slok/sloth
  • janeczku/go-dnsmasq:
  • jgsqware/fluentd-loki-plugin:
  • jollinshead/journald-cloudwatch-logs:
  • k8spin/loki-multi-tenant-proxy:
  • prom/cloudwatch-exporter:
  • amazon/opendistro-for-elasticsearch:
  • amazon/opendistro-for-elasticsearch-kibana:
  • bats/bats: (used in grafana)
  • fluent/fluent-bit:
  • grafana/grafana:
  • grafana/loki:
  • grafana/loki-canary:
  • grafana/mimir:
  • grafana/mimir-continuous-test:
  • grafana/promtail:
  • grafana/tempo:
  • jettech/kube-webhook-certgen: # Used in prometheus-operator-app
  • jimmidyson/configmap-reload:
  • justwatch/elasticsearch_exporter:
  • kiwigrid/k8s-sidecar:
  • memcached:
  • omnition/opencensus-collector:
  • opensearchproject/opensearch:
  • opensearchproject/opensearch-dashboards:
  • prom/memcached-exporter:
  • prom/prometheus:
  • prom/pushgateway:
  • elasticsearch/elasticsearch-oss:
  • kibana/kibana-oss:
  • bitnami/memcached
  • bitnami/memcached-exporter
  • bobrik/curator
  • caicloud/event-exporter
  • grafana/agent
  • fluent-bit-aws-plugins
  • fluent-bit-systemd247-aws-plugins
  • jaeger-all-in-one
  • macropower-analytics-panel-server
  • elasticsearch-untergeek-curator

@QuentinBisson
Copy link

Well that's a bit too much :D

@QuentinBisson
Copy link

I'd advocate that we use a recording rules to push all images in use in grafana

@QuentinBisson
Copy link

@giantswarm/team-atlas wdyt about:

label_replace(
  label_replace(
      count by (pod, image) (kube_pod_init_container_info{image=~".*giantswarm.*"})
    or
        count by (pod, image) (kube_pod_container_info{image=~".*giantswarm.*"})
      * on (pod) group_left (label_application_giantswarm_io_team)
        kube_pod_labels,
    "team",
    "$2",
    "label_application_giantswarm_io_team",
    "(team-)?(.*)"
  ),
  "label_application_giantswarm_io_team",
  "",
  "label_application_giantswarm_io_team",
  ".*"
)

@kubasobon
Copy link

👋 Hello friends, what's the status on this?

@QuantumEnigmaa QuantumEnigmaa self-assigned this Nov 22, 2023
@QuantumEnigmaa
Copy link

I'm beginning to work on it right now using Quentin's dashboard

@QuentinBisson
Copy link

I did a lot already :D

@QuentinBisson
Copy link

@QuantumEnigmaa maybe you can double check giantswarm/retagger#941 ?

@QuentinBisson
Copy link

I should only be left with fluent-bits but your eyes would definitely help :)

@QuentinBisson QuentinBisson self-assigned this Nov 22, 2023
@QuentinBisson
Copy link

Done :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants