LogoLogo
Github
  • πŸš€Getting Started
    • Platform Installation
  • Platform
    • πŸ‘–Pocketbase
    • πŸ“‚Projects
    • πŸ“ƒBlueprints
    • 🟒Deployments
    • πŸ—ΊοΈMap
    • ⏱️Rollouts
    • πŸ’ΎImage
    • ↔️Scale
    • πŸ”€Network
    • πŸ’ΏVolumes
    • πŸ”Envs & Secrets
  • Operator manual
    • πŸ—οΈArchitecture
    • πŸ”§Setup Guide
    • 🧬CRD
  • additional resources
    • πŸ‘©β€πŸ’»Examples
      • Prebuilt Applications
      • Builds
Powered by GitBook

Partners

  • Natron Tech
  • Bern University of applied science
  • GitBook

All rights reserved.

On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Platform

Image

PreviousRolloutsNextScale

Last updated 1 year ago

Was this helpful?

Under images you can manage the image of the deployment. You can configure the registry (e.g. ghcr.io, docker.io), your username and password if it's private and also the repository/image. Last but not least you can define the image tag. If you need to debug something you can copy the current rollout ID to search the components inside the Kubernetes cluster.

Auto update

If you don't want to manually update your image tag each time you push a new version of your image to the registry you can activate the Auto Update feature. There you can specify an interval (1m, 5m, 10m), a pattern and policy how the image registry should get checked and the image should get updated.

  • Interval: the cron ticker defined in the Pocketbase environment variable will check the modulo of the minutes and checks the registry in this interval. So it's crucial to let the cron tick interval at 1m as it is default.

  • Pattern: a regex pattern which parses the image tag. The default is the default semver notation x.x.x

  • Policy: the policy (semver or timestamp) defines the sorting. For timestamp it will only work if the image tag is a unix timestamp.

Examples

Pattern
Policy
Note

^\d+.\d+.\d+$

semver

Default x.x.x semver pattern. e.g. 1.2.0 will get updated to 1.2.1

dev-\d+.\d+.\d+$

semver

Default x.x.x semver pattern with a dev- prefix.

.*

timestamp

Any pattern will get updated with a unix timestamp.

preview-*

timestamp

A pattern with the preview- prefix which will get udpated with a unix timestamp.

The behaviour and consept is similar to the one of fluxcd:

πŸ’Ύ
https://fluxcd.io/flux/guides/image-update/
configuration
auto update