Code Monkey home page Code Monkey logo

Comments (21)

tekumara avatar tekumara commented on June 8, 2024 1

Ah I think that might be the problem... see k3d docs - Issues with ZFS which discusses a potential workaround.

from prefect-demo.

tekumara avatar tekumara commented on June 8, 2024

Is this using make cluster? What version of k3d do you have?

from prefect-demo.

guigautier avatar guigautier commented on June 8, 2024

k3d version v5.4.6
k3s version v1.24.4-k3s1 (default)

from prefect-demo.

tekumara avatar tekumara commented on June 8, 2024

Those versions should work ... How long did you wait for in total?

from prefect-demo.

guigautier avatar guigautier commented on June 8, 2024

I wait for at least 10 min. I still have this error :

kubectl get crd ingressroute.traefik.containo.us > /dev/null
Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "ingressroute.traefik.containo.us" not found

from prefect-demo.

tekumara avatar tekumara commented on June 8, 2024

I wonder if the kubeconfig is wrong. Could you tell me what the output of the following command is:

k3d kubeconfig write orion

from prefect-demo.

guigautier avatar guigautier commented on June 8, 2024

a link to the .k3d/kubeconfig-orion.yaml file with :

apiVersion: v1
clusters:
- cluster:
    certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJkekNDQVIyZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFF ...
    server: https://0.0.0.0:38051
  name: k3d-orion
contexts:
- context:
    cluster: k3d-orion
    user: admin@k3d-orion
  name: k3d-orion
current-context: k3d-orion
kind: Config
preferences: {}
users:
- name: admin@k3d-orion
  user:
    client-certificate-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJrVENDQVRlZ0F3SUJBZ0lJSDBGK ...
    client-key-data: LS0tLS1CRUdJTiBFQy ....

from prefect-demo.

tekumara avatar tekumara commented on June 8, 2024

What's the output path provided when you run k3d kubeconfig write orion ?

from prefect-demo.

guigautier avatar guigautier commented on June 8, 2024

/home/guigautier/.k3d/kubeconfig-orion.yaml

from prefect-demo.

tekumara avatar tekumara commented on June 8, 2024

All looks normal 🤔
If you run kubectl get crd what do you see?

from prefect-demo.

guigautier avatar guigautier commented on June 8, 2024

I get this error message :
The connection to the server localhost:8080 was refused - did you specify the right host or port?

from prefect-demo.

tekumara avatar tekumara commented on June 8, 2024

Oh right, you might need to do this first to set the kubeconfig:

export KUBECONFIG=$(k3d kubeconfig write orion)

And then try kubectl get crd ... does that work?

from prefect-demo.

guigautier avatar guigautier commented on June 8, 2024
kubectl get crd
NAME                              CREATED AT
addons.k3s.cattle.io              2022-09-21T12:32:01Z
helmcharts.helm.cattle.io         2022-09-21T12:32:01Z
helmchartconfigs.helm.cattle.io   2022-09-21T12:32:01Z

from prefect-demo.

tekumara avatar tekumara commented on June 8, 2024

That confirms the crd is missing, lets check the server logs, can you share the output of

 docker logs k3d-orion-server-0

from prefect-demo.

guigautier avatar guigautier commented on June 8, 2024

This is the logs output :
out.log

from prefect-demo.

tekumara avatar tekumara commented on June 8, 2024

It looks like you don't have any nodes:

time="2022-09-22T07:48:43Z" level=warning msg="Host resolv.conf includes loopback or multicast nameservers - kubelet will use autogenerated resolv.conf with nameserver 8.8.8.8"
time="2022-09-22T07:48:43Z" level=info msg="Waiting to retrieve agent configuration; server is not ready: \"overlayfs\" snapshotter cannot be enabled for \"/var/lib/rancher/k3s/agent/containerd\", try using \"fuse-overlayfs\" or \"native\": failed to mount overlay: invalid argument"
time="2022-09-22T07:48:44Z" level=info msg="Waiting for control-plane node k3d-orion-server-0 startup: nodes \"k3d-orion-server-0\" not found"
time="2022-09-22T07:48:45Z" level=info msg="Waiting for control-plane node k3d-orion-server-0 startup: nodes \"k3d-orion-server-0\" not found"
time="2022-09-22T07:48:46Z" level=info msg="Waiting for control-plane node k3d-orion-server-0 startup: nodes \"k3d-orion-server-0\" not found"
time="2022-09-22T07:48:47Z" level=info msg="Waiting for control-plane node k3d-orion-server-0 startup: nodes \"k3d-orion-server-0\" not found"
time="2022-09-22T07:48:48Z" level=info msg="Waiting for control-plane node k3d-orion-server-0 startup: nodes \"k3d-orion-server-0\" not found"

Can you confirm that by trying to run:

export KUBECONFIG=$(k3d kubeconfig write orion)
kubectl get nodes

from prefect-demo.

guigautier avatar guigautier commented on June 8, 2024

Yes No resources found

from prefect-demo.

tekumara avatar tekumara commented on June 8, 2024

Looks like your server isn't coming up because of this:

Waiting to retrieve agent configuration; server is not ready: \"overlayfs\" snapshotter cannot be enabled for \"/var/lib/rancher/k3s/agent/containerd\", try using \"fuse-overlayfs\" or \"native\": failed to mount overlay: invalid argument

Which filesystem are you using on your host?

from prefect-demo.

guigautier avatar guigautier commented on June 8, 2024

My host filesystem is ZFS

from prefect-demo.

guigautier avatar guigautier commented on June 8, 2024

Thank you, the cluster is running with minio prefect oion api but I got a issue on the prefect agent pod : Error: secret "prefect-api-key" not found

from prefect-demo.

tekumara avatar tekumara commented on June 8, 2024

Ah they've released a new helm chart. I've pinned to the old chart to fix this.

I'll close this issue for now, if you find any further issues feel free to create a new issue.

from prefect-demo.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.