Comments (3)
The error is still appearing also in latest fleet-104.0.0+up0.10.0-rc.14
$ kubectl logs -n cattle-fleet-system -lapp=gitjob -f
{"level":"info","ts":"2024-06-12T13:19:56Z","logger":"setup","msg":"starting manager"}
{"level":"info","ts":"2024-06-12T13:19:56Z","logger":"setup","msg":"Setting up webhook listener"}
{"level":"info","ts":"2024-06-12T13:19:56Z","logger":"controller-runtime.metrics","msg":"Starting metrics server"}
{"level":"info","ts":"2024-06-12T13:19:56Z","msg":"Starting EventSource","controller":"gitrepo","controllerGroup":"fleet.cattle.io","controllerKind":"GitRepo","source":"kind source: *v1alpha1.GitRepo"}
{"level":"info","ts":"2024-06-12T13:19:56Z","msg":"Starting EventSource","controller":"gitrepo","controllerGroup":"fleet.cattle.io","controllerKind":"GitRepo","source":"kind source: *v1.Job"}
{"level":"info","ts":"2024-06-12T13:19:56Z","msg":"Starting Controller","controller":"gitrepo","controllerGroup":"fleet.cattle.io","controllerKind":"GitRepo"}
{"level":"info","ts":"2024-06-12T13:19:56Z","logger":"controller-runtime.metrics","msg":"Serving metrics server","bindAddress":":8081","secure":false}
{"level":"error","ts":"2024-06-12T13:19:56Z","logger":"controller-runtime.source.EventHandler","msg":"if kind is a CRD, it should be installed before calling Start","kind":"GitRepo.fleet.cattle.io","error":"no matches for kind \"GitRepo\" in version \"fleet.cattle.io/v1alpha1\"","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1.1\n\t/home/runner/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/source/kind.go:63\nk8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext.func1\n\t/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/loop.go:53\nk8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext\n\t/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/loop.go:54\nk8s.io/apimachinery/pkg/util/wait.PollUntilContextCancel\n\t/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/poll.go:33\nsigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1\n\t/home/runner/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/source/kind.go:56"}
{"level":"error","ts":"2024-06-12T13:20:06Z","logger":"controller-runtime.source.EventHandler","msg":"if kind is a CRD, it should be installed before calling Start","kind":"GitRepo.fleet.cattle.io","error":"no matches for kind \"GitRepo\" in version \"fleet.cattle.io/v1alpha1\"","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1.1\n\t/home/runner/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/source/kind.go:63\nk8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext.func2\n\t/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/loop.go:87\nk8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext\n\t/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/loop.go:88\nk8s.io/apimachinery/pkg/util/wait.PollUntilContextCancel\n\t/home/runner/go/pkg/mod/k8s.io/[email protected]/pkg/util/wait/poll.go:33\nsigs.k8s.io/controller-runtime/pkg/internal/source.(*Kind).Start.func1\n\t/home/runner/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/internal/source/kind.go:56"}
{"level":"info","ts":"2024-06-12T13:20:16Z","msg":"Starting workers","controller":"gitrepo","controllerGroup":"fleet.cattle.io","controllerKind":"GitRepo","worker count":1}
from fleet.
This is most likely due to the way Rancher installs Fleet. Maybe it's not waiting long enough for the CRD chart.
However, if I understand that error is ephemeral and the controller will eventually work without a restart.
from fleet.
Thanks. Confirmed they are ephemeral and they do disappear once CRD are installed so closing ticket.
from fleet.
Related Issues (20)
- Apply cluster label after registration
- [SURE-8809] Fleet deployment fails when Helm chart repo uses custom CA / missing error HOT 2
- [SURE-8882] extend our testing to ssh downloads with keys
- Assigning a variable inside templating HOT 1
- After removing cluster from cluster group does not delete the installed resources from the cluster. HOT 1
- Convert end-to-end tests into more lightweight alternatives
- Spike: snapshotting clusters to speed up testing
- Testing: use bundles instead of `GitRepo`s
- Spike: investigate end-to-end testing speedup options
- webhook secret is not checked when k8s secret is not created HOT 2
- Support Webhook Secret per GitRepo
- Tolerate cloudprovider taints
- Bundle stucked in modified loop caused by "app.kubernetes.io/managed-by":"helm" HOT 1
- Helm handles custom resources and native resources differently, resulting in custom resources being unable to be updated
- [SURE-8993] CABundle secret not created for gitjob HOT 3
- [SURE-9010] Gitjob pod cannot create known_hosts, read-only filesystem HOT 3
- [v0.10] [SURE-9010] Backport of Gitjob pod cannot create known_hosts, read-only filesystem HOT 1
- [v0.10] [SURE-8993] Backport of CABundle secret not created for gitjob HOT 1
- Switch to Helm 3.16 once released HOT 1
- [v0.10] Backport of Updating Ports with correctDrift enabled using multiple-paths repo triggers an error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fleet.