Skip to content

After Flagger rollback, I am not able to redeploy the same version of container image again #862

@praseedasathaye

Description

@praseedasathaye

Here are the steps that followed:

  1. There is version 1 of my application running which uses container image version 1.
  2. Then I do canary deployment using Flagger by setting the image to version 2 and the canary analysis starts.
  3. I introduce errors in my application and the canary deployment rollbacks to version 1 which is good so far.
  4. Now I want to redeploy version 2, this time just allow it to go through with no error injected.
  5. But when I set the container image to version 2, Flagger does not pick it up.
  6. As per documentation below is mentioned:
    A canary analysis is triggered by changes in any of the following objects:
    Deployment PodSpec (container image, command, ports, env, resources, etc)
    ConfigMaps mounted as volumes or mapped to environment variables
    Secrets mounted as volumes or mapped to environment variables

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions