I am trying to set a dev environment, i’m followin...
# general
w
I am trying to set a dev environment, i’m following https://github.com/rancher/rancher/wiki/Setting-Up-Rancher-Development-Environment (albeit adapting it to windows). I’ve got k3d working, and it’s trying to deploy but get a Applying CRD features.management.cattle.io [FATAL] failed to ensure CRD: failed to get CRDs: failed to read embedded dir ‘yaml\fleet’: open yaml\fleet: file does not exist seems i’m missing a file but I don’t really see any reference to it anywhere…
h
maybe also ask here -> #CHM1EB3A7
w
Is this not a specific issue in rancher?
oh sorry, i was thinking you meant k3d slack lol
w
I don't see how this would be a k3d issue, but I can try to help (even though I have no idea of that setup) 😬 At which point in the docs do you get that error?
w
haha i finished the docs
I’m using GoLand
so following that process
and the “Run” Start the build in GoLand. The service will be available at http://localhost:8080.
so i click run, the k3d spins up, i can confirm it’s up with kubectl, rancher complies and starts to deploy go.exe build “-gcflags=-N -l “ -o go_build_main_go.exe main.go go_build_main_go.exe —add-local=true #gosetup [INFO] Listening on /tmp/log.sock [INFO] Rancher version dev (HEAD) is starting [INFO] Rancher arguments {ACMEDomains:[] AddLocal:true Embedded:false BindHost: HTTPListenPort:8080 HTTPSListenPort:8443 K8sMode: auto Debug:False NoCACerts:false AuditLogPath:/var/log/auditlog/rancher-api-audit.log … [INFO] Running in single server mode, will not pest connections [INFO] Applying CRD features.management.cattle.io [FATAL] failed to ensure CRDs: failed to get CRDs: failed to read embedded dir ‘yaml\fleet’: open yaml\fleet: file does not exist Process finished with the exit code 1
that’s in the log
w
Ok yeah no idea - did a quick grep for those lines and the go:embed stanza and didn't find anything. I'd have to try set it up myself. But it's really not a k3d issue 😬
w
yeah, i don’t think so either
what happened to “download and run anywhere config” haha