Skip to content

Updating Skaffold breaks redeploys since it changes labels #3133

@avloss

Description

@avloss
apiVersion: apps/v1
kind: Deployment
...
  labels:
...
    skaffold.dev/docker-api-version: "1.40"

If I now try to update this with another version of skaffold, I would get following exception

`selector` does not match template `labels`

kubernetes/kubernetes#26202

Downgrading skaffold to the version which was used for original deploy does resolve the issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions