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

Release Channels #427

Open
2 tasks
Starefossen opened this issue Jul 13, 2024 · 0 comments
Open
2 tasks

Release Channels #427

Starefossen opened this issue Jul 13, 2024 · 0 comments

Comments

@Starefossen
Copy link
Member

Release Channel will make it possible to automatically upgrade instances when new versions become available:

apiVersion: unleash.nais.io/v1
kind: ReleaseChannel
metadata:
  name: stable
spec:
  image: repo.example.com/my/image:tag
  matchLabels:
    unleash.nais.io/release-channel: stable
  strategy:
    maxSurge: 2
    canary:
      enabled: true
      matchLabels:
       unleash.nais.io/canary: true

Reconciler:

  • finds all matching Unleash instances
  • starts with the ones maching ReleaseChannel.spec.strategy.canary.matchLabels
  • runs in parallel according to ReleaseChannel.spec.strategy.maxSurge
  • updates Unleash.spec.customImage waiting for rollout to succeed (depends on Wait for rollout #260)
  • stop rollout if an Unleash instance fails and marks ReleaseChannel as failed

Questions:

  • how to prevent customImage from being "reset" by the user
    • default to ReleaseChannel when no Unleash.spec.customImage is set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant