Detect missing images before outage
This documentation will help you configure Kuik in order to monitor image availability, enable supervision and alerting, and therefore avoid the typical ImagePullBackoff error.
Best suited for
Section titled “Best suited for”- You plan a maintenance which will reschedule a lot of pods on new workers
- You plan a Kubernetes upgrade
- You have a lot of legacy images deployed on your cluster
Benefits
Section titled “Benefits”You will have an exhaustive list of missing images.
You will be able to rebuild your registry in advance, and avoid ImagePullBackoff which is usually a synonym of a service outage
Implementation
Section titled “Implementation”Kuik custom resource to use
Section titled “Kuik custom resource to use”Configuration example
Section titled “Configuration example”apiVersion: kuik.enix.io/v1alpha1kind: ClusterImageSetAvailabilitymetadata: name: monitor-public-critical-imagesspec: unusedImageExpiry: 24h # continue monitoring previously used images (useful for Cronjobs) imageFilter: include: - ".*/bitnami/.+" # any (used) bitnami image, on any registry, will be detected if missing - "docker.io/library/.+" # monitor any (used) docker.io official image---apiVersion: kuik.enix.io/v1alpha1kind: ClusterImageSetAvailabilitymetadata: name: monitor-private-critical-imagesspec: unusedImageExpiry: 24h # continue monitoring previously used images (useful for Cronjobs) imageFilter: include: - "myregistry.mydomain/myproject/myimage:.+" # monitor your (used) critical project images