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

flagger crd apiversion deprecation on k8s v1.19.+ #697

Closed
HaveFun83 opened this issue Sep 17, 2020 · 1 comment · Fixed by #772
Closed

flagger crd apiversion deprecation on k8s v1.19.+ #697

HaveFun83 opened this issue Sep 17, 2020 · 1 comment · Fixed by #772

Comments

@HaveFun83
Copy link

HaveFun83 commented Sep 17, 2020

On k8s version v1.19.+ apiextensions.k8s.io/v1beta1 is deprecated in favor of apiextensions.k8s.io/v1.

The flagger crd is currently on v1beta1

Here are the kubectl get crd -oyaml output from a v1.19.0 cluster
https://gist.github.com/HaveFun83/da52049c7ed8bbbb823d11d5e7061186

@HaveFun83
Copy link
Author

HaveFun83 commented Sep 22, 2020

when flagger only has crds with apiextensions.k8s.io/v1 i got the following error on new canary releases

{"level":"error","ts":"2020-09-22T09:04:30.031Z","caller":"controller/controller.go:267","msg":"podinfo/podinfo unable to set initializing status: failed after retries: canaries.flagger.app \"podinfo\" not found","stacktrace":"github.com/weaveworks/flagger/pkg/controller.(*Controller).syncHandler\n\t/home/circleci/build/pkg/controller/controller.go:267\ngithub.com/weaveworks/flagger/pkg/controller.(*Controller).processNextWorkItem.func1\n\t/home/circleci/build/pkg/controller/controller.go:205\ngithub.com/weaveworks/flagger/pkg/controller.(*Controller).processNextWorkItem\n\t/home/circleci/build/pkg/controller/controller.go:212\ngithub.com/weaveworks/flagger/pkg/controller.(*Controller).Run.func1\n\t/home/circleci/build/pkg/controller/controller.go:168\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\t/go/pkg/mod/k8s.io/apimachinery@v0.18.8/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\t/go/pkg/mod/k8s.io/apimachinery@v0.18.8/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/pkg/mod/k8s.io/apimachinery@v0.18.8/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/go/pkg/mod/k8s.io/apimachinery@v0.18.8/pkg/util/wait/wait.go:90"}

changed the crds back to https://raw.githubusercontent.com/weaveworks/flagger/master/artifacts/flagger/crd.yaml

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

Successfully merging a pull request may close this issue.

1 participant